2017-03-04 13:54:03 +00:00
|
|
|
* Avoid running system tests by default with the `bin/rails test`
|
2017-03-06 19:27:00 +00:00
|
|
|
and `bin/rake test` commands since they may be expensive.
|
2017-03-04 13:54:03 +00:00
|
|
|
|
2017-03-13 23:46:51 +00:00
|
|
|
Fixes #28286.
|
|
|
|
|
|
|
|
*Robin Dupret*
|
2017-03-04 13:54:03 +00:00
|
|
|
|
2017-03-02 19:11:57 +00:00
|
|
|
* 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.
|
|
|
|
|
|
|
|
Double the encryption key entropy by properly extracting the underlying
|
|
|
|
bytes from the hexadecimal seed key.
|
|
|
|
|
|
|
|
NOTE: Since the encryption mechanism has been switched, you need to run
|
|
|
|
this script to upgrade:
|
|
|
|
|
|
|
|
https://gist.github.com/kaspth/bc37989c2f39a5642112f28b1d93f343
|
|
|
|
|
|
|
|
*Stephen Touset*
|
|
|
|
|
2017-02-23 19:53:12 +00:00
|
|
|
## Rails 5.1.0.beta1 (February 23, 2017) ##
|
|
|
|
|
2017-03-01 19:54:42 +00:00
|
|
|
* 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.
|
|
|
|
|
|
|
|
Edit secrets with `bin/rails secrets:edit`.
|
|
|
|
|
|
|
|
See `bin/rails secrets:setup --help` for more.
|
|
|
|
|
|
|
|
*Kasper Timm Hansen*
|
|
|
|
|
2017-01-25 15:58:11 +00:00
|
|
|
* Fix running multiple tests in one `rake` command
|
|
|
|
|
|
|
|
e.g. `bin/rake test:models test:controllers`
|
|
|
|
|
|
|
|
*Dominic Cleal*
|
|
|
|
|
2017-01-23 06:05:46 +00:00
|
|
|
* Add option to configure Ruby's warning behaviour to test runner.
|
|
|
|
|
|
|
|
*Yuji Yaginuma*
|
|
|
|
|
2017-01-10 13:58:28 +00:00
|
|
|
* Initialize git repo when generating new app, if option `--skip-git`
|
|
|
|
is not provided.
|
|
|
|
|
|
|
|
*Dino Maric*
|
|
|
|
|
2017-01-18 01:06:15 +00:00
|
|
|
* Install Byebug gem as default in Windows (mingw and x64_mingw) platform.
|
|
|
|
|
|
|
|
*Junichi Ito*
|
|
|
|
|
2016-12-14 05:54:59 +00:00
|
|
|
* Make every Rails command work within engines.
|
|
|
|
|
|
|
|
*Sean Collins*, *Yuji Yaginuma*
|
|
|
|
|
2017-01-07 12:34:48 +00:00
|
|
|
* Don't generate HTML/ERB templates for scaffold controller with `--api` flag.
|
|
|
|
|
|
|
|
Fixes #27591.
|
|
|
|
|
|
|
|
*Prathamesh Sonpatki*
|
|
|
|
|
2016-12-19 01:45:14 +00:00
|
|
|
* Make `Rails.env` fall back to `development` when `RAILS_ENV` and `RACK_ENV` is an empty string.
|
|
|
|
|
2017-01-04 04:37:37 +00:00
|
|
|
*Daniel Deng*
|
|
|
|
|
2017-01-04 01:16:53 +00:00
|
|
|
* Remove deprecated `CONTROLLER` environment variable for `routes` task.
|
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2017-01-04 00:57:11 +00:00
|
|
|
* Remove deprecated tasks: `rails:update`, `rails:template`, `rails:template:copy`,
|
|
|
|
`rails:update:configs` and `rails:update:bin`.
|
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2017-01-04 00:54:13 +00:00
|
|
|
* Remove deprecated file `rails/rack/debugger`.
|
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2017-01-04 00:52:34 +00:00
|
|
|
* Remove deprecated `config.serve_static_files`.
|
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2017-01-04 00:50:47 +00:00
|
|
|
* Remove deprecated `config.static_cache_control`.
|
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
|
|
|
* The `log:clear` task clear all environments log files by default.
|
2016-09-10 01:43:09 +00:00
|
|
|
|
|
|
|
*Yuji Yaginuma*
|
|
|
|
|
2016-12-12 19:07:28 +00:00
|
|
|
* Add Webpack support in new apps via the --webpack option, which will delegate to the rails/webpacker gem.
|
|
|
|
|
|
|
|
To generate a new app that has Webpack dependencies configured and binstubs for webpack and webpack-watcher:
|
|
|
|
|
2016-12-27 13:34:45 +00:00
|
|
|
`rails new myapp --webpack`
|
2016-12-12 19:07:28 +00:00
|
|
|
|
|
|
|
To generate a new app that has Webpack + React configured and an example intalled:
|
2016-12-27 13:32:03 +00:00
|
|
|
|
2016-12-27 13:34:45 +00:00
|
|
|
`rails new myapp --webpack=react`
|
2016-12-27 13:32:03 +00:00
|
|
|
|
2016-12-12 19:07:28 +00:00
|
|
|
*DHH*
|
|
|
|
|
2017-02-21 16:33:31 +00:00
|
|
|
* Add Yarn support in new apps with a yarn binstub and package.json. Skippable via --skip-yarn option.
|
2016-11-29 15:08:26 +00:00
|
|
|
|
2016-12-01 17:51:43 +00:00
|
|
|
*Liceth Ovalles*, *Guillermo Iguaran*, *DHH*
|
2016-11-29 15:08:26 +00:00
|
|
|
|
2016-11-29 14:48:19 +00:00
|
|
|
* Removed jquery-rails from default stack, instead rails-ujs that is shipped
|
|
|
|
with Action View is included as default UJS adapter.
|
2016-11-20 17:15:20 +00:00
|
|
|
|
|
|
|
*Guillermo Iguaran*
|
|
|
|
|
2016-10-29 03:53:29 +00:00
|
|
|
* 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.
|
|
|
|
|
|
|
|
*Isaac Sloan*
|
|
|
|
|
2016-11-14 09:09:26 +00:00
|
|
|
* Add `:skip_sprockets` to `Rails::PluginBuilder::PASSTHROUGH_OPTIONS`
|
|
|
|
|
|
|
|
*Tsukuru Tanimichi*
|
|
|
|
|
2016-10-03 11:28:17 +00:00
|
|
|
* Allow the use of listen's 3.1.x branch
|
|
|
|
|
|
|
|
*Esteban Santana Santana*
|
|
|
|
|
2016-09-16 16:31:39 +00:00
|
|
|
* Run `Minitest.after_run` hooks when running `rails test`.
|
|
|
|
|
|
|
|
*Michael Grosser*
|
|
|
|
|
2016-07-25 23:12:55 +00:00
|
|
|
* Run `before_configuration` callbacks as soon as application constant
|
|
|
|
inherits from `Rails::Application`.
|
|
|
|
|
|
|
|
Fixes #19880.
|
|
|
|
|
|
|
|
*Yuji Yaginuma*
|
|
|
|
|
2016-07-20 20:35:00 +00:00
|
|
|
* A generated app should not include Uglifier with `--skip-javascript` option.
|
|
|
|
|
|
|
|
*Ben Pickles*
|
|
|
|
|
2016-07-17 14:08:54 +00:00
|
|
|
* Set session store to cookie store internally and remove the initializer from
|
|
|
|
the generated app.
|
|
|
|
|
|
|
|
*Prathamesh Sonpatki*
|
|
|
|
|
2016-07-09 12:21:31 +00:00
|
|
|
* Set the server host using the `HOST` environment variable.
|
|
|
|
|
|
|
|
*mahnunchik*
|
|
|
|
|
2016-07-08 02:54:21 +00:00
|
|
|
* Add public API to register new folders for `rake notes`:
|
2016-07-06 12:38:48 +00:00
|
|
|
|
|
|
|
config.annotations.register_directories('spec', 'features')
|
|
|
|
|
|
|
|
*John Meehan*
|
|
|
|
|
2016-07-25 23:12:55 +00:00
|
|
|
* Display name of the class defining the initializer along with the initializer
|
2016-07-17 06:04:08 +00:00
|
|
|
name in the output of `rails initializers`.
|
2016-07-10 16:43:12 +00:00
|
|
|
|
|
|
|
Before:
|
|
|
|
disable_dependency_loading
|
|
|
|
|
|
|
|
After:
|
|
|
|
DemoApp::Application.disable_dependency_loading
|
|
|
|
|
|
|
|
*ta1kt0me*
|
|
|
|
|
2016-07-01 20:34:31 +00:00
|
|
|
* Do not run `bundle install` when generating a new plugin.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2016-06-23 00:43:12 +00:00
|
|
|
* Default `config.assets.quiet = true` in the development environment. Suppress
|
2016-07-09 12:21:31 +00:00
|
|
|
logging of assets requests by default.
|
2016-06-23 00:43:12 +00:00
|
|
|
|
|
|
|
*Kevin McPhillips*
|
|
|
|
|
2016-06-18 08:46:44 +00:00
|
|
|
* Ensure `/rails/info` routes match in development for apps with a catch-all globbing route.
|
|
|
|
|
|
|
|
*Nicholas Firth-McCoy*
|
|
|
|
|
2016-05-21 16:29:34 +00:00
|
|
|
* Added a shared section to `config/secrets.yml` that will be loaded for all environments.
|
2016-05-21 13:07:06 +00:00
|
|
|
|
|
|
|
*DHH*
|
2016-05-06 21:54:40 +00:00
|
|
|
|
2016-05-10 04:07:09 +00:00
|
|
|
Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/railties/CHANGELOG.md) for previous changes.
|