From 95714bb2b2e70b534ba67c7ae449a0f7bf646a04 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Wed, 23 Dec 2015 10:05:11 +0100 Subject: release notes, extract notable changes from Active Job CHANGELOG. [ci skip] --- activejob/CHANGELOG.md | 2 +- guides/source/5_0_release_notes.md | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md index c4c49af53a..8687af5eba 100644 --- a/activejob/CHANGELOG.md +++ b/activejob/CHANGELOG.md @@ -28,7 +28,7 @@ *Jean Boussier* -* Include I18n.locale into job serialization/deserialization and use it around +* Include `I18n.locale` into job serialization/deserialization and use it around `perform`. Fixes #20799. diff --git a/guides/source/5_0_release_notes.md b/guides/source/5_0_release_notes.md index 5dc1f7d273..584fb273a1 100644 --- a/guides/source/5_0_release_notes.md +++ b/guides/source/5_0_release_notes.md @@ -399,11 +399,24 @@ Active Job Please refer to the [Changelog][active-job] for detailed changes. -### Removals +### Notable changes -### Deprecations +* `ActiveJob::Base.deserialize` delegates to the job class. this allows jobs + to attach arbitrary metadata when they get serialized and read it back when + they get performed. + ([Pull Request](https://github.com/rails/rails/pull/18260)) -### Notable changes +* A generated job now inherits from `app/jobs/application_job.rb` by default. + ([Pull Request](https://github.com/rails/rails/pull/19034)) + +* Allow `DelayedJob`, `Sidekiq`, `qu`, and `que` to report the job id back to + `ActiveJob::Base` as `provider_job_id`. + ([Pull Request](https://github.com/rails/rails/pull/20064), + [Pull Request](https://github.com/rails/rails/pull/20056)) + +* Implement a simple `AsyncJob` processor and associated `AsyncAdapter` that + queue jobs to a `concurrent-ruby` thread pool. + ([Pull Request](https://github.com/rails/rails/pull/21257)) Active Support -- cgit v1.2.3