Skip to content

Commit 696df17

Browse files
committed
Release v2.18.3
1 parent 703b3ed commit 696df17

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,35 @@ In addition, thanks to the addition of `Process.set_label` in recent Elixir vers
6161
name is set as the job's process label. That makes it possible to identify which job is running in
6262
a `pid` via observer or live dashboard.
6363

64+
## v2.18.3 — 2024-09-10
65+
66+
### Enhancements
67+
68+
- [Basic] Use the shared concat operator when appending errors.
69+
70+
The standard `push` operation for updates is designed for arrays and uses `array_append`
71+
internally. This replaces all use of `push` with a fragment that uses the `||` operator instead,
72+
which works for both arrays and jsonb.
73+
74+
CockroachDB doesn't support arrays of jsonb, but they do support simple jsonb columns. Now
75+
we can append to the errors column in either format for CRDB compatibility.
76+
77+
### Bug Fixes
78+
79+
- [Queue] Link the dynamic queue supervisor and `Midwife` for automatic restarts.
80+
81+
When a producer crashes it brings the queue's supervisor down with it. With enough database
82+
errors, the producer may crash repeatedly enough to exhaust restarts and bring down the
83+
DynamicSupervisor in charge of all queues.
84+
85+
Now the supervisor is linked to the midwife to ensure that the midwife restarts as well, and it
86+
restarts all of the queues.
87+
88+
- [Testing] Handle `insert_all/3` with streams for the `:inline` testing engine.
89+
90+
The inline engine's `insert_all_jobs` callback incorrectly expected changesets to always be a
91+
list rather and couldn't handle streams.
92+
6493
## v2.18.2 — 2024-08-16
6594

6695
### Bug Fixes

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.18.2"
5+
@version "2.18.3"
66

77
def project do
88
[

0 commit comments

Comments
 (0)