oban v0.9.0 Release Notes
Release Date: 2019-09-20 // over 4 years ago-
โ Added
[Oban] Add
insert_all/2
andinsert_all/4
, corresponding toc:Ecto.Repo.insert_all/3
andEcto.Multi.insert_all/5
, respectively.๐ท [Oban.Job] Add
to_map/1
for converting a changeset into a map suitable for database insertion. This is used byOban.insert_all/2,4
internally and is exposed for convenience.
๐ Changed
๐ [Oban.Config] Remove the default queue value of
[default: 10]
, which was overriden byOban.start_link/1
anyhow.๐ฒ [Oban.Telemetry] Allow the log level to be customized when attaching the default logger. The default level is
:info
, the same as it was before.
๐ Fixed
[Oban.Migrations] Prevent invalid
up
anddown
targets when attempting to run migrations that have already been ran. This was primarily an issue in CI, where the initial migration was unscoped and would migrate to the current version while a subsequent migration would attempt to migrate to a lower version.0๏ธโฃ [Oban.Job] Prevent a queue comparison with
nil
by retaining the default queue (default
) when building uniqueness checks.โฑ [Oban.Job] Set state to
scheduled
for jobs created with ascheduled_at
timestamp. Previously the state was only set whenschedule_in
was used.