aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md181
1 files changed, 57 insertions, 124 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index 70c0f5c67b..81cb5a6c9f 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,164 +1,97 @@
-## Rails 5.2.0.beta2 (November 28, 2017) ##
+* Deprecate `rails notes` subcommands in favor of passing an `annotations` argument to `rails notes`.
-* No changes.
+ The following subcommands are replaced by passing `--annotations` or `-a` to `rails notes`:
+ - `rails notes:custom ANNOTATION=custom` is deprecated in favor of using `rails notes -a custom`.
+ - `rails notes:optimize` is deprecated in favor of using `rails notes -a OPTIMIZE`.
+ - `rails notes:todo` is deprecated in favor of using`rails notes -a TODO`.
+ - `rails notes:fixme` is deprecated in favor of using `rails notes -a FIXME`.
+ *Annie-Claude Côté*
-## Rails 5.2.0.beta1 (November 27, 2017) ##
+* Deprecate `SOURCE_ANNOTATION_DIRECTORIES` environment variable used by `rails notes`
+ through `Rails::SourceAnnotationExtractor::Annotation` in favor of using `config.annotations.register_directories`.
-* Deprecate `after_bundle` callback in Rails plugin templates.
+ *Annie-Claude Côté*
- *Yuji Yaginuma*
-
-* `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.
-
- *bogdanvlviv*
-
-* Gemfile for new apps: upgrade redis-rb from ~> 3.0 to 4.0.
-
- *Jeremy Daer*
-
-* Add `mini_magick` to default `Gemfile` as comment.
-
- *Yoshiyuki Hirano*
-
-* Derive `secret_key_base` from the app name in development and test environments.
-
- Spares away needless secret configs.
-
- *DHH*, *Kasper Timm Hansen*
-
-* Support multiple versions arguments for `gem` method of Generators.
-
- *Yoshiyuki Hirano*
-
-* Add `--skip-yarn` option to the plugin generator.
-
- *bogdanvlviv*
-
-* Optimize routes indentation.
-
- *Yoshiyuki Hirano*
-
-* Optimize indentation for generator actions.
-
- *Yoshiyuki Hirano*
-
-* Skip unused components when running `bin/rails` in Rails plugin.
-
- *Yoshiyuki Hirano*
-
-* Add `git_source` to `Gemfile` for plugin generator.
-
- *Yoshiyuki Hirano*
-
-* Add `--skip-action-cable` option to the plugin generator.
-
- *bogdanvlviv*
-
-* Deprecate support of use `Rails::Application` subclass to start Rails server.
+* Deprecate `rake notes` in favor of `rails notes`.
- *Yuji Yaginuma*
-
-* 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.
-
- *Alberto Almagro*
-
-* Support `-` as a platform-agnostic way to run a script from stdin with
- `rails runner`
+ *Annie-Claude Côté*
- *Cody Cutrer*
+* Don't generate unused files in `app:update` task
-* Add `bootsnap` to default `Gemfile`.
+ Skip the assets' initializer when sprockets isn't loaded.
- *Burke Libbey*
+ Skip `config/spring.rb` when spring isn't loaded.
-* Properly expand shortcuts for environment's name running the `console`
- and `dbconsole` commands.
+ Skip yarn's contents when yarn integration isn't used.
- *Robin Dupret*
+ *Tsukuru Tanimichi*
-* 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.
+* Make the master.key file read-only for the owner upon generation on
+ POSIX-compliant systems.
Previously:
- $ bin/rails dbconsole production
+ $ ls -l config/master.key
+ -rw-r--r-- 1 owner group 32 Jan 1 00:00 master.key
Now:
- $ bin/rails dbconsole -e production
-
- *Robin Dupret*, *Kasper Timm Hansen*
-
-* Allow passing a custom connection name to the `rails dbconsole`
- command when using a 3-level database configuration.
-
- $ bin/rails dbconsole -c replica
-
- *Robin Dupret*, *Jeremy Daer*
-
-* Skip unused components when running `bin/rails app:update`.
-
- If the initial app generation skipped Action Cable, Active Record etc.,
- the update task honors those skips too.
-
- *Yuji Yaginuma*
-
-* Make Rails' test runner work better with minitest plugins.
-
- 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.
+ $ ls -l config/master.key
+ -rw------- 1 owner group 32 Jan 1 00:00 master.key
- *Kasper Timm Hansen*
+ Fixes #32604.
-* Load environment file in `dbconsole` command.
+ *Jose Luis Duran*
- Fixes #29717.
+* Deprecate support for using the `HOST` environment to specify the server IP.
- *Yuji Yaginuma*
+ The `BINDING` environment should be used instead.
-* Add `rails secrets:show` command.
+ Fixes #29516.
*Yuji Yaginuma*
-* Allow mounting the same engine several times in different locations.
-
- Fixes #20204.
+* Deprecate passing Rack server name as a regular argument to `rails server`.
- *David Rodríguez*
-
-* Clear screenshot files in `tmp:clear` task.
-
- *Yuji Yaginuma*
+ Previously:
-* Add `railtie.rb` to the plugin generator
+ $ bin/rails server thin
- *Tsukuru Tanimichi*
+ There wasn't an explicit option for the Rack server to use, now we have the
+ `--using` option with the `-u` short switch.
-* Deprecate `capify!` method in generators and templates.
+ Now:
- *Yuji Yaginuma*
+ $ bin/rails server -u thin
-* Allow irb options to be passed from `rails console` command.
+ This change also improves the error message if a missing or mistyped rack
+ server is given.
- Fixes #28988.
+ *Genadi Samokovarov*
- *Yuji Yaginuma*
+* Add "rails routes --expanded" option to output routes in expanded mode like
+ "psql --expanded". Result looks like:
-* Added a shared section to `config/database.yml` that will be loaded for all environments.
+ ```
+ $ rails routes --expanded
+ --[ Route 1 ]------------------------------------------------------------
+ Prefix | high_scores
+ Verb | GET
+ URI | /high_scores(.:format)
+ Controller#Action | high_scores#index
+ --[ Route 2 ]------------------------------------------------------------
+ Prefix | new_high_score
+ Verb | GET
+ URI | /high_scores/new(.:format)
+ Controller#Action | high_scores#new
+ ```
- *Pierre Schambacher*
+ *Benoit Tigeot*
-* Namespace error pages' CSS selectors to stop the styles from bleeding into other pages
- when using Turbolinks.
+* Rails 6 requires Ruby 2.4.1 or newer.
- *Jan Krutisch*
+ *Jeremy Daer*
-Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/railties/CHANGELOG.md) for previous changes.
+Please check [5-2-stable](https://github.com/rails/rails/blob/5-2-stable/railties/CHANGELOG.md) for previous changes.