CHANGELOG.md in tobox-0.6.1 vs CHANGELOG.md in tobox-0.7.0

- old
+ new

@@ -1,6 +1,36 @@ ## [Unreleased] +## [0.7.0] - 2024-12-18 + +### Features + +#### `:pg_notify` plugin + +The `:pg_notify` plugin is introduced, which leverages the PostgreSQL-only `LISTEN/NOTIFY` statements to asynchronously notify workers when there are new events to be processed (instead of regularly polling the database). + +#### `visibility_column` and `attempts_column` configuration + +The `visibility_column` configuration (default: `:run_at`) can be used not only to point to a differently named column, it can both point to either a timestamp column (used as a visibility timeout for events) or a boolean column (used to hide events from other transactions); using the latter will also disable exponential backoff in retries. + +The `attempts_column` configuration (default: `:attempts`) can be used to point to a differently named column, or, when set to `nil`, uncap retries. + +See when they can be used for in the readme recommendations section. + +### Improvements + +#### fiber pool on async + +Support was removed for the `fiber_scheduler` gem, which is under-maintained, so the fiber worker pool will use an [async](https://github.com/socketry/async) scheduler going forward. Functionality and APIs will be the same, but you'll have to add it to your Gemfile. + +### Bugfixes + +* `datadog` integration: environment variables were wrongly named. + +### Chore + +* `mutex_m` usage was removed. + ## [0.6.1] - 2024-10-30 ### Improvements When possible, use `UPDATE FROM outbox RETURNING WHERE (SELECT id .... FOR UPDATE SKIP LOCKED` to fetch-and-update events in one go.