Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Active Job release notes [ci skip] #35872

Merged
merged 1 commit into from Apr 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions activejob/lib/active_job/test_helper.rb
Expand Up @@ -353,7 +353,7 @@ def assert_no_performed_jobs(only: nil, except: nil, queue: nil, &block)
#
#
# The +args+ argument also accepts a proc which will get passed the actual
# job's arguments. Your proc needs to returns a boolean value determining if
# job's arguments. Your proc needs to return a boolean value determining if
# the job's arguments matches your expectation. This is useful to check only
# for a subset of arguments.
#
Expand Down Expand Up @@ -426,7 +426,7 @@ def assert_enqueued_with(job: nil, args: nil, at: nil, queue: nil)
# end
#
# The +args+ argument also accepts a proc which will get passed the actual
# job's arguments. Your proc needs to returns a boolean value determining if
# job's arguments. Your proc needs to return a boolean value determining if
# the job's arguments matches your expectation. This is useful to check only
# for a subset of arguments.
#
Expand Down
46 changes: 46 additions & 0 deletions guides/source/6_0_release_notes.md
Expand Up @@ -267,10 +267,56 @@ Please refer to the [Changelog][active-job] for detailed changes.

### Removals

* Remove support for Qu gem.
([Pull Request](https://github.com/rails/rails/pull/32300))

### Deprecations

### Notable changes

* Add support for custom serializers for Active Job arguments.
([Pull Request](https://github.com/rails/rails/pull/30941))

* Add support for executing Active Jobs in the timezone in which
they were enqueued.
([Pull Request](https://github.com/rails/rails/pull/32085))

* Allow passing multiple exceptions to `retry_on`/`discard_on`.
([Commit](https://github.com/rails/rails/commit/3110caecbebdad7300daaf26bfdff39efda99e25))

* Allow calling `assert_enqueued_with` and `assert_enqueued_email_with` without a block.
([Pull Request](https://github.com/rails/rails/pull/33258))

* Wrap the notifications for `enqueue` and `enqueue_at` in the `around_enqueue`
callback instead of `after_enqueue` callback.
([Pull Request](https://github.com/rails/rails/pull/33171))

* Allow calling `perform_enqueued_jobs` without a block.
([Pull Request](https://github.com/rails/rails/pull/33626))

* Allow calling `assert_performed_with` without a block.
([Pull Request](https://github.com/rails/rails/pull/33635))

* Add `:queue` option to job assertions and helpers.
([Pull Request](https://github.com/rails/rails/pull/33635))

* Add hooks to Active Job around retries and discards.
([Pull Request](https://github.com/rails/rails/pull/33751))

* Add a way to test for subset of arguments when performing jobs.
([Pull Request](https://github.com/rails/rails/pull/33995))

* Include deserialized arguments in jobs returned by Active Job
test helpers.
([Pull Request](https://github.com/rails/rails/pull/34204))

* Allow Active Job assertion helpers to accept Proc for `only`
keyword.
([Pull Request](https://github.com/rails/rails/pull/34339))

* Drop microseconds and nanoseconds from the job arguments in assertion helpers.
([Pull Request](https://github.com/rails/rails/pull/35713))

Ruby on Rails Guides
--------------------

Expand Down