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 with 8 updates #237

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2024

Bumps the production-dependencies group with 8 updates:

Package From To
ash 3.2.6 3.3.2
ash_json_api 1.3.8 1.4.1
ash_phoenix 2.0.4 2.1.1
ash_postgres 2.1.15 2.1.17
flame 0.2.0 0.3.0
jason 1.4.3 1.4.4
oban 2.17.12 2.18.0
open_api_spex 3.20.0 3.20.1

Updates ash from 3.2.6 to 3.3.2

Changelog

Sourced from ash's changelog.

v3.3.2 (2024-08-01)

Bug Fixes:

  • [Ash.Igniter] properly parse multiple occurrences of :keep arguments

  • [calculations] properly key nested calculations and add additional tests

  • [calculations] pass relationship path down when merging query loads

  • [mix ash.codegen] don't set --name nil when calling codegen tasks

  • [Ash.Filter] fix behavior of synthesized joins across data layers

Improvements:

  • [mix ash.gen.resource] add --timestamps argument to add timestamps to the resource

v3.3.1 (2024-07-30)

Bug Fixes:

  • [mix ash.gen.domain] properly parse domain module in mix ash.gen.domain

  • [Ash.Resource.Change, Ash.Resource.Validation] properly handle mixed atomic & non-atomic validations/changes

  • [Ash.Filter] properly find data layer predicates when name is provided as a string

  • [relationships] set accessing_from and join read action for many_to_many relationships correctly (#1355)

Improvements:

  • [Ash.Resource.Change] implement change/3 automatically if batch callbacks are defined

v3.3.0 (2024-07-27)

Features:

  • [Ash.Type.File] Add Ash.Type.File (#1337)

Bug Fixes:

  • [bulk actions] ensure that statuses are set correctly on bulk actions

  • [bulk actions] properly transfer process context(tracers) for bulk actions

  • [embedded resources] properly display identity/primary key mismatch error on lists of embeds

  • [Ash.Type.NewType] apply constraints to NewType even when casting an array (#1341)

... (truncated)

Commits
  • 89200d5 chore: release version v3.3.2
  • ea7abca remove IO.inspect
  • 266958d improvement: add --timestamps argument to ash.gen.resource
  • db54a65 fix: properly key nested calculations and add additional tests
  • 2843f8d fix: pass relationship path down when merging query loads
  • 8f865c1 fix: don't set --name nil when calling codegen tasks
  • 77d12dc docs: Add section regarding strict-loading for manual relationships. (#1359)
  • 8a368c0 fix: fix behavior of synthesized joins across data layers
  • 26f4a15 chore: use .has_validate? on conditions, not has_batch_change?
  • f521069 chore: update changelog
  • Additional commits viewable in compare view

Updates ash_json_api from 1.3.8 to 1.4.1

Changelog

Sourced from ash_json_api's changelog.

v1.4.1 (2024-07-30)

Improvements:

  • properly install domain with Module.concat in AshJsonApi router

  • include multipart parser in installer

v1.4.0 (2024-07-30)

Features:

  • [Ash.Type.File] Ash.Type.File support (#214)

See AshJsonApi.Plug.Parser for usage information.

Bug Fixes:

  • [attributes] reject allow_nil_input fields in required_write_attributes (#219)

  • [Open API] properly document query_params from generic routes in open api spec

  • [Open API] only include referenced resource types in definitions

  • [Open API] properly spec (and test the spec) for actions that return resources

Commits
  • f4a4f30 chore: release version v1.4.1
  • 66249be improvement: properly install domain with Module.concat in AshJsonApi router
  • b729210 chore: update igniter dependency
  • 104b8c1 improvement: include multipart parser in installer
  • 49da26c chore: release version v1.4.0
  • 9ccef6b chore: handle allow_nil_input in open api schema as well
  • 05d909b fix: reject allow_nil_input fields in required_write_attributes (#219)
  • 7633fce docs: Update documentation with what Igniter generates (#216)
  • beaa320 feat: Ash.Type.File support (#214)
  • a5c3fef Docs: Use correct command in moduledoc (#215)
  • Additional commits viewable in compare view

Updates ash_phoenix from 2.0.4 to 2.1.1

Changelog

Sourced from ash_phoenix's changelog.

v2.1.1 (2024-08-01)

Bug Fixes:

  • Use :public? instead of :private? (#221)

Improvements:

  • raise an error on usage of old option name

v2.1.0 (2024-07-26)

Bug Fixes:

  • ensure we prepare_source for all read action forms
Commits
  • 9b37c31 chore: release 2.1.1
  • 92674c5 improvement: raise an error on usage of old option name
  • ee2626d chore: release version v2.1.0
  • 3f6c72f chore(deps): bump ash in the production-dependencies group (#228)
  • b8a0bb8 chore(deps-dev): bump mix_audit in the dev-dependencies group (#225)
  • 1a925c6 chore(deps): bump ash in the production-dependencies group (#224)
  • cb5a50f chore(deps): bump ash in the production-dependencies group (#222)
  • 5500c69 chore(deps-dev): bump ex_doc in the dev-dependencies group (#223)
  • 4f4ea9b fix: Use :public? instead of :private? (#221)
  • 5c5ee5a docs: Use AshPhoenix.Form.submit/2 instead of calling context functions (#220)
  • Additional commits viewable in compare view

Updates ash_postgres from 2.1.15 to 2.1.17

Changelog

Sourced from ash_postgres's changelog.

v2.1.17 (2024-07-27)

Bug Fixes:

  • don't overwrite non-updated fields on update

  • ensure app is compiled before using repo modules

  • use a subquery if any exists aggregates are in play

  • properly convert tenant to string when building lateral join

  • update ash & ash_sql for fixes, test atomic alidations in destroys

  • properly add prod config in installer

  • properly perform or don't perform configuration modification code

  • allow non-unique has_many source_attributes (#355)

  • allow non-unique has_many source_attributes

  • update ash_sql for parent_as binding fix

  • update to latest ash version for aggregate fix

  • update ash_sql for include_nil? fix and test it

  • ensure synthesized query aggregates have context set

Improvements:

  • update ash & ash_sql for various fixes

  • update ash_sql for cleaner queries

  • update ash_sql dependencies for bug fixes

  • prepend :postgres to section order

  • pluralize table name in extender

  • update ash/igniter dependencies

  • add binding() expression

  • use latest type casting code from ash

... (truncated)

Commits
  • b84713c chore: release version v2.1.17
  • fb5e57c improvement: update ash & ash_sql for various fixes
  • 793d27d test: replicate type mismatch bug (#364)
  • 07d84d4 chore: release version v2.1.16
  • ac08104 fix: don't overwrite non-updated fields on update
  • be7329d docs: Update migrations-and-tasks.md (#363)
  • 2b4befe chore: add igniter.install version of getting started guide
  • e49b678 fix: ensure app is compiled before using repo modules
  • See full diff in compare view

Updates flame from 0.2.0 to 0.3.0

Changelog

Sourced from flame's changelog.

0.3.0 (2024-07-26)

Bug Fixes

  • Copy sym links in :copy_paths and :sync_beams
  • Fix function error caused by anonymous functions in :copy_paths and :sync_beams

Enhancements

  • Use OTP 27's :json if available
  • Introduce FLAME.Trackable protocol for tracking resources
  • Introduce FLAME.track_resources/3 to recursively track resources on a given node
Commits

Updates jason from 1.4.3 to 1.4.4

Changelog

Sourced from jason's changelog.

1.4.4 (26.07.2024)

  • Fix warnings on Elixir 1.17 by conditionally compiling Decimal support
Commits
  • 926d2ac Bump 1.4.4
  • 6c1b99e Raise if trying to decode decimals without decimal
  • 9517f56 Remove unneeded workarounds for xref warnings
  • 433f93d Fix warnings by conditionally compiling Decimal support
  • eb1e92a Bump 1.4.3
  • 3ffa13a Fix derive with _ key
  • See full diff in compare view

Updates oban from 2.17.12 to 2.18.0

Release notes

Sourced from oban's releases.

v2.18.0

🔭 Queue Shutdown Telemetry

A new queue shutdown event, [:oban, :queue, :shutdown], is emitted by each queue when it terminates. The event originates from the watchman process, which tracks the total ellapsed time from when termination starts to when all jobs complete or the allotted period is exhausted.

Any jobs that take longer than the :shutdown_grace_period (by default 15 seconds) are brutally killed and left as orphans. The ids of jobs left in an executing state are listed in the event's orphaned meta.

This also adds queue:shutdown logging to the default logger. Only queues that shutdown with orphaned jobs are logged, which makes it easier to detect orphaned jobs and which jobs were affected:

[
  message: "jobs were orphaned because they didn't finish executing in the allotted time",
  queue: "alpha",
  source: "oban",
  event: "queue:shutdown",
  ellapsed: 500,
  orphaned: [101, 102, 103]
]

🚚 Distributed PostgreSQL Support

It's now possible to run Oban in distributed PostgreSQL databases such as Yugabyte. This is made possible by a few simple changes to the Basic engine, and a new unlogged migration option.

Some PostgreSQL compatible databases don't support unlogged tables. Making oban_peers unlogged isn't a requirement for Oban to operate, so it can be disabled with a migration flag:

defmodule MyApp.Repo.Migrations.AddObanTables do
  use Ecto.Migration
def up do
Oban.Migration.up(version: 12, unlogged: false)
end
end

🧠 Job Observability

Job stop and exception telemetry now includes the reported memory and total reductions from the job's process. Values are pulled with Process.info/2 after the job executes and safely fall back to 0 in the event the process has crashed. Reductions are a rough proxy for CPU load, and the new measurements will make it easier to identify computationally expensive or memory hungry jobs.

In addition, thanks to the addition of Process.set_label in recent Elixir versions, the worker name is set as the job's process label. That makes it possible to identify which job is running in a pid via observer or live dashboard.

v2.18.0 — 2024-07-26

Enhancements

  • [Job] Support simple unique: true and unique: false declarations

... (truncated)

Changelog

Sourced from oban's changelog.

v2.18.0 — 2024-07-26

Enhancements

  • [Job] Support simple unique: true and unique: false declarations

    Uniqueness can now be enabled with unique: true and disabled with unique: false from job options or a worker definition. The unique: true option uses all the standard defaults, but sets the period to :infinity for compatibility with Oban Pro's new simple unique mode.

  • [Cron] Remove forced uniqueness when inserting scheduled jobs.

    Using uniqueness by default prevents being able to use the Cron plugin with databases that don't support uniqueness because of advisory locks. Luckily, uniqueness hasn't been necessary for safe cron insertion since leadership was introduced and scheduling changed to top-of-the-minute many versions ago.

  • [Engine] Introduce check_available/1 engine callback

    The check_available/1 callback allows engines to customize the query used to find jobs in the available state. That makes it possible for alternative engines, such Oban Pro's Smart engine, to check for available jobs in a fraction of the time with large queues.

  • [Peer] Add Oban.Peer.get_leader/2 for checking leadership

    The get_leader/2 function makes it possible to check which node is currently the leader regardless of the Peer implementation, and without having to query the database.

  • [Producer] Log a warning for unhandled producer messages.

    Some messages are falling through to the catch-all handle_info/2 clause. Previously, they were silently ignored and it degraded producer functionality because inactive jobs with dead pids were still tracked as running in the producer.

  • [Oban] Use structured messages for most logger warnings.

    A standard structure for warning logs makes it easier to search for errors or unhandled messages from Oban or a particular module.

Bug Fixes

  • [Job] Include all fields in the unique section of Job.t/0.

    The unique spec lacked types for both keys and timestamp keys.

  • [Basic] Remove materialized option from fetch_jobs/3.

    The MATERIALIZED clause for CTEs didn't make a meaningful difference in job fetching accuracy. In some situations it caused a performance regression (which is why it was removed from Pro's Smart engine a while ago).

... (truncated)

Commits
  • baf6851 Release v2.18.0
  • 0ef8021 Update testing_queues.md to be consistent with installation guide (#1121)
  • 78d9ee7 Accept enumerable output instead of exact stream
  • b6d83e6 Include process memory and reductions in telemetry
  • 7601b8e Add Oban.Peer.get_leader/2 for checking leadership
  • b36b963 Use structured messages for most logger warnings
  • d8b5fee Log a warning for unhandled producer messages
  • e63d60d Remove materialized option from Basic.fetch_jobs/3
  • 00ddc10 Remove forced unique from cron plugin
  • 4d43326 Merge oban_jobs table migrations
  • Additional commits viewable in compare view

Updates open_api_spex from 3.20.0 to 3.20.1

Release notes

Sourced from open_api_spex's releases.

v3.20.1

What's Changed

New Contributors

Full Changelog: open-api-spex/open_api_spex@v3.20.0...v3.20.1

Changelog

Sourced from open_api_spex's changelog.

v3.20.1 - 2024-07-31

Commits
  • 7d388cd Release version 3.20.1
  • 5ec452f Update Schema.example/2 typespec to allow references
  • 19ffc49 Support custom error messages in custom validators (#621)
  • See full diff 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

Bumps the production-dependencies group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [ash](https://github.com/ash-project/ash) | `3.2.6` | `3.3.2` |
| [ash_json_api](https://github.com/ash-project/ash_json_api) | `1.3.8` | `1.4.1` |
| [ash_phoenix](https://github.com/ash-project/ash_phoenix) | `2.0.4` | `2.1.1` |
| [ash_postgres](https://github.com/ash-project/ash_postgres) | `2.1.15` | `2.1.17` |
| [flame](https://github.com/phoenixframework/flame) | `0.2.0` | `0.3.0` |
| [jason](https://github.com/michalmuskala/jason) | `1.4.3` | `1.4.4` |
| [oban](https://github.com/sorentwo/oban) | `2.17.12` | `2.18.0` |
| [open_api_spex](https://github.com/open-api-spex/open_api_spex) | `3.20.0` | `3.20.1` |


Updates `ash` from 3.2.6 to 3.3.2
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](ash-project/ash@v3.2.6...v3.3.2)

Updates `ash_json_api` from 1.3.8 to 1.4.1
- [Changelog](https://github.com/ash-project/ash_json_api/blob/main/CHANGELOG.md)
- [Commits](ash-project/ash_json_api@v1.3.8...v1.4.1)

Updates `ash_phoenix` from 2.0.4 to 2.1.1
- [Changelog](https://github.com/ash-project/ash_phoenix/blob/main/CHANGELOG.md)
- [Commits](ash-project/ash_phoenix@v2.0.4...v2.1.1)

Updates `ash_postgres` from 2.1.15 to 2.1.17
- [Changelog](https://github.com/ash-project/ash_postgres/blob/main/CHANGELOG.md)
- [Commits](ash-project/ash_postgres@v2.1.15...v2.1.17)

Updates `flame` from 0.2.0 to 0.3.0
- [Changelog](https://github.com/phoenixframework/flame/blob/main/CHANGELOG.md)
- [Commits](phoenixframework/flame@v0.2.0...v0.3.0)

Updates `jason` from 1.4.3 to 1.4.4
- [Release notes](https://github.com/michalmuskala/jason/releases)
- [Changelog](https://github.com/michalmuskala/jason/blob/v1.4.4/CHANGELOG.md)
- [Commits](michalmuskala/jason@v1.4.3...v1.4.4)

Updates `oban` from 2.17.12 to 2.18.0
- [Release notes](https://github.com/sorentwo/oban/releases)
- [Changelog](https://github.com/sorentwo/oban/blob/main/CHANGELOG.md)
- [Commits](sorentwo/oban@v2.17.12...v2.18.0)

Updates `open_api_spex` from 3.20.0 to 3.20.1
- [Release notes](https://github.com/open-api-spex/open_api_spex/releases)
- [Changelog](https://github.com/open-api-spex/open_api_spex/blob/master/CHANGELOG.md)
- [Commits](open-api-spex/open_api_spex@v3.20.0...v3.20.1)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: ash_json_api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: ash_phoenix
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: ash_postgres
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: flame
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: jason
  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
- dependency-name: open_api_spex
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 1, 2024
@zachdaniel zachdaniel merged commit 7d16bc9 into main Aug 1, 2024
2 of 4 checks passed
@dependabot dependabot bot deleted the dependabot/hex/production-dependencies-7a085a9fd1 branch August 1, 2024 16:23
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.

None yet

1 participant