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

chore(deps): bump the production-dependencies group across 1 directory with 2 updates #111

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 23, 2025

Bumps the production-dependencies group with 2 updates in the / directory: ash and oban.

Updates ash from 3.4.50 to 3.4.56

Changelog

Sourced from ash's changelog.

3.4.56 (2025-01-21)

Bug Fixes:

  • [Ash] don't use JSON due to library compatibility issues

  • [Ash.Changeset] matching in managed_relationships handle_update (#1719)

  • [Ash.Query.Calculation] properly load doubly nested calculation's explicit dependencies

  • [Ash.Query.Calculation] handle related non-expr calculations referenced from expr calcs

  • [Ash.Query.Calculation] simplify and fix path generation for nested relationship path deps

  • [Ash] don't require multitenancy attribute in get (#1716)

Improvements:

  • [Ash.Changeset] make atomics work even if expr err is not supported (#1718)

  • [Ash.Query] support error shorthand for Ash.Query.add_error/2-3

  • [Ash.Generator] add uses option for changeset_generator

  • [Ash.Generator] add uses option for seed_generator

  • [Ash.Changeset] Use clearer error message for match validation atomic errors (#1721)

  • [Ash.Type] Add autogenerate_enabled? to Ash.Type for Ecto compatability (#1715)

  • [Ash.Policy.Authorizer] warn when domain policies would be ignored by resources

  • [Ash.Domain] allow policy authorizer to be in authorizers key in domains

v3.4.55 (2025-01-13)

Bug Fixes:

  • [code interfaces] ensure can_* code interfaces pass arguments to actions

  • [Ash] case clause error in Ash.can?

  • [Ash] reset ash_started_transaction? on bulk create

... (truncated)

Commits
  • 31ef368 chore: release version 3.4.56
  • 016d248 improvement: support error shorthand for Ash.Query.add_error/2-3
  • cab79bd chore(deps): bump igniter in the production-dependencies group (#1723)
  • 035d010 improvement: add uses option for changeset_generator
  • 093eb29 chore: update mix.lock
  • 5673e8f docs: make individual DSL options searchable
  • ca0b9a4 docs: Clarify the behaviour of Ash.read_first and read_first! by adding t...
  • c78d94d docs: document start_of_day/1-2
  • cee6d80 improvement: Use clearer error message for match validation atomic errors (#1...
  • d166299 fix: properly load doubly nested calculation's explicit dependencies
  • Additional commits viewable in compare view

Updates oban from 2.18.3 to 2.19.0

Release notes

Sourced from oban's releases.

v2.19

The minimum Elixir version is now v1.15. The official policy is to only support the three latest versions of Elixir.

🐬 MySQL Support

Oban officially supports MySQL with the new Dolphin engine. Oban supports modern (read "with full JSON support") MySQL versions from 8.4 on, and has been tested on the highly scalable Plantescale database.

Running on MySQL is as simple as specifying the Dolphin engine in your configuration:

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

With this addition, Oban can run in estimated 10% more Elixir applications!

⚗️ Automated Installer

Installing Oban into a new application is simplified with a new igniter powered mix task. The new oban.install task handles installing and configuring a standard Oban installation, and it will deduce the correct engine and notifier automatically based on the database adapter.

mix igniter.install oban

This oban.install task is currently the recommended way to install Oban. As a bonus, the task composes together with other igniter installers, making it possible to install phoenix, ash, oban, and other packages with a single command:

mix igniter.install phoenix ash_phoenix ash_postgres ash_oban

Look at the Mix.Oban.Install docs for full usage and options.

📔 Logging Enhancements

Logging in a busy system may be noisy due to job events, but there are other events that are particularly useful for diagnosing issues. A new events option for attach_default_logger/1 allows selective event logging, so it's possible to receive important notices such as notifier connectivity issues, without logging all job activity:

Oban.Telemetry.attach_default_logger(events: ~w(notifier peer stager)a)

... (truncated)

Changelog

Sourced from oban's changelog.

v2.19.0 — 2025-01-16

Enhancements

  • [Oban] Start all queues in parallel on initialization.

    The midwife now starts queues using an async stream to parallelize startup and minimize boot time for applications with many queues. Previously,

  • [Oban] Safely return nil from check_queue/2 when checking queues that aren't running.

    Checking on a queue that wasn't currently running on the local node now returns nil rather than causing a crash. This makes it safer to check the whether a queue is running at all without a try/catch clause.

  • [Oban] Add check_all_queues/1 to gather all queue status in a single function.

    This new helper gathers the "check" details from all running queues on the local node. While it was previously possible to pull the queues list from config and call check_queue/2 on each entry, this more accurately pulls from the registry and checks each producer concurrently.

  • [Oban] Add delete_job/2 and delete_all_jobs/2 operations.

    This adds Oban.delete_job/2, Oban.delete_all_jobs/2, Engine callbacks, and associated operations for all native engines. Deleting jobs is now easier and safer, due to automatic state protections.

  • [Engine] Record when a queue starts shutting down

    Queue producer metadata now includes a shutdown_started_at field to indicate that a queue isn't just paused, but is actually shutting down as well.

  • [Engine] Add rescue_jobs/3 callback for all engines.

    The Lifeline plugin formerly used two queries to rescue jobs—one to mark jobs with remaining attempts as available and another that discarded the remaining stuck jobs. Those are now combined into a single callback, with the base definition in the Basic engine.

    MySQL won't accept a select in an update statement. The Dolphin implementation of rescue_jobs/3 uses multiple queries to return the relevant telemetry data and make multiple updates.

  • [Cron] Introduce Oban.Cron with schedule_interval/4

    The new Cron module allows processes, namely plugins, to get cron-like scheduled functionality with a single function call. This will allow plugins to removes boilerplate around parsing, scheduling, and evaluating for cron behavior.

  • [Registry] Add select/1 to simplify querying for registered modules.

... (truncated)

Commits
  • 8be2909 Release v2.19.0
  • 01a29a7 Include node name in peer telemetry logging
  • c36c7fe Remove SKIP LOCKED from dolphin cancel_all_jobs
  • fb22494 Simplify and enhance dolphin engine insert_all
  • acf9cce Support ash repos in oban.install igniter task
  • 31b3c23 Fix broken configuring queues link(#1219)
  • 8a44b33 Bump the production-dependencies group with 2 updates (#1217)
  • 81f598a Include :mix in plt apps for dialyzer
  • d3e4308 Update scaling.md (#1216)
  • 6fbec09 Remove sponsor link and clean contributing
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 23, 2025
@zachdaniel
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/hex/production-dependencies-b9646ea4f1 branch from 30a4aed to 9f594bc Compare January 23, 2025 01:46
…y with 2 updates

Bumps the production-dependencies group with 2 updates in the / directory: [ash](https://github.com/ash-project/ash) and [oban](https://github.com/oban-bg/oban).


Updates `ash` from 3.4.50 to 3.4.56
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](ash-project/ash@v3.4.50...3.4.56)

Updates `oban` from 2.18.3 to 2.19.0
- [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.18.3...v2.19.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/hex/production-dependencies-b9646ea4f1 branch from 9f594bc to 3bba391 Compare January 23, 2025 03:44
@zachdaniel zachdaniel merged commit ee7d033 into main Jan 23, 2025
18 of 19 checks passed
@dependabot dependabot bot deleted the dependabot/hex/production-dependencies-b9646ea4f1 branch January 23, 2025 05:00
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.

1 participant