[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] 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}
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
Bumps the prod group with 1 update in the / directory: ecto.
Updates
ecto
from 3.11.2 to 3.12.2Changelog
Sourced from ecto's changelog.
... (truncated)
Commits
840eedf
Release v3.12.261ca67a
Support non-string prefix (#4497)07cdcc2
Avoid overwriting ssl opts with url if already set in config (#4498)7e60edc
Clarify error message, closes #4499cba4947
Update Ecto.Changeset.get_assoc/3 typespecs (#4495)9df9b35
[ci skip] Fix typo in docstring (#4494)e753d29
Release v3.12.1fc179e0
Revert "Allow literal struct ininsert_all
+ add recent changes to docs (#4...551b2eb
Add missing anchors in docs (#4491)d505995
Remove incorrect subquery parameter check (#4490)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