2022/06/30分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actioncable/CHANGELOG.md
Only remove connection for an existing pool if the config is different
Active Recordの修正です。
establish_connectionを呼ぶと必ず新しいconnectionが生成されていたのを、poolに同じconfigのconnectionがある場合、それを使いまわすよう修正しています。複数DB + migrateでestablish_connectionが実行されてしまう場合(modelのメソッド + executeでSQLを実行等)にconnectionが切断されてしまいエラーになるのを避ける為。
Anchor the Action Cable server's route
actioncable/lib/action_cable/engine.rb、
actionpack/lib/action_dispatch/routing/mapper.rbの修正です。
Action Cableのserverのrouteにanchorオプションを指定するよう修正しています。アプリケーション側でcable-ではじまるrouteを定義出来るようにする為。
Support :urlsafe option for MessageEncryptor
activesupport/lib/active_support/message_encryptor.rbの修正です。
ActiveSupport::MessageVerifierと同様に、ActiveSupport::MessageEncryptorにもurlsafeオプションを指定出来るよう修正しています。
Merge pull request #45482 from jonathanhefner/message_verifier-replace-urlsafe-tests
activesupport/test/message_verifier_test.rbの修正です。
MessageVerifier + urlsafeがtrueの場合のテストが、urlsafeが指定されていない場合も通るテストになってしまっていたのを修正しています。
Merge pull request #45484 from codergeek121/fix-npm-release-tags
tasks/release.rbの修正です。
npmにリリースされているライブラリについて、最新バージョンがlatestとして認識されるようリリース時にtagの指定を行うよう修正しています。
Merge pull request #45385 from skipkayhil/refine-configuring-docs-2
rails guideのConfiguring Rails Applicationsの修正です。
config.allow_concurrency等説明が不足していたconfigを追加しています。
activerecord/CHANGELOG.mdの修正です。
コンポーネント名の修正を行っています。
Refactor connection handler's establish_connection
activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rbの修正です。
establish_connectionについて、connection poolの取得や削除処理で何度もpool managerを取得していたのを、各処理で一度だけ取得するようリファクタリングしています。