oban v0.11.0 Release Notes

Release Date: 2019-11-06 // over 4 years ago
  • Migration Optional (V6)

    ๐Ÿ‘ท Job id's greater than 2,147,483,647 (PG int limit) can't be inserted into the โš™ running array on oban_beats. The array that Ecto defines uses int instead of bigint, which can't store the larger integers. This migration changes the column type to bigint[], a locking operation that may take a few seconds.

    โž• Added

    • ๐Ÿ‘ท [Oban] Added crontab support for automatically enqueuing jobs on a fixed schedule. A combination of transactional locks and unique jobs prevents scheduling duplicate jobs.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ท [Oban.Migrations] Add a comment when migrating oban_jobs to V5 and when rolling back down to V4.

    • ๐Ÿ”ง [Oban.Query] Apply the configured log level to unique queries.

    • [Oban.Notifier] Prevent open connections from accumulating when the circuit is tripped during the connection phase. This change may leave notifications in a state where they aren't listening to all channels.

    ๐Ÿ”„ Changed

    • โšก๏ธ [Oban.Notifier] Replay oban_update notifications to subscribed processes.