Skip to content

Commit

Permalink
Release v2.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed May 11, 2023
1 parent 8eb5437 commit 2bb6ca7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,27 @@ other databases. There's even an [open issue for MySQL support][mysql]...

[mysql]: https://github.com/sorentwo/oban/issues/836

## v2.15.1 — 2023-05-11

### Enhancements

- [Telemetry] Add `[:oban, :stager, :switch]` telemetry event and use it for logging changes.

Aside from an instrumentable event, the new logs are structured for consistent parsing on
external aggregators.

- [Job] Remove default priority from job schema to allow changing defaults through the database

### Bug Fixes

- [Basic] Restore `attempt < max_attempts` condition when fetching jobs

In some situations, a condition to ensure the attempts don't exceed max attempts is still
necessary. By checking the attempts _outside_ the CTE we maintain optimal query performance for
the large scan that finds jobs, and only apply the check in the small outer query.

- [Pruner] Add missing `:interval` to `t:Oban.Plugins.Pruner.option/0`

## v2.15.0 — 2023-04-13

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Oban.MixProject do
use Mix.Project

@source_url "https://github.com/sorentwo/oban"
@version "2.15.0"
@version "2.15.1"

def project do
[
Expand Down

0 comments on commit 2bb6ca7

Please sign in to comment.