File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 74
74
|> Oban .insert ()
75
75
```
76
76
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
+
77
105
## v2.17.8 — 2024-04-07
78
106
79
107
### Enhancements
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ defmodule Oban.MixProject do
2
2
use Mix.Project
3
3
4
4
@ source_url "https://github.com/sorentwo/oban"
5
- @ version "2.17.8 "
5
+ @ version "2.17.9 "
6
6
7
7
def project do
8
8
[
You can’t perform that action at this time.
0 commit comments