From 9834be65655e8552d25633b7376ab0654a23875d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 24 Apr 2019 15:57:14 -0400 Subject: Start Rails 6.1 development --- activejob/CHANGELOG.md | 139 +------------------------------- activejob/lib/active_job/gem_version.rb | 4 +- 2 files changed, 3 insertions(+), 140 deletions(-) (limited to 'activejob') diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md index c4e21b48ac..2f0d72ccb9 100644 --- a/activejob/CHANGELOG.md +++ b/activejob/CHANGELOG.md @@ -1,140 +1,3 @@ -* Use individual execution counters when calculating retry delay. - *Patrik Bóna* -* Make job argument assertions with `Time`, `ActiveSupport::TimeWithZone`, and `DateTime` work by dropping microseconds. Microsecond precision is lost during serialization. - - *Gannon McGibbon* - - -## Rails 6.0.0.beta3 (March 11, 2019) ## - -* No changes. - - -## Rails 6.0.0.beta2 (February 25, 2019) ## - -* No changes. - - -## Rails 6.0.0.beta1 (January 18, 2019) ## - -* Return false instead of the job instance when `enqueue` is aborted. - - This will be the behavior in Rails 6.1 but it can be controlled now with - `config.active_job.return_false_on_aborted_enqueue`. - - *Kir Shatrov* - -* Keep executions for each specific declaration - - Each `retry_on` declaration has now its own specific executions counter. Before it was - shared between all executions of a job. - - *Alberto Almagro* - -* Allow all assertion helpers that have a `only` and `except` keyword to accept - Procs. - - *Edouard Chin* - -* Restore `HashWithIndifferentAccess` support to `ActiveJob::Arguments.deserialize`. - - *Gannon McGibbon* - -* Include deserialized arguments in job instances returned from - `assert_enqueued_with` and `assert_performed_with` - - *Alan Wu* - -* Allow `assert_enqueued_with`/`assert_performed_with` methods to accept - a proc for the `args` argument. This is useful to check if only a subset of arguments - matches your expectations. - - *Edouard Chin* - -* `ActionDispatch::IntegrationTest` includes `ActiveJob::TestHelper` module by default. - - *Ricardo Díaz* - -* Added `enqueue_retry.active_job`, `retry_stopped.active_job`, and `discard.active_job` hooks. - - *steves* - -* Allow `assert_performed_with` to be called without a block. - - *bogdanvlviv* - -* Execution of `assert_performed_jobs`, and `assert_no_performed_jobs` - without a block should respect passed `:except`, `:only`, and `:queue` options. - - *bogdanvlviv* - -* Allow `:queue` option to job assertions and helpers. - - *bogdanvlviv* - -* Allow `perform_enqueued_jobs` to be called without a block. - - Performs all of the jobs that have been enqueued up to this point in the test. - - *Kevin Deisz* - -* Move `enqueue`/`enqueue_at` notifications to an around callback. - - Improves timing accuracy over the old after callback by including - time spent writing to the adapter's IO implementation. - - *Zach Kemp* - -* Allow call `assert_enqueued_with` with no block. - - Example: - ``` - def test_assert_enqueued_with - MyJob.perform_later(1,2,3) - assert_enqueued_with(job: MyJob, args: [1,2,3], queue: 'low') - - MyJob.set(wait_until: Date.tomorrow.noon).perform_later - assert_enqueued_with(job: MyJob, at: Date.tomorrow.noon) - end - ``` - - *bogdanvlviv* - -* Allow passing multiple exceptions to `retry_on`, and `discard_on`. - - *George Claghorn* - -* Pass the error instance as the second parameter of block executed by `discard_on`. - - Fixes #32853. - - *Yuji Yaginuma* - -* Remove support for Qu gem. - - Reasons are that the Qu gem wasn't compatible since Rails 5.1, - gem development was stopped in 2014 and maintainers have - confirmed its demise. See issue #32273 - - *Alberto Almagro* - -* Add support for timezones to Active Job. - - Record what was the current timezone in effect when the job was - enqueued and then restore when the job is executed in same way - that the current locale is recorded and restored. - - *Andrew White* - -* Rails 6 requires Ruby 2.5.0 or newer. - - *Jeremy Daer*, *Kasper Timm Hansen* - -* Add support to define custom argument serializers. - - *Evgenii Pecherkin*, *Rafael Mendonça França* - - -Please check [5-2-stable](https://github.com/rails/rails/blob/5-2-stable/activejob/CHANGELOG.md) for previous changes. +Please check [6-0-stable](https://github.com/rails/rails/blob/6-0-stable/activejob/CHANGELOG.md) for previous changes. diff --git a/activejob/lib/active_job/gem_version.rb b/activejob/lib/active_job/gem_version.rb index 5313a4ab9e..224ae9072a 100644 --- a/activejob/lib/active_job/gem_version.rb +++ b/activejob/lib/active_job/gem_version.rb @@ -8,9 +8,9 @@ module ActiveJob module VERSION MAJOR = 6 - MINOR = 0 + MINOR = 1 TINY = 0 - PRE = "beta3" + PRE = "alpha" STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end -- cgit v1.2.3