CHANGELOG.md in job-iteration-1.3.6 vs CHANGELOG.md in job-iteration-1.4.0

- old
+ new

@@ -1,5 +1,27 @@ -### Master (unreleased) +### Main (unreleased) + +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` +- [310](https://github.com/Shopify/job-iteration/pull/310) - Support nested iteration +- [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. ## v1.3.6 (Mar 9, 2022) - [190](https://github.com/Shopify/job-iteration/pull/190) - Fix updating `times_interrupted` and `total_time` when job is throttled