Magickbase / godwoken_explorer

Godwoken Explorer
https://v1.gwscan.com
18 stars 8 forks source link

build(deps): bump oban from 2.15.2 to 2.16.2 #1550

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps oban from 2.15.2 to 2.16.2.

Release notes

Sourced from oban's releases.

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:

%{some: :args}
|> MyWorker.new()
|> MyOban.insert()

šŸ§© Partial Matches in Testing Assertions

It's now possible to match a subset of fields on args or meta with all_enqueued, assert_enqueued, and refute_enqueued. For example, the following assertion will now pass:

</tr></table> 

... (truncated)

Changelog

Sourced from oban's changelog.

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

Bug Fixes

  • [Reindexer] Correct relname match for reindexer plugin

    We can safely assume all indexes start with oban_jobs. The previous pattern was based on an outdated index format from older migrations.

  • [Testing] Support repo, prefix, and log query options in use Oban.Testing

For changes prior to v2.16 see the v2.15 docs.

Commits
  • 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
  • 175f3a1 Document different approach in snooze attempts
  • 4904a8b Correct changelog headline for v2.16
  • 43e6cc2 Document the effect of pg_notify on inserts
  • ba57629 Release v2.16.1
  • 911c830 Add release alias to aid in publishing versions
  • 89d12d3 Restore splitting out all config keys in testing
  • 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 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)
coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 7a7ea3e313df6f6244d237110843dd9c247ed9f9


Files with Coverage Reduction New Missed Lines %
lib/godwoken_explorer/address.ex 1 66.67%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build f74acec79da920c74dab90d54dfb242b135a6096: -0.02%
Covered Lines: 3298
Relevant Lines: 6007

šŸ’› - Coveralls