1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove deprecated :return_false_on_aborted_enqueue option

This commit is contained in:
Rafael Mendonça França 2021-11-19 22:04:55 +00:00
parent fd0ec3f4f6
commit 7c788e9175
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948
3 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
* Remove deprecated `:return_false_on_aborted_enqueue` option.
*Rafael Mendonça França*
* Deprecated `Rails.config.active_job.skip_after_callbacks_if_terminated`.
*Rafael Mendonça França*

View file

@ -29,7 +29,6 @@ module ActiveJob
included do
class_attribute :return_false_on_aborted_enqueue, instance_accessor: false, instance_predicate: false, default: false
singleton_class.deprecate :return_false_on_aborted_enqueue, :return_false_on_aborted_enqueue=
cattr_accessor :skip_after_callbacks_if_terminated, instance_accessor: false, default: false
singleton_class.deprecate :skip_after_callbacks_if_terminated, :skip_after_callbacks_if_terminated=

View file

@ -252,6 +252,8 @@ Please refer to the [Changelog][active-job] for detailed changes.
* Removed deprecated behavior that was not halting `after_enqueue`/`after_perform` callbacks when a
previous callback was halted with `throw :abort`.
* Remove deprecated `:return_false_on_aborted_enqueue` option.
### Deprecations
* Deprecated `Rails.config.active_job.skip_after_callbacks_if_terminated`.