Fixup CHANGELOGs [ci skip]

This commit is contained in:
Ryuta Kamizono 2020-02-25 14:14:54 +09:00
parent 8a72d42bcc
commit 1d3eb7be13
7 changed files with 31 additions and 26 deletions

View File

@ -1,7 +1,7 @@
* Deprecate `Rails.application.credentials.action_mailbox.api_key` and `MAILGUN_INGRESS_API_KEY` in favor of `Rails.application.credentials.action_mailbox.signing_key` and `MAILGUN_INGRESS_SIGNING_KEY`.
*Matthijs Vos*
* Allow easier creation of multi-part emails from the `create_inbound_email_from_mail` and `receive_inbound_email_from_mail` test helpers.
*Michael Herold*

View File

@ -12,7 +12,7 @@
CVE-2019-16782.
* Include child session assertion count in ActionDispatch::IntegrationTest
* Include child session assertion count in ActionDispatch::IntegrationTest.
`IntegrationTest#open_session` uses `dup` to create the new session, which
meant it had its own copy of `@assertions`. This prevented the assertions
@ -21,7 +21,7 @@
Child sessions now have their `attr_accessor` overridden to delegate to the
root session.
Fixes #32142
Fixes #32142.
*Sam Bostock*
@ -142,7 +142,7 @@
*Tom Fakes*
* Add `Vary: Accept` header when using `Accept` header for response
* Add `Vary: Accept` header when using `Accept` header for response.
For some requests like `/users/1`, Rails uses requests' `Accept`
header to determine what to return. And if we don't add `Vary`

View File

@ -65,14 +65,16 @@
*Vlado Cingel*
* Add jitter to :exponentially_longer
* Add jitter to :exponentially_longer.
ActiveJob::Exceptions.retry_on with :exponentially_longer now uses a random amount of jitter in order to
prevent the [thundering herd effect.](https://en.wikipedia.org/wiki/Thundering_herd_problem). Defaults to
prevent the [thundering herd effect](https://en.wikipedia.org/wiki/Thundering_herd_problem). Defaults to
15% (represented as 0.15) but overridable via the `:jitter` option when using `retry_on`.
Jitter is applied when an `Integer`, `ActiveSupport::Duration` or `exponentially_longer`, is passed to the `wait` argument in `retry_on`.
Jitter is applied when an `Integer`, `ActiveSupport::Duration` or `:exponentially_longer`, is passed to the `wait` argument in `retry_on`.
```ruby
retry_on(MyError, wait: :exponentially_longer, jitter: 0.30)
```
*Anthony Ross*

View File

@ -19,7 +19,7 @@
*Josh Brody*
* Add *_previously_was attribute methods when dirty tracking. Example:
* Add `*_previously_was` attribute methods when dirty tracking. Example:
pirate.update(catchphrase: "Ahoy!")
pirate.previous_changes["catchphrase"] # => ["Thar She Blows!", "Ahoy!"]

View File

@ -38,7 +38,8 @@
The horizontal sharding API also supports read replicas. See guides for more details.
*Eileen M. Uchitelle*, *John Crepezzi*
* Deprecate `spec_name` in favor of `name` on database configurations
* Deprecate `spec_name` in favor of `name` on database configurations.
The accessors for `spec_name` on `configs_for` and `DatabaseConfig` are deprecated. Please use `name` instead.
@ -58,7 +59,7 @@
*Eileen M. Uchitelle*
* Add additional database-specific rake tasks for multi-database users
* Add additional database-specific rake tasks for multi-database users.
Previously, `rails db:create`, `rails db:drop`, and `rails db:migrate` were the only rails tasks that could operate on a single
database. For example:
@ -140,7 +141,7 @@
Example Usage:
```
```ruby
class AddColumnTitle < ActiveRecord::Migration[6.1]
def change
add_column :posts, :title, :string, if_not_exists: true
@ -148,7 +149,7 @@
end
```
```
```ruby
class RemoveColumnTitle < ActiveRecord::Migration[6.1]
def change
remove_column :posts, :title, if_exists: true
@ -158,7 +159,7 @@
*Eileen M. Uchitelle*
* Regexp-escape table name for MS SQL
* Regexp-escape table name for MS SQL Server.
Add `Regexp.escape` to one method in ActiveRecord, so that table names with regular expression characters in them work as expected. Since MS SQL Server uses "[" and "]" to quote table and column names, and those characters are regular expression characters, methods like `pluck` and `select` fail in certain cases when used with the MS SQL Server adapter.
@ -176,7 +177,7 @@
For example:
```
```yaml
development:
adapter: postgresql
database: blog_development
@ -192,7 +193,7 @@
*Eileen M. Uchitelle*, *John Crepezzi*
* Deprecate `#default_hash` and it's alias `#[]` on database configurations
* Deprecate `#default_hash` and it's alias `#[]` on database configurations.
Applications should use `configs_for`. `#default_hash` and `#[]` will be removed in 6.2.
@ -224,7 +225,7 @@
*Eileen M. Uchitelle*
* Deprecate "primary" as the connection_specification_name for ActiveRecord::Base
* Deprecate "primary" as the connection_specification_name for ActiveRecord::Base.
`"primary"` has been deprecated as the `connection_specification_name` for `ActiveRecord::Base` in favor of using `"ActiveRecord::Base"`. This change affects calls to `ActiveRecord::Base.connection_handler.retrieve_connection` and `ActiveRecord::Base.connection_handler.remove_connection`. If you're calling these methods with `"primary"`, please switch to `"ActiveRecord::Base"`.
@ -239,7 +240,9 @@
ActiveRecord::Relation#cache_key_with_version. This method will be used by
ActionController::ConditionalGet to ensure that when collection cache versioning
is enabled, requests using ConditionalGet don't return the same ETag header
after a collection is modified. Fixes #38078.
after a collection is modified.
Fixes #38078.
*Aaron Lipman*

View File

@ -17,7 +17,7 @@
Class methods are prepended to the base class, concerning is also
updated: `concerning :Imposter, prepend: true do`.
*Jason Karns, Elia Schito*
*Jason Karns*, *Elia Schito*
* Deprecate using `Range#include?` method to check the inclusion of a value
in a date time range. It is recommended to use `Range#cover?` method

View File

@ -1,4 +1,4 @@
* `rails stats` will now count TypeScript files toward JavaScript stats
* `rails stats` will now count TypeScript files toward JavaScript stats.
*Joshua Cody*
@ -8,7 +8,7 @@
*OKURA Masafumi*
* Add benchmark generator
* Add benchmark generator.
Introduce benchmark generator to benchmark Rails applications.
@ -22,7 +22,7 @@
*Kevin Jalbert*, *Gannon McGibbon*
* Cache compiled view templates when running tests by default
* Cache compiled view templates when running tests by default.
When generating a new app without `--skip-spring`, caching classes is
disabled in `environments/test.rb`. This implicitly disables caching
@ -35,7 +35,7 @@
*Jorge Manrubia*
* Introduce middleware move operations
* Introduce middleware move operations.
With this change, you no longer need to delete and reinsert a middleware to
move it from one place to another in the stack:
@ -53,7 +53,7 @@
*Genadi Samokovarov*
* Generators that inherit from NamedBase respect `--force` option
* Generators that inherit from NamedBase respect `--force` option.
*Josh Brody*
@ -65,7 +65,7 @@
*Thierry Joyal*
* Ensure Rails migration generator respects system-wide primary key config
* Ensure Rails migration generator respects system-wide primary key config.
When rails is configured to use a specific primary key type:
@ -84,9 +84,9 @@
The references line in the migration would not have `type: :uuid`.
This change causes the type to be applied appropriately.
*Louis-Michel Couture* *Dermot Haughey*
*Louis-Michel Couture*, *Dermot Haughey*
* Deprecate `Rails::DBConsole#config`
* Deprecate `Rails::DBConsole#config`.
`Rails::DBConsole#config` is deprecated without replacement. Use `Rails::DBConsole.db_config.configuration_hash` instead.