diff --git a/CHANGELOG.md b/CHANGELOG.md index c490db1f..eb878c0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,26 @@ ### Main (unreleased) -- [365](https://github.com/Shopify/job-iteration/pull/365) - Support composite primary key as a cursor +Nil + +## v1.4.0 (Aug 23, 2023) + +### Changes + +- [338](https://github.com/Shopify/job-iteration/pull/338) - All logs are now `ActiveSupport::Notifications` events and logged using `ActiveSupport::LogSubscriber` to allow customization. Events now always include the `cursor_position` tag. +- [418](https://github.com/Shopify/job-iteration/pull/418) - Return `nil` from `Iteration#perform`, to signal not to rely on return value. + +### Features + - [240](https://github.com/Shopify/job-iteration/pull/240) - Allow setting inheritable per-job `job_iteration_max_job_runtime` -- [289](https://github.com/Shopify/job-iteration/pull/289) - Fix uninitialized constant error when raising `ConditionNotSupportedError` from `ActiveRecordBatchEnumerator` - [310](https://github.com/Shopify/job-iteration/pull/310) - Support nested iteration -- [338](https://github.com/Shopify/job-iteration/pull/338) - All logs are now `ActiveSupport::Notifications` events and logged using `ActiveSupport::LogSubscriber` to allow customization. Events now always include the `cursor_position` tag. - [341](https://github.com/Shopify/job-iteration/pull/341) - Add `JobIteration.default_retry_backoff`, which sets a default delay when jobs are re-enqueued after being interrupted. Defaults to `nil`, meaning no delay, which matches the current behaviour. +- [365](https://github.com/Shopify/job-iteration/pull/365) - Support composite primary key as a cursor + +### Bug fixes + +- [289](https://github.com/Shopify/job-iteration/pull/289) - Fix uninitialized constant error when raising `ConditionNotSupportedError` from `ActiveRecordBatchEnumerator` +- [346](https://github.com/Shopify/job-iteration/pull/346) - Include failed jobs in `total_time` - [417](https://github.com/Shopify/job-iteration/pull/417) - Ensure that numerical values are deserialized as such and not as strings. -- [418](https://github.com/Shopify/job-iteration/pull/418) - Return `nil` from `Iteration#perform`, to signal not to rely on return value. ## v1.3.6 (Mar 9, 2022) diff --git a/Gemfile.lock b/Gemfile.lock index ade2c2e7..04fb9f86 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,7 +7,7 @@ GIT PATH remote: . specs: - job-iteration (1.3.6) + job-iteration (1.4.0) activejob (>= 5.2) GEM diff --git a/lib/job-iteration/version.rb b/lib/job-iteration/version.rb index 975e6f76..8c94ff51 100644 --- a/lib/job-iteration/version.rb +++ b/lib/job-iteration/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module JobIteration - VERSION = "1.3.6" + VERSION = "1.4.0" end