Skip to content

Commit 141f403

Browse files
committed
Release v2.18.1
1 parent d5eb591 commit 141f403

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,33 @@ 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.1 — 2024-08-15
65+
66+
### Enhancements
67+
68+
- [Repo] Automatically retry all transactions with backoff.
69+
70+
Avoid both expected an unexpected database errors by automatically retrying transactions. Some
71+
operations, such as serialization and lock not available errors, are likely to occur during
72+
standard use depending on how a database is configured. Other errors happen infrequently due to
73+
pool contention or flickering connections, and those should also be retried for increased
74+
safety.
75+
76+
This change is applied to `Oban.Repo.transaction/3` itself, so it will apply to _every_ location
77+
that uses transactions.
78+
79+
- [Migration] Declare `tags` as an array of `text` rather than `varchar`.
80+
81+
We don't provide a limit on the size of tags and they could conceivably be larger than 256
82+
characters. Externally the types are interchangeable, but internally there are minor advantages
83+
to using the text type.
84+
85+
There isn't a new migration; this change is only for new tables.
86+
87+
### Bug Fixes
88+
89+
- [Repo] Correctly dispatch `query!/4` to `query!` rather than `query` without a bang.
90+
6491
## v2.18.0 — 2024-07-26
6592

6693
### 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.18.0"
5+
@version "2.18.1"
66

77
def project do
88
[

0 commit comments

Comments
 (0)