Skip to content

Bump oban from 2.20.2 to 2.20.3 - #570

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/hex/oban-2.20.3
Closed

Bump oban from 2.20.2 to 2.20.3#570
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/hex/oban-2.20.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 26, 2026

Copy link
Copy Markdown
Contributor

Bumps oban from 2.20.2 to 2.20.3.

Release notes

Sourced from oban's releases.

v2.20.3

Enhancements

  • [Worker] Allow snoozing jobs by returning a tuple period

    It's now possible to snooze jobs with a period such as {1, :minute} instead of just a raw number of seconds.

  • [Oban] Validate no duplicate options are passed to config on init

    Because options are provided as a keyword list, duplicate options were accepted while only one was actually used.

Bug Fixes

  • [Oban] Fix starting a queue on a specific node

    The :node option was incorrectly preserved when starting a queue, which would crash it. Now the :node is dropped after scoping the start signal.

  • [Reindexer] Fix dropping invalid indexes from the reindexer

    The reindexer would fail sliently with "DROP INDEX CONCURRENTLY" cannot be executed from a function message because the deindex operation used a DO block to loop through and drop invalid indexes, but PostgreSQL prohibits CONCURRENTLY operations inside functions or DO blocks. Now invalid indexes are fetched first, then dropped as individual queries.

  • [Installer] Prevent installer crash with unsupported adapters

    The installer would crash with a CaseClauseError when a project had an Ecto repo using an unsupported adapter like Ecto.Adapters.Tds.

    Now the installer filters repos to find one with a supported adapter, skipping unsupported ones automatically. Without a compatible repo, it displays an error message listing the found repos and their adapters, along with guidance on how to specify a repo explicitly.

  • [Pruner] Better sqlite timestamp default and pruning query

    The CURRENT_TIMESTAMP type lacks a trailing z, which causes it to be compared incorrectly against UTC datetimes. Any jobs inserted without a scheduled_at, where the default is used, could be returned in queries that compare against a DateTime.

    This prevents the issue in the future two ways:

    1. Switch the default inserted_at/scheduled_at timestamp to a format that can be queried properly.
    2. Change the pruning check to use completed_at rather than scheduled_at for existing databases. This is a more accurate query that was avoided before because it didn't match the Basic engine.
Changelog

Sourced from oban's changelog.

v2.20.3 — 2025-01-22

Enhancements

  • [Worker] Allow snoozing jobs by returning a tuple period

    It's now possible to snooze jobs with a period such as {1, :minute} instead of just a raw number of seconds.

  • [Oban] Validate no duplicate options are passed to config on init

    Because options are provided as a keyword list, duplicate options were accepted while only one was actually used.

Bug Fixes

  • [Oban] Fix starting a queue on a specific node

    The :node option was incorrectly preserved when starting a queue, which would crash it. Now the :node is dropped after scoping the start signal.

  • [Reindexer] Fix dropping invalid indexes from the reindexer

    The reindexer would fail sliently with "DROP INDEX CONCURRENTLY" cannot be executed from a function message because the deindex operation used a DO block to loop through and drop invalid indexes, but PostgreSQL prohibits CONCURRENTLY operations inside functions or DO blocks. Now invalid indexes are fetched first, then dropped as individual queries.

  • [Installer] Prevent installer crash with unsupported adapters

    The installer would crash with a CaseClauseError when a project had an Ecto repo using an unsupported adapter like Ecto.Adapters.Tds.

    Now the installer filters repos to find one with a supported adapter, skipping unsupported ones automatically. Without a compatible repo, it displays an error message listing the found repos and their adapters, along with guidance on how to specify a repo explicitly.

  • [Pruner] Better sqlite timestamp default and pruning query

    The CURRENT_TIMESTAMP type lacks a trailing z, which causes it to be compared incorrectly against UTC datetimes. Any jobs inserted without a scheduled_at, where the default is used, could be returned in queries that compare against a DateTime.

    This prevents the issue in the future two ways:

    1. Switch the default inserted_at/scheduled_at timestamp to a format that can be queried properly.
    2. Change the pruning check to use completed_at rather than scheduled_at for existing databases. This is a more accurate query that was avoided before because it didn't match the Basic engine.
Commits
  • 584e86a Release v2.20.3
  • 3494d8e Use more efficient map_join for unsupported list
  • 385f68f Prevent installer crash with unsupported adapters
  • f9520e2 Fix dropping invalid indexes from the reindexer
  • c665268 Allow snoozing jobs by returning a tuple period (#1400)
  • e9f242f Bump the production-dependencies group with 2 updates (#1401)
  • 68ec0a6 Clean up oban pro section to include descriptions
  • 7554bd9 Bump the development-dependencies group with 2 updates (#1397)
  • 8e606c2 Bump ecto_sql from 3.13.2 to 3.13.3 in the production-dependencies group (#1393)
  • ce65712 Better sqlite timestamp default and pruning query
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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/oban-bg/oban) from 2.20.2 to 2.20.3.
- [Release notes](https://github.com/oban-bg/oban/releases)
- [Changelog](https://github.com/oban-bg/oban/blob/main/CHANGELOG.md)
- [Commits](oban-bg/oban@v2.20.2...v2.20.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code labels Jan 26, 2026
@quinnmccourt quinnmccourt mentioned this pull request Mar 1, 2026
5 tasks
@dependabot @github

dependabot Bot commented on behalf of github Mar 26, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #582.

@dependabot dependabot Bot closed this Mar 26, 2026
@dependabot
dependabot Bot deleted the dependabot/hex/oban-2.20.3 branch March 26, 2026 11:04
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