From 966ee77974132f151fdba1e4d1b1a006e387af23 Mon Sep 17 00:00:00 2001 From: Parker Selbert Date: Thu, 26 Oct 2023 10:00:57 -0400 Subject: [PATCH] Release v2.16.3 --- CHANGELOG.md | 15 +++++++++++++++ mix.exs | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be8a2d02..a2ac0f08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,21 @@ Now `unique` has a `timestamp` option that allows checking the `:scheduled_at` t use Oban.Worker, unique: [period: 120, timestamp: :scheduled_at] ``` +## v2.16.3 — 2023-10-26 + +### Bug Fixes + +- [Oban] Start `Peer` and `Stager` after `Queue` supervisor + + The queue supervisor blocks shutdown to give jobs time to shut down gracefully. During that + time, the Peer could obtain or retain leadership despite all of the plugins having stopped. Now + the Peer and Stager (which is only active on the leader) stop before the queue supervisor. + +- [Testing] Cast timestamp to utc_datetime in testing queries + + Timestamps with a timezone are now cast to `:utc_datetime` via a changeset before running + `Oban.Testing` queries. + ## v2.16.2 — 2023-10-03 ### Bug Fixes diff --git a/mix.exs b/mix.exs index 2da2204d..2a55c8bd 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.16.2" + @version "2.16.3" def project do [