oban v0.9.0 Release Notes

Release Date: 2019-09-20 // over 4 years ago
  • โž• Added

    • [Oban] Add insert_all/2 and insert_all/4, corresponding to c:Ecto.Repo.insert_all/3 and Ecto.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 by Oban.insert_all/2,4 internally and is exposed for convenience.

    ๐Ÿ”„ Changed

    • ๐Ÿšš [Oban.Config] Remove the default queue value of [default: 10], which was overriden by Oban.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 and down 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 a scheduled_at timestamp. Previously the state was only set when schedule_in was used.