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.15.4 to 2.16.3 #138

Closed
wants to merge 1 commit into from
Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2023

Bumps oban from 2.15.4 to 2.16.3.

Release notes

Sourced from oban's releases.

v2.16.3

Bug Fixes

  • [Oban] Start Peer and Stager after Queue supervisor

    The queue supervisor blocks shutdown to give jobs time to finish gracefully. During that time, the Peer could obtain or retain leadership despite all the plugins having stopped. Now, the Peer and Stager (only active on the leader) stop before the queue supervisor.

  • [Testing] Cast timestamp to utc_datetime in testing queries

    Timestamps with a timezone are now cast to :utc_datetime via a changeset before running Oban.Testing queries.

v2.16.2

Bug Fixes

  • [Testing] Match args/meta patterns in Elixir rather than the database

    The containment operators, @> and <@, used for pattern matching in tests are only available in Postgres and have some quirks. Most notably, containment considers matching any value in a list a successful match, which isn't intuitive or desirable.

    The other issue with using a containment operator in tests is that SQLite doesn't have those operators available and test helpers are shared between all engines.

Enhancements

  • [Testing] Support wildcard matcher in patterns for args/meta

    Now that we match in Elixir, it's simple to support wildcard matching with a :_ to assert that a key is present in a json field without specifying an exact value.

    assert_enqueued args: %{batch_id: :_, callback: true}

v2.16.1

Bug Fixes

  • [Testing] Restore splitting out all config options in helpers.

    Splitting all configuration keys is necessary when using perform_job/3 with non-job options such as :engine.

v2.16.0

🐑 Oban Instance Module

New facade modules allow you to call Oban functions on instances with custom names, e.g. not Oban, without passing a t:Oban.name/0 as the first argument.

For example, rather than calling Oban.config/1, you'd call MyOban.config/0:

MyOban.config()

It also makes piping into Oban functions far more convenient:

... (truncated)

Changelog

Sourced from oban's changelog.

v2.16.3 — 2023-10-26

Bug Fixes

  • [Oban] Start Peer and Stager after Queue supervisor

    The queue supervisor blocks shutdown to give jobs time to shut down gracefully. During that time, the Peer could obtain or retain leadership despite all of the plugins having stopped. Now the Peer and Stager (which is only active on the leader) stop before the queue supervisor.

  • [Testing] Cast timestamp to utc_datetime in testing queries

    Timestamps with a timezone are now cast to :utc_datetime via a changeset before running Oban.Testing queries.

v2.16.2 — 2023-10-03

Bug Fixes

  • [Testing] Match args/meta patterns in Elixir rather than the database

    The containment operators, @> and <@, used for pattern matching in tests are only available in Postgres and have some quirks. Most notably, containment considers matching any value in a list a successful match, which isn't intuitive or desirable.

    The other issue with using a containment operator in tests is that SQLite doesn't have those operators available and test helpers are shared between all engines.

Enhancements

  • [Testing] Support wildcard matcher in patterns for args/meta

    Now that we match in Elixir, it's simple to support wildcard matching with a :_ to assert that a key is present in a json field without specifying an exact value.

    assert_enqueued args: %{batch_id: :_, callback: true}

v2.16.1 — 2023-09-25

Bug Fixes

  • [Testing] Restore splitting out all config options in helpers.

    Splitting all configuration keys is necessary when using perform_job/3 with non-job options such as :engine.

v2.16.0 — 2023-09-22

... (truncated)

Commits
  • 966ee77 Release v2.16.3
  • 7dd22eb Start Peer and Stager after queue supervisor
  • e1a60fd Cast timestamp to utc_datetime in testing queries
  • 943b22b Allow wider delta for shutdown grace period test
  • d35b5d4 Stop stager telemetry test from flaking
  • 6c4cba9 Typo fix in Backoff.exponential/2 documentation (#964)
  • b3b2bdd Release v2.16.2
  • 2bcd1f8 Support wildcard args/meta matcher
  • de73c80 Prevent race condition in stager telemetry test
  • 32e1839 Match args/meta patterns in Elixir rather than PG
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [oban](https://github.com/sorentwo/oban) from 2.15.4 to 2.16.3.
- [Release notes](https://github.com/sorentwo/oban/releases)
- [Changelog](https://github.com/sorentwo/oban/blob/main/CHANGELOG.md)
- [Commits](oban-bg/oban@v2.15.4...v2.16.3)

---
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 the dependencies Pull requests that update a dependency file label Oct 27, 2023
@dependabot dependabot bot requested a review from aef- October 27, 2023 04:23
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 11, 2023

Superseded by #147.

@dependabot dependabot bot closed this Dec 11, 2023
@dependabot dependabot bot deleted the dependabot/hex/oban-2.16.3 branch December 11, 2023 04:07
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants