aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-07-09 11:41:33 -0400
committerGitHub <noreply@github.com>2018-07-09 11:41:33 -0400
commitd4ea114bd611c608482375af94f49e2d54889202 (patch)
tree297e72dd2958a35379523934c8ced756fb8a927a /railties
parent544492d04f10beb007df0db968c24bed140a1c4f (diff)
parenta028d3f7754f64d27119c57dda288804371b74fc (diff)
downloadrails-d4ea114bd611c608482375af94f49e2d54889202.tar.gz
rails-d4ea114bd611c608482375af94f49e2d54889202.tar.bz2
rails-d4ea114bd611c608482375af94f49e2d54889202.zip
Merge pull request #33308 from anniecodes/notes-command-changelog
Add rake notes and SOURCE_ANNOTATION_DIRECTORIES deprecation to Changelog
Diffstat (limited to 'railties')
-rw-r--r--railties/CHANGELOG.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index 83a57a8c6a..81cb5a6c9f 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,3 +1,22 @@
+* Deprecate `rails notes` subcommands in favor of passing an `annotations` argument to `rails notes`.
+
+ 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é*
+
+* Deprecate `SOURCE_ANNOTATION_DIRECTORIES` environment variable used by `rails notes`
+ through `Rails::SourceAnnotationExtractor::Annotation` in favor of using `config.annotations.register_directories`.
+
+ *Annie-Claude Côté*
+
+* Deprecate `rake notes` in favor of `rails notes`.
+
+ *Annie-Claude Côté*
+
* Don't generate unused files in `app:update` task
Skip the assets' initializer when sprockets isn't loaded.