diff options
author | Jon Moss <me@jonathanmoss.me> | 2017-04-23 10:35:36 -0400 |
---|---|---|
committer | Jon Moss <me@jonathanmoss.me> | 2017-04-23 10:36:10 -0400 |
commit | 31f27aa25806670545a7d17f5c6a04d0acd27beb (patch) | |
tree | 641e7bdd5d61b12fb00fa8ecaaf7e23ac375edd3 /guides/source | |
parent | 2ef1af8d7bfe5beb031237f208a7d925cddf22c1 (diff) | |
download | rails-31f27aa25806670545a7d17f5c6a04d0acd27beb.tar.gz rails-31f27aa25806670545a7d17f5c6a04d0acd27beb.tar.bz2 rails-31f27aa25806670545a7d17f5c6a04d0acd27beb.zip |
Add Active Job info to 5.1 release notes
[ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/5_1_release_notes.md | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/guides/source/5_1_release_notes.md b/guides/source/5_1_release_notes.md index 43b5a0fdaf..f9062920f0 100644 --- a/guides/source/5_1_release_notes.md +++ b/guides/source/5_1_release_notes.md @@ -340,10 +340,21 @@ Please refer to the [Changelog][active-job] for detailed changes. ### Removals -### Deprecations +* Removed deprecated support to passing the adapter class to `.queue_adapter`. + ([commit](https://github.com/rails/rails/commit/d1fc0a5eb286600abf8505516897b96c2f1ef3f6)) + +* Removed deprecated `#original_exception` in `ActiveJob::DeserializationError`. + ([commit](https://github.com/rails/rails/commit/d861a1fcf8401a173876489d8cee1ede1cecde3b)) ### Notable changes +* Added declarative exception handling via `ActiveJob::Base.retry_on` and `ActiveJob::Base.discard_on`. + ([Pull Request](https://github.com/rails/rails/pull/25991)) + +* Yield the job instance so you have access to things like `job.arguments` on + the custom logic after retries fail. + ([commit](https://github.com/rails/rails/commit/a1e4c197cb12fef66530a2edfaeda75566088d1f)) + Active Support -------------- |