2019/08/21分のコミットです。
CHANGELOGへの追加はありませんでした。
Support extra stuff in the Content-Type header via Mime registration
actionpack/lib/action_dispatch/http/response.rb
の修正です。
Content-Type headerをパースした際に、mime type、charset以外の補足情報も保持するよう修正しています。
mime type registerで補足情報付きで登録した場合(e.g. text/html; fragment
)に、その指定したmime typeと一致させる為に補足情報も必要な為。
Merge pull request #36998 from jhawthorn/reaper_fork
activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
の修正です。
connections reaperがfork後に動作しないバグがあったのを修正しています。
Merge pull request #36930 from eugeneius/active_record_base_connection_specification_name
activerecord/lib/active_record/connection_handling.rb
の修正です。
connection_specification_name
メソッドでActiveRecord::Base
とApplicationRecord
どちらもprimary
とみなすようになっていたのを、ActiveRecord::Base
のみprimary
とみなすよう修正しています。
ActiveRecord::Base
でconnection_specification_name
を指定した場合にその内容子クラスで使用されるようにする為。
Fix error on reap/flush for closed connection pool
activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
の修正です。
ConnectionPool#reap
、#flush
メソッドでclose済みのconnectionに対しても処理を行ってしまい、結果エラーになってしまうバグがあったのを修正しています。
Merge pull request #37003 from abhaynikam/change-rails-gem-version-in-bug-report-template
bug report templatesの修正です。
bug report templatesで使用するRailsのバージョンを6.0.0
に更新しています。
Generate new apps with latest puma version
railties/lib/rails/generators/app_base.rb
の修正です。
rails new
で生成するGemfile
内のPuma
のバージョン指定を、4系を使用するよう修正しています。
Removed unused NullContentTypeHeader after changes in #36996
actionpack/lib/action_dispatch/http/response.rb
の修正です。
使用していないNullContentTypeHeader
を削除しています。