1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update changelog and release notes

Add missing `connected_to` deprecation and mention changes to connection
handling.
This commit is contained in:
eileencodes 2020-12-17 14:41:00 -05:00
parent 32371e1855
commit 96010b0066
No known key found for this signature in database
GPG key ID: BA5C575120BBE8DF
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
* Remove deprecated `database` kwarg from `connected_to`.
*Eileen M. Uchitelle*, *John Crepezzi*
* Allow adding nonnamed expression indexes to be revertible.
Fixes #40732.

View file

@ -235,6 +235,10 @@ Please refer to the [Changelog][active-record] for detailed changes.
* Deprecate `ActiveRecord::Base.allow_unsafe_raw_sql`.
* Deprecate `database` kwarg on `connected_to`.
* Deprecate `connection_handlers` when `legacy_connection_handling` is set to false.
### Notable changes
* MySQL: Uniqueness validator now respects default database collation,
@ -283,6 +287,8 @@ Please refer to the [Changelog][active-record] for detailed changes.
User.where.not(name: "Jon", role: "admin")
# SELECT * FROM users WHERE NOT (name == 'Jon' AND role == 'admin')
* To use the new per-database connection handling applications must change `legacy_connection_handling` to false and remove deprecated accessors on `connection_handlers`. Public methods for `connects_to` and `connected_to` require no changes.
Active Storage
--------------