CHANGELOG.md in job-iteration-1.6.0 vs CHANGELOG.md in job-iteration-1.7.0

- old
+ new

@@ -1,20 +1,31 @@ ### Main (unreleased) Nil +## v1.7.0 (Oct 11, 2024) + +### Features + +- [509](https://github.com/Shopify/job-iteration/pull/509) - Added CSV batching functionality to `EnumeratorBuilder` with `build_csv_enumerator_on_batches` method and `csv_on_batches` alias. +- [512](https://github.com/Shopify/job-iteration/pull/512) - Added support for custom timezones on `ActiveRecordEnumerator` and `ActiveRecordBatchEnumerator`. This allows for using cursors with datetime columns where `ActiveRecord.default_timezone` is set to `:local` and Active Record is not using the same timezone as the database. + ## v1.6.0 (Sep 24, 2024) ### Features - [464](https://github.com/Shopify/job-iteration/pull/464) - Add interruption adapter for [GoodJob](https://github.com/bensheldon/good_job). - [505](https://github.com/Shopify/job-iteration/pull/505) - Add interruption adapter for [Solid Queue](https://github.com/rails/solid_queue). ## v1.5.1 (May 29,2024) + +### Bug fixes + - [483](https://github.com/Shopify/job-iteration/pull/483) - Reverts [#456 Use Arel instead of String for AR Enumerator conditionals](https://github.com/Shopify/job-iteration/pull/456) ## v1.5.0 (May 29, 2024) + ### Changes - [437](https://github.com/Shopify/job-iteration/pull/437) - Use minimum between per-class `job_iteration_max_job_runtime` and `JobIteration.max_job_runtime`, instead of enforcing only setting decreasing values. Because it is possible to change the global or parent values after setting the value on a class, it is not possible to truly enforce the decreasing value constraint. Instead, we now use the minimum between the global value and per-class value. This is considered a non-breaking change, as it should not break any **existing** code, it only removes the constraint on new classes. - [443](https://github.com/Shopify/job-iteration/pull/443) - Use Sidekiq `:quit` callback to detect graceful shutdown. This makes job-iteration compatible with Sidekiq run in embedded mode. @@ -27,10 +38,10 @@ - [431](https://github.com/Shopify/job-iteration/pull/431) - Use `#id_value` instead of `send(:id)` when generating position for cursor based on `:id` column (Rails 7.1 and above, where composite primary models are now supported). This ensures we grab the value of the id column, rather than a potentially composite primary key value. - [456](https://github.com/Shopify/job-iteration/pull/431) - Use Arel to generate SQL that's type compatible for the - cursor pagination conditionals in ActiveRecord cursor. Previously, the cursor would coerce numeric ids to a string value + cursor pagination conditionals in ActiveRecord cursor. Previously, the cursor would coerce numeric ids to a string value (e.g.: `... AND id > '1'`) ## v1.4.1 (Sep 5, 2023) ### Bug fixes