Skip to content

Commit 63b0751

Browse files
committed
Release v2.17.9
1 parent d173011 commit 63b0751

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,34 @@ args
7474
|> Oban.insert()
7575
```
7676

77+
## v2.17.9 — 2024-04-20
78+
79+
### Enhancements
80+
81+
- [Testing] Check process ancestry tree for `with_testing_mode` override.
82+
83+
Cascade the `with_testing_mode` block to nested processes that make use of `:$ancestry` in the
84+
process dictionary, i.e. tasks. Now enqueuing a job within spawned processes like `Task.async`
85+
or `Task.async_stream` will honor the testing mode specified in `with_testing_mode/2`.
86+
87+
- [PG] Support alternative namespacing in `PG` notifier
88+
89+
By default, all Oban instances using the same `prefix` option would receive notifications from
90+
each other. Now you can use the `namespace` option to separate instances that are in the same
91+
cluster _without_ changing the `prefix`.
92+
93+
### Bug Fixes
94+
95+
- [Oban] Restore zero arity version of `pause_all_queues/0`
96+
97+
Both pause and resume variants lost their default argument in a refactor that shifted around
98+
guard clauses.
99+
100+
- [Oban] Add `:oban_draining` to process dict while draining
101+
102+
The flag marks the test process while draining to give hints to the executor and engines. It
103+
fixes an incompatibility between `Oban.drain_queue/2` and Pro's `Testing.drain_jobs/2`.
104+
77105
## v2.17.8 — 2024-04-07
78106

79107
### Enhancements

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule Oban.MixProject do
22
use Mix.Project
33

44
@source_url "https://github.com/sorentwo/oban"
5-
@version "2.17.8"
5+
@version "2.17.9"
66

77
def project do
88
[

0 commit comments

Comments
 (0)