straw-hat-team / beam-monorepo

Monorepo for the open-source packages
MIT License
8 stars 3 forks source link

chore(deps): bump ecto from 3.11.2 to 3.12.0 in the prod group #149

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 2 months ago

Bumps the prod group with 1 update: ecto.

Updates ecto from 3.11.2 to 3.12.0

Changelog

Sourced from ecto's changelog.

v3.12.0 (2024-08-12)

Enhancements

  • [Ecto.Changeset] Allow {message, opts} to be given as message for several validation APIs
  • [Ecto.Query] Introduce is_named_binding guard
  • [Ecto.Query] Subqueries are now supported in distinct, group_by, order_by and window expressions
  • [Ecto.Query] Allow select_merge to be used in more insert_all and subquery operations by merging distinct fields
  • [Ecto.Query] Allow literal maps inside dynamic/2
  • [Ecto.Query] Support macro expansion at the root level of order_by
  • [Ecto.Query] Support preloading subquery sources in from and join
  • [Ecto.Query] Allow map updates with dynamic values in select
  • [Ecto.Query] Allow any data structure that implements the Enumerable protocol on the right side of in
  • [Ecto.Repo] Support 2-arity preload functions that receive ids and the association metadata
  • [Ecto.Repo] Allow Hot Updates on upsert queries in Postgres by removing duplicate fields during replace_all
  • [Ecto.Repo] insert_all supports queries with only source
  • [Ecto.Repo] insert_all supports queries with the update syntax
  • [Ecto.Repo] Support :allow_stale on Repo struct/changeset operations
  • [Ecto.Schema] Allow schema fields to be read-only via :writable option
  • [Ecto.Schema] Add :defaults_to_struct option to embeds_one
  • [Ecto.Schema] Support :duration type which maps to Elixir v1.17 duration
  • [Ecto.Type] Bubble up custom cast errors of the inner type for {:map, type} and {:array, type}
  • [Ecto.Type] Add Ecto.Type.cast!/2

Bug fixes

  • [Ecto.Query] Ignore query prefix in CTE sources
  • [Ecto.Query] Fix a bug of preload when a through association is used in a join and has a nested separate query preload. Now the association chain is no longer preloaded and we simply preload directly onto the loaded through association.
  • [Ecto.Query] Validate :prefix is a string/binary, warn otherwise
  • [Ecto.Query] Fix inspection when select has map/struct modifiers
  • [Ecto.Query] Disable query cache for values lists
  • [Ecto.Repo] Convert fields to their sources in insert_all
  • [Ecto.Repo] Raise if empty list is given to {:replace, fields}
  • [Ecto.Repo] Validate :prefix is a string/binary, warn otherwise
  • [Ecto.Repo] Remove compile dependency on :preload_order MFA in has_many

Adapter changes

  • distinct, group_by, order_by and window expressions use the new Ecto.Query.ByExpr struct rather than the old Ecto.Query.QueryExpr struct

Potential incompatibilities

  • [Ecto.ParameterizedType] Parameterized types are now represented internally as {:parameterized, {mod, state}}. While this representation is private, projects may have been relying on it, and therefore they need to adapt accordingly. Use Ecto.ParameterizedType.init/2 to instantiate parameterized types.
  • [Ecto.Query] Drop :array_join join type. It was added for Clickhouse support but it is no longer used
Commits


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 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 1 month ago

Superseded by #150.