Skip to content

Commit

Permalink
Release v2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Jan 27, 2021
1 parent 219375b commit 147b588
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
22 changes: 18 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

All notable changes to `Oban` are documented in this file.

## [2.4.1] — 2021-01-27

### Fixed

- [Oban.Migrations] Correctly migrate up between sequential versions. The V10
migration adds check constraints, which can't be re-run safely. An attempted
work-around prevented re-runs, but broke sequential upgrades like 9->10.

- [Oban.Queue.Producer] Kick off an initial dispatch to start processing
available jobs on startup, to compensate for a lack of incoming jobs or
scheduling.

- [Oban.Plugins.Stager] Keep rescheduling staging messages after the initial
run.

## [2.4.0] — 2021-01-26

### Centralized Stager Plugin
Expand All @@ -18,10 +33,6 @@ The stager plugin is automatically injected into Oban instances and there isn't
any additional configuration necessary. However, if you've set a `poll_interval`
for Oban or an individual queue you can safely remove it.

The lack of polling also means there is no need to set `queues: false` in your
test environment. Disabling plugins with `plugins: false` will eliminate all
intermittent activity while testing.

### Overhauled Cron

The CRON parser is entirely rewritten to be simpler and _dramatically_ smaller.
Expand Down Expand Up @@ -98,6 +109,9 @@ end
- [Oban.Repo] Add `delete/3` as a convenient wrapper around
`c:Ecto.Repo.delete/2`.

- [Oban.Job] New check constraints prevent inserting jobs with an invalid
`priority`, negative `max_attempts` or an `attempt` number beyond the maximum.

### Changed

- [Oban.Telemetry] Deprecate and replace `span/3` usage in favor of the official
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ dependencies in `mix.exs`:
```elixir
def deps do
[
{:oban, "~> 2.4"}
{:oban, "~> 2.4.1"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion guides/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies in `mix.exs`:
```elixir
def deps do
[
{:oban, "~> 2.4"}
{:oban, "~> 2.4.1"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Oban.MixProject do
use Mix.Project

@version "2.4.0"
@version "2.4.1"

def project do
[
Expand Down

0 comments on commit 147b588

Please sign in to comment.