2023/11/23分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actionmailer/CHANGELOG.md
- Remove deprecated
config.action_mailer.preview_path - Remove deprecated params via
:argsforassert_enqueued_email_with
- Remove deprecated constant
ActionDispatch::IllegalStateError - Remove deprecated constant
AbstractController::Helpers::MissingHelperError - Remove deprecated comparison between
ActionController::ParametersandHash - Deprecate
Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality. - Remove deprecated
Rails.application.config.action_dispatch.return_only_request_media_type_on_content_type. - Remove deprecated
speaker,vibrate, andvrpermissions policy directives - Remove deprecated support to set
Rails.application.config.action_dispatch.show_exceptionstotrueandfalse
activejob/CHANGELOG.md
- Remove deprecated primitive serializer for
BigDecimalarguments - Remove deprecated support to set numeric values to
scheduled_atattribute - Remove deprecated
:exponentially_longervalue for the:waitinretry_on
Tweak message for NoDatabaseError
activerecord/lib/active_record/errors.rbの修正です。
NoDatabaseErrorで出力するエラーメッセージのフォーマットを出力しています。
Merge pull request #50138 from rails/rm-remove-duplication
activemodel/lib/active_model/attribute_methods.rbの修正です。
alias_attribute_method_definitionとdefine_proxy_callメソッドの共通の処理をメソッドに切り出しています。
activemodel/lib/active_model/dirty.rbのdocの修正です。
ActiveModel::Dirty moduleのdoc内の*_wasについて説明しているexampleコードで*_changeを使用していたのを*_wasを使用するよう修正しています。
Merge pull request #50049 from kmcphillips/mysql-warnings-empty
activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rbの修正です。
MySQLでwarning_countが1以上、かつ、SHOW WARNINGSでwarningが取得出来なかった場合に、warningが無視されてしまっていたのを、ActiveRecord.db_warnings_actionをRails側で生成した汎用的なメッセージで実行するよう修正しています。
Remove deprecated config.action_mailer.preview_path
actionmailer/lib/action_mailer/preview.rbの修正です。
deprecatedになっていたconfig.action_mailer.preview_pathを削除しています。
Remove deprecated params via :args for assert_enqueued_email_with
actionmailer/lib/action_mailer/test_helper.rbの修正です。
deprecatedになっていたassert_enqueued_email_withに:args経由でparamsを渡す処理を削除しています。
Remove deprecated constant ActionDispatch::IllegalStateError
actionpack/lib/action_dispatch.rbの修正です。
deprcatedになっていたActionDispatch::IllegalStateErrorを削除しています。
Remove deprecated constant AbstractController::Helpers::MissingHelperError
actionpack/lib/abstract_controller/helpers.rbの修正です。
deprecatedになっていたAbstractController::Helpers::MissingHelperErrorを削除しています。
Remove deprecated comparison between ActionController::Parameters and Hash
actionpack/lib/action_controller/metal/strong_parameters.rbの修正です。
deprecatedになっていたActionController::ParametersとHashが同一かをチェックする処理を削除しています。合わせて、この挙動を制御する為のRails.application.config.action_controller.allow_deprecated_parameters_hash_equalityを削除していmさう。
actionpack/lib/action_dispatch/http/mime_negotiation.rb、
actionpack/lib/action_dispatch/railtie.rbの修正です。
deprecatedになっていたRails.application.config.action_dispatch.return_only_request_media_type_on_content_typeを削除しています。
Remove deprecated speaker, vibrate, and vr permissions policy directives
actionpack/lib/action_dispatch/http/permissions_policy.rbの修正です。
permissions policy directivesからdeprecatedになっていたspeaker, vibrate及びvrを削除しています。
actionpack/lib/action_dispatch/middleware/exception_wrapper.rbの修正です。
deprecatedになっていたRails.application.config.action_dispatch.show_exceptionsにtrueとfalseを指定した場合の挙動を削除しています。
Remove deprecated primitive serializer for BigDecimal arguments
activejob/lib/active_job.rb、
activejob/lib/active_job/arguments.rbの修正です。
deprecatedになっていたjobのargumentにBigDecimalを指定した場合にRails 7.1で追加されたBigDecimal用のserializerを使用しない場合の処理を削除しています。合わせて、この挙動を制御する為のRails.application.config.active_job.use_big_decimal_serializeをdeprecatedにしています。
Remove deprecated support to set numeric values to scheduled_at attribute
activejob/lib/active_job/core.rb、
activejob/lib/active_job/enqueuing.rbの修正です。
deprecatedになっていたscheduled_at attributeにnumeric valueを指定した場合の挙動を削除しています。
Remove deprecated :exponentially_longer value for the :wait in retry_on
activejob/lib/active_job/exceptions.rbの修正です。
deprecatedになっていたretry_onの:wait引数に:exponentially_longerを指定した場合の挙動を削除しています。
Merge pull request #49743 from yoshixi/improve-action-mailbox-incineration-doc-1
rails guideのAction Mailbox Basicsの修正です。
Incineration of InboundEmailsセクションに、InboundEmailがメールが処理されたと判断する条件についての説明を追加しています。