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:
parent
32371e1855
commit
96010b0066
2 changed files with 10 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
--------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue