aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md130
1 files changed, 53 insertions, 77 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index a4babbe8c3..c33a4ed192 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,121 +1,97 @@
-* Include `web-console` into newly generated applications' Gemfile.
+* Deprecate `Rails::Rack::LogTailer` with not replacement.
- *Genadi Samokovarov*
-
-* `rails server` will only extend the logger to output to STDOUT
- in development environment.
-
- *Richard Schneeman*
-
-* Don't require passing path to app before options in `rails new`
- and `rails plugin new`
-
- *Piotr Sarnacki*
-
-* rake notes now searches *.less files
-
- *Josh Crowder*
-
-* Generate nested route for namespaced controller generated using
- `rails g controller`.
- Fixes #11532.
-
- Example:
+ *Rafael Mendonça França*
- rails g controller admin/dashboard index
+* Add a generic --skip-gems options to generator
- # Before:
- get "dashboard/index"
+ This option is useful if users want to remove some gems like jbuilder,
+ turbolinks, coffee-rails, etc that don't have specific options on the
+ generator.
- # After:
- namespace :admin do
- get "dashboard/index"
- end
+ rails new my_app --skip-gems turbolinks coffee-rails
- *Prathamesh Sonpatki*
+ *Rafael Mendonça França*
-* Fix the event name of action_dispatch requests.
+* Invalid `bin/rails generate` commands will now show spelling suggestions.
- *Rafael Mendonça França*
+ *Richard Schneeman*
-* Make `config.log_level` work with custom loggers.
+* Add `bin/setup` script to bootstrap an application.
- *Max Shytikov*
+ *Yves Senn*
-* Changed stylesheet load order in the stylesheet manifest generator.
- Fixes #11639.
+* Replace double quotes with single quotes while adding an entry into Gemfile.
- *Pawel Janiak*
+ *Alexander Belaev*
-* Added generated unit test for generator generator using new
- `test:generators` rake task.
+* Default `config.assets.digest` to `true` in development.
- *Josef Šimánek*
+ *Dan Kang*
-* Removed `update:application_controller` rake task.
+* Load database configuration from the first `database.yml` available in paths.
- *Josef Šimánek*
+ *Pier-Olivier Thibault*
-* Fix `rake environment` to do not eager load modules
+* Reading name and email from git for plugin gemspec.
- *Paul Nikitochkin*
+ Fixes #9589.
-* Fix `rake notes` to look into `*.sass` files
+ *Arun Agrawal*, *Abd ar-Rahman Hamidi*, *Roman Shmatov*
- *Yuri Artemev*
+* Fix `console` and `generators` blocks defined at different environments.
-* Removed deprecated `Rails.application.railties.engines`.
+ Fixes #14748.
- *Arun Agrawal*
+ *Rafael Mendonça França*
-* Removed deprecated threadsafe! from Rails Config.
+* Move configuration of asset precompile list and version to an initializer.
- *Paul Nikitochkin*
+ *Matthew Draper*
-* Remove deprecated `ActiveRecord::Generators::ActiveModel#update_attributes` in
- favor of `ActiveRecord::Generators::ActiveModel#update`
+* Remove sqlite3 lines from `.gitignore` if the application is not using sqlite3.
- *Vipul A M*
+ *Dmitrii Golub*
-* Remove deprecated `config.whiny_nils` option
+* Add public API to register new extensions for `rake notes`.
- *Vipul A M*
+ Example:
-* Rename `commands/plugin_new.rb` to `commands/plugin.rb` and fix references
+ config.annotations.register_extensions("scss", "sass") { |tag| /\/\/\s*(#{tag}):?\s*(.*)$/ }
- *Richard Schneeman*
+ *Roberto Miranda*
-* Fix `rails plugin --help` command.
+* Removed unnecessary `rails application` command.
- *Richard Schneeman*
+ *Arun Agrawal*
-* Omit turbolinks configuration completely on skip_javascript generator option.
+* Make the `rails:template` rake task load the application's initializers.
- *Nikita Fedyashev*
+ Fixes #12133.
-* Removed deprecated rake tasks for running tests: `rake test:uncommitted` and
- `rake test:recent`.
+ *Robin Dupret*
- *John Wang*
+* Introduce `Rails.gem_version` as a convenience method to return
+ `Gem::Version.new(Rails.version)`, suggesting a more reliable way to perform
+ version comparison.
-* Clearing autoloaded constants triggers routes reloading.
- Fixes #10685.
+ Example:
- *Xavier Noria*
+ Rails.version #=> "4.1.2"
+ Rails.gem_version #=> #<Gem::Version "4.1.2">
-* Fixes bug with scaffold generator with `--assets=false --resource-route=false`.
- Fixes #9525.
+ Rails.version > "4.1.10" #=> false
+ Rails.gem_version > Gem::Version.new("4.1.10") #=> true
+ Gem::Requirement.new("~> 4.1.2") =~ Rails.gem_version #=> true
- *Arun Agrawal*
+ *Prem Sichanugrist*
-* Rails::Railtie no longer forces the Rails::Configurable module on everything
- that subclasses it. Instead, the methods from Rails::Configurable have been
- moved to class methods in Railtie and the Railtie has been made abstract.
+* Avoid namespacing routes inside engines.
- *John Wang*
+ Mountable engines are namespaced by default so the generated routes
+ were too while they should not.
-* Changes repetitive th tags to use colspan attribute in `index.html.erb` template.
+ Fixes #14079.
- *Sıtkı Bağdat*
+ *Yves Senn*, *Carlos Antonio da Silva*, *Robin Dupret*
-Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/railties/CHANGELOG.md) for previous changes.
+Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/railties/CHANGELOG.md) for previous changes.