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 ecto from 3.11.2 to 3.12.1 #27

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Bump ecto from 3.11.2 to 3.12.1 #27

merged 1 commit into from
Aug 14, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps ecto from 3.11.2 to 3.12.1.

Changelog

Sourced from ecto's changelog.

v3.12.1 (2024-08-13)

Enhancements

  • [Ecto.Type] Add Ecto.Type.parameterized?/2

Bug fixes

  • [Ecto.Enum] Fix dialyzer specification
  • [Ecto.Query] Remove incorrect subquery parameter check

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

... (truncated)

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 <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)

Bumps [ecto](https://github.com/elixir-ecto/ecto) from 3.11.2 to 3.12.1.
- [Release notes](https://github.com/elixir-ecto/ecto/releases)
- [Changelog](https://github.com/elixir-ecto/ecto/blob/master/CHANGELOG.md)
- [Commits](elixir-ecto/ecto@v3.11.2...v3.12.1)

---
updated-dependencies:
- dependency-name: ecto
  dependency-type: direct:development
  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 Aug 14, 2024
@dependabot dependabot bot requested a review from tessi August 14, 2024 04:14
@tessi tessi merged commit b294bb9 into main Aug 14, 2024
5 checks passed
@tessi tessi deleted the dependabot/hex/ecto-3.12.1 branch August 14, 2024 05:41
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