- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
-
Make sure
assert_enqueued_with()
&assert_performed_with()
work reliably with hash arguments.Sharang Dashputre
-
Restore
ActionController::Parameters
support toActiveJob::Arguments.serialize
.Bernie Chiu
-
Restore
HashWithIndifferentAccess
support toActiveJob::Arguments.deserialize
.Gannon McGibbon
-
Include deserialized arguments in job instances returned from
assert_enqueued_with
andassert_performed_with
Alan Wu
-
Increment execution count before deserialize arguments.
Currently, the execution count increments after deserializes arguments. Therefore, if an error occurs with deserialize, it retries indefinitely.
Yuji Yaginuma
-
Do not deserialize GlobalID objects that were not generated by Active Job.
Trusting any GlobaID object when deserializing jobs can allow attackers to access information that should not be accessible to them.
Fix CVE-2018-16476.
Rafael Mendonça França
-
Pass the error instance as the second parameter of block executed by
discard_on
.Fixes #32853.
Yuji Yaginuma
-
Allow block to be passed to
ActiveJob::Base.discard_on
to allow custom handling of discard jobs.Example:
class RemoteServiceJob < ActiveJob::Base discard_on(CustomAppException) do |job, exception| ExceptionNotifier.caught(exception) end def perform(*args) # Might raise CustomAppException for something domain specific end end
Aidan Haran
-
Support redis-rb 4.0.
Jeremy Daer
Please check 5-1-stable for previous changes.