From 65d75e0b94c5ca99538cb4a1bc45df2d88e638f0 Mon Sep 17 00:00:00 2001 From: Parker Selbert Date: Fri, 16 Aug 2024 10:21:59 -0500 Subject: [PATCH] Release v2.18.2 --- CHANGELOG.md | 14 ++++++++++++++ mix.exs | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7f6a6bd..a48f73d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,20 @@ In addition, thanks to the addition of `Process.set_label` in recent Elixir vers name is set as the job's process label. That makes it possible to identify which job is running in a `pid` via observer or live dashboard. +## v2.18.2 — 2024-08-16 + +- [Repo] Prevent debug noise by ensuring default opts for standard transactions. + + Without default opts each transaction is logged. Many standard operations execute each second, + which makes for noisy logs. Now transaction opts are passed as a third argument to ensure + defaults are applied. + +- [Repo] Increase transaction retry delay and increase with each attempt. + + Bump the base transaction retry from 100ms to 500ms, and increase linearly between each + successive attempt to provide deeper backoff. This alleviates pressure on smaller connection + pools and gives more time to recover from contentions failures. + ## v2.18.1 — 2024-08-15 ### Enhancements diff --git a/mix.exs b/mix.exs index 32e8755a..9eb4a86c 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule Oban.MixProject do use Mix.Project @source_url "https://github.com/sorentwo/oban" - @version "2.18.1" + @version "2.18.2" def project do [