2019-11-07 19:06:06 +00:00
|
|
|
* Add an option to disable logging of the job arguments when enqueuing and executing the job.
|
|
|
|
|
|
|
|
class SensitiveJob < ApplicationJob
|
|
|
|
self.log_arguments = false
|
|
|
|
|
|
|
|
def perform(my_sensitive_argument)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-11-09 14:13:07 +00:00
|
|
|
When dealing with sensitive arguments as password and tokens it is now possible to configure the job
|
2019-11-07 19:06:06 +00:00
|
|
|
to not put the sensitive argument in the logs.
|
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2019-11-24 00:20:00 +00:00
|
|
|
* Changes in `queue_name_prefix` of a job no longer affects all other jobs.
|
|
|
|
|
|
|
|
Fixes #37084.
|
2019-09-12 00:20:09 +00:00
|
|
|
|
|
|
|
*Lucas Mansur*
|
|
|
|
|
2019-09-09 20:42:16 +00:00
|
|
|
* Allow `Class` and `Module` instances to be serialized.
|
|
|
|
|
|
|
|
*Kevin Deisz*
|
|
|
|
|
2019-11-24 00:20:00 +00:00
|
|
|
* Log potential matches in `assert_enqueued_with` and `assert_performed_with`.
|
2019-08-12 19:12:23 +00:00
|
|
|
|
|
|
|
*Gareth du Plooy*
|
|
|
|
|
2019-08-07 15:09:23 +00:00
|
|
|
* Add `at` argument to the `perform_enqueued_jobs` test helper.
|
|
|
|
|
|
|
|
*John Crepezzi*, *Eileen Uchitelle*
|
|
|
|
|
2019-07-25 22:41:15 +00:00
|
|
|
* `assert_enqueued_with` and `assert_performed_with` can now test jobs with relative delay.
|
|
|
|
|
|
|
|
*Vlado Cingel*
|
2019-04-12 15:24:05 +00:00
|
|
|
|
|
|
|
|
2019-04-24 19:57:14 +00:00
|
|
|
Please check [6-0-stable](https://github.com/rails/rails/blob/6-0-stable/activejob/CHANGELOG.md) for previous changes.
|