diff options
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r-- | railties/CHANGELOG.md | 203 |
1 files changed, 87 insertions, 116 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index a483535df1..0658c4b55c 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,193 +1,164 @@ -* Avoid running system tests by default with the `bin/rails test` - and `bin/rake test` commands since they may be expansive. +## Rails 5.2.0.beta2 (November 28, 2017) ## - *Robin Dupret* (#28286) +* No changes. -* Improve encryption for encrypted secrets. - Switch to aes-128-gcm authenticated encryption. Also generate a random - initialization vector for each encryption so the same input and key can - generate different encrypted data. +## Rails 5.2.0.beta1 (November 27, 2017) ## - Double the encryption key entropy by properly extracting the underlying - bytes from the hexadecimal seed key. +* Deprecate `after_bundle` callback in Rails plugin templates. - NOTE: Since the encryption mechanism has been switched, you need to run - this script to upgrade: - - https://gist.github.com/kaspth/bc37989c2f39a5642112f28b1d93f343 - - *Stephen Touset* - -## Rails 5.1.0.beta1 (February 23, 2017) ## - -* Add encrypted secrets in `config/secrets.yml.enc`. - - Allow storing production secrets straight in the revision control system by - encrypting them. - - Use `bin/rails secrets:setup` to opt-in by generating `config/secrets.yml.enc` - for the secrets themselves and `config/secrets.yml.key` for the encryption key. + *Yuji Yaginuma* - Edit secrets with `bin/rails secrets:edit`. +* `rails new` and `rails plugin new` get `Active Storage` by default. + Add ability to skip `Active Storage` with `--skip-active-storage` + and do so automatically when `--skip-active-record` is used. - See `bin/rails secrets:setup --help` for more. + *bogdanvlviv* - *Kasper Timm Hansen* +* Gemfile for new apps: upgrade redis-rb from ~> 3.0 to 4.0. -* Fix running multiple tests in one `rake` command + *Jeremy Daer* - e.g. `bin/rake test:models test:controllers` +* Add `mini_magick` to default `Gemfile` as comment. - *Dominic Cleal* + *Yoshiyuki Hirano* -* Add option to configure Ruby's warning behaviour to test runner. +* Derive `secret_key_base` from the app name in development and test environments. - *Yuji Yaginuma* + Spares away needless secret configs. -* Initialize git repo when generating new app, if option `--skip-git` - is not provided. + *DHH*, *Kasper Timm Hansen* - *Dino Maric* +* Support multiple versions arguments for `gem` method of Generators. -* Install Byebug gem as default in Windows (mingw and x64_mingw) platform. + *Yoshiyuki Hirano* - *Junichi Ito* +* Add `--skip-yarn` option to the plugin generator. -* Make every Rails command work within engines. + *bogdanvlviv* - *Sean Collins*, *Yuji Yaginuma* +* Optimize routes indentation. -* Don't generate HTML/ERB templates for scaffold controller with `--api` flag. + *Yoshiyuki Hirano* - Fixes #27591. +* Optimize indentation for generator actions. - *Prathamesh Sonpatki* + *Yoshiyuki Hirano* -* Make `Rails.env` fall back to `development` when `RAILS_ENV` and `RACK_ENV` is an empty string. +* Skip unused components when running `bin/rails` in Rails plugin. - *Daniel Deng* + *Yoshiyuki Hirano* -* Remove deprecated `CONTROLLER` environment variable for `routes` task. +* Add `git_source` to `Gemfile` for plugin generator. - *Rafael Mendonça França* + *Yoshiyuki Hirano* -* Remove deprecated tasks: `rails:update`, `rails:template`, `rails:template:copy`, - `rails:update:configs` and `rails:update:bin`. +* Add `--skip-action-cable` option to the plugin generator. - *Rafael Mendonça França* + *bogdanvlviv* -* Remove deprecated file `rails/rack/debugger`. +* Deprecate support for using a `Rails::Application` subclass to start Rails server. - *Rafael Mendonça França* + *Yuji Yaginuma* -* Remove deprecated `config.serve_static_files`. +* Add `ruby x.x.x` version to `Gemfile` and create `.ruby-version` + root file containing the current Ruby version when new Rails applications are + created. - *Rafael Mendonça França* + *Alberto Almagro* -* Remove deprecated `config.static_cache_control`. +* Support `-` as a platform-agnostic way to run a script from stdin with + `rails runner` - *Rafael Mendonça França* + *Cody Cutrer* -* The `log:clear` task clear all environments log files by default. +* Add `bootsnap` to default `Gemfile`. - *Yuji Yaginuma* + *Burke Libbey* -* Add Webpack support in new apps via the --webpack option, which will delegate to the rails/webpacker gem. +* Properly expand shortcuts for environment's name running the `console` + and `dbconsole` commands. - To generate a new app that has Webpack dependencies configured and binstubs for webpack and webpack-watcher: + *Robin Dupret* - `rails new myapp --webpack` +* Passing the environment's name as a regular argument to the + `rails dbconsole` and `rails console` commands is deprecated. + The `-e` option should be used instead. - To generate a new app that has Webpack + React configured and an example intalled: + Previously: - `rails new myapp --webpack=react` + $ bin/rails dbconsole production - *DHH* + Now: -* Add Yarn support in new apps with a yarn binstub and package.json. Skippable via --skip-yarn option. + $ bin/rails dbconsole -e production - *Liceth Ovalles*, *Guillermo Iguaran*, *DHH* + *Robin Dupret*, *Kasper Timm Hansen* -* Removed jquery-rails from default stack, instead rails-ujs that is shipped - with Action View is included as default UJS adapter. +* Allow passing a custom connection name to the `rails dbconsole` + command when using a 3-level database configuration. - *Guillermo Iguaran* + $ bin/rails dbconsole -c replica -* The config file `secrets.yml` is now loaded in with all keys as symbols. - This allows secrets files to contain more complex information without all - child keys being strings while parent keys are symbols. + *Robin Dupret*, *Jeremy Daer* - *Isaac Sloan* +* Skip unused components when running `bin/rails app:update`. -* Add `:skip_sprockets` to `Rails::PluginBuilder::PASSTHROUGH_OPTIONS` + If the initial app generation skipped Action Cable, Active Record etc., + the update task honors those skips too. - *Tsukuru Tanimichi* - -* Allow the use of listen's 3.1.x branch + *Yuji Yaginuma* - *Esteban Santana Santana* +* Make Rails' test runner work better with minitest plugins. -* Run `Minitest.after_run` hooks when running `rails test`. + By demoting the Rails test runner to just another minitest plugin — + and thereby not eager loading it — we can co-exist much better with + other minitest plugins such as pride and minitest-focus. - *Michael Grosser* + *Kasper Timm Hansen* -* Run `before_configuration` callbacks as soon as application constant - inherits from `Rails::Application`. +* Load environment file in `dbconsole` command. - Fixes #19880. + Fixes #29717. *Yuji Yaginuma* -* A generated app should not include Uglifier with `--skip-javascript` option. - - *Ben Pickles* - -* Set session store to cookie store internally and remove the initializer from - the generated app. - - *Prathamesh Sonpatki* +* Add `rails secrets:show` command. -* Set the server host using the `HOST` environment variable. + *Yuji Yaginuma* - *mahnunchik* +* Allow mounting the same engine several times in different locations. -* Add public API to register new folders for `rake notes`: + Fixes #20204. - config.annotations.register_directories('spec', 'features') + *David Rodríguez* - *John Meehan* +* Clear screenshot files in `tmp:clear` task. -* Display name of the class defining the initializer along with the initializer - name in the output of `rails initializers`. + *Yuji Yaginuma* - Before: - disable_dependency_loading +* Add `railtie.rb` to the plugin generator - After: - DemoApp::Application.disable_dependency_loading + *Tsukuru Tanimichi* - *ta1kt0me* +* Deprecate `capify!` method in generators and templates. -* Do not run `bundle install` when generating a new plugin. + *Yuji Yaginuma* - Since bundler 1.12.0, the gemspec is validated so the `bundle install` - command will fail just after the gem is created causing confusion to the - users. This change was a bug fix to correctly validate gemspecs. +* Allow irb options to be passed from `rails console` command. - *Rafael Mendonça França* + Fixes #28988. -* Default `config.assets.quiet = true` in the development environment. Suppress - logging of assets requests by default. + *Yuji Yaginuma* - *Kevin McPhillips* +* Added a shared section to `config/database.yml` that will be loaded for all environments. -* Ensure `/rails/info` routes match in development for apps with a catch-all globbing route. + *Pierre Schambacher* - *Nicholas Firth-McCoy* +* Namespace error pages' CSS selectors to stop the styles from bleeding into other pages + when using Turbolinks. -* Added a shared section to `config/secrets.yml` that will be loaded for all environments. + *Jan Krutisch* - *DHH* -Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/railties/CHANGELOG.md) for previous changes. +Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/railties/CHANGELOG.md) for previous changes. |