2023/11/23分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actionmailer/CHANGELOG.md
- Remove deprecated
config.action_mailer.preview_path
- Remove deprecated params via
:args
forassert_enqueued_email_with
- Remove deprecated constant
ActionDispatch::IllegalStateError
- Remove deprecated constant
AbstractController::Helpers::MissingHelperError
- Remove deprecated comparison between
ActionController::Parameters
andHash
- 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
, andvr
permissions policy directives - Remove deprecated support to set
Rails.application.config.action_dispatch.show_exceptions
totrue
andfalse
activejob/CHANGELOG.md
- Remove deprecated primitive serializer for
BigDecimal
arguments - Remove deprecated support to set numeric values to
scheduled_at
attribute - Remove deprecated
:exponentially_longer
value for the:wait
inretry_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
がメールが処理されたと判断する条件についての説明を追加しています。