Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump oban from 2.11.0 to 2.14.2 #457

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2023

Bumps oban from 2.11.0 to 2.14.2.

Release notes

Sourced from oban's releases.

v2.14.2

Bug Fixes

  • [Oban] Always disable peering with plugins: false. There's no reason to enable peering when plugins are fully disabled.

  • [Notifier] Notify Global peers when the leader terminates.

    Now the Global leader sends a down message to all connected nodes when the process terminates cleanly. This behaviour prevents up to 30s of downtime without a leader and matches how the Postgres peer operates.

  • [Notifier] Allow compilation in a SQLite application when the postgrex package isn't available.

  • [Engine] Include jobs in fetch_jobs event metadata

Changes

  • [Notifier] Pass pid in instead of relying on from for Postgres notifications.

    This prepares Oban for the upcoming Postgrex.SimpleConnection switch to use gen_statem.

v2.14.1

Bug Fixes

  • [Repo] Prevent logging SQL queries by correctly handling default opts

    The query dispatch call included opts in the args list, rather than separately. That passed options to Repo.query correctly, but it missed any default options such as log: false, which made for noisy development logs.

v2.14.0

Time marches on, and we minimally support Elixir 1.12+, PostgreSQL 12+, and SQLite 3.37.0+

🪶 SQLite3 Support with the Lite Engine

Increasingly, developers are choosing SQLite for small to medium-sized projects, not just in the embedded space where it's had utility for many years. Many of Oban's features, such as isolated queues, scheduling, cron, unique jobs, and observability, are valuable in smaller or embedded environments. That's why we've added a new SQLite3 storage engine to bring Oban to smaller, stand-alone, or embedded environments where PostgreSQL isn't ideal (or possible).

There's frighteningly little configuration needed to run with SQLite3. Migrations, queues, and plugins all "Just Work™".

To get started, add the ecto_sqlite3 package to your deps and configure Oban to use the Oban.Engines.Lite engine:

config :my_app, Oban,
  engine: Oban.Engines.Lite,
  queues: [default: 10],
  repo: MyApp.Repo

... (truncated)

Changelog

Sourced from oban's changelog.

v2.14.2 — 2023-02-17

Bug Fixes

  • [Oban] Always disable peering with plugins: false. There's no reason to enable peering when plugins are fully disabled.

  • [Notifier] Notify Global peers when the leader terminates.

    Now the Global leader sends a down message to all connected nodes when the process terminates cleanly. This behaviour prevents up to 30s of downtime without a leader and matches how the Postgres peer operates.

  • [Notifier] Allow compiliation in a SQLite application when the postgrex package isn't available.

  • [Engine] Include jobs in fetch_jobs event metadata

Changes

  • [Notifier] Pass pid in instead of relying on from for Postgres notifications.

    This prepares Oban for the upcoming Postgrex.SimpleConnection switch to use gen_statem.

v2.14.1 — 2023-01-26

Bug Fixes

  • [Repo] Prevent logging SQL queries by correctly handling default opts

    The query dispatch call included opts in the args list, rather than separately. That passed options to Repo.query correctly, but it missed any default options such as log: false, which made for noisy development logs.

v2.14.0 — 2023-01-25

Enhancements

  • [Oban] Store a {:cancel, :shutdown} error and emit [:oban, :job, :stop] telemetry when jobs are manually cancelled with cancel_job/1 or cancel_all_jobs/1.

  • [Oban] Include "did you mean" suggestions for Oban.start_link/1 and all nested plugins when a similar option is available.

    Oban.start_link(rep: MyApp.Repo, queues: [default: 10])
    ** (ArgumentError) unknown option :rep, did you mean :repo?
        (oban 2.14.0-dev) lib/oban/validation.ex:46: Oban.Validation.validate!/2
        (oban 2.14.0-dev) lib/oban/config.ex:88: Oban.Config.new/1
    

... (truncated)

Commits
  • fe16357 Release v2.14.2
  • 8a65b00 Notify global peers when the leader terminates
  • bc43ce5 Hide Oban.child_spec/1 from documentation
  • e9a75af Conditionally compile postgres notifier
  • 98ca757 Pass pid in instead of relying on from (#843)
  • f9c90a9 Always disable peering when plugins are false
  • d073831 Include jobs in fetch_jobs event metadata (#839)
  • 7417be9 Add note about Lite being an available engine (#838)
  • a60ad4c Fix insert_all_job typo in telemetry doc (#833)
  • 142d170 Release v2.14.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [oban](https://github.com/sorentwo/oban) from 2.11.0 to 2.14.2.
- [Release notes](https://github.com/sorentwo/oban/releases)
- [Changelog](https://github.com/sorentwo/oban/blob/main/CHANGELOG.md)
- [Commits](oban-bg/oban@v2.11.0...v2.14.2)

---
updated-dependencies:
- dependency-name: oban
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants