[Ecto.Changeset] Warn if there are duplicate IDs in the parent schema for cast_assoc/3/cast_embed/3
[Ecto.Schema] Allow belongs_to to accept options for parameterized types
Bug fixes
[Ecto.Query] Keep field types when using a subquery with source
v3.5.0 (2020-10-03)
v3.5 requires Elixir v1.8+.
Bug fixes
[Ecto.Changeset] Ensure :empty_values in cast/4 does not automatically propagate to following cast calls. If you want a given set of :empty_values to apply to all cast/4 calls, change the value stored in changeset.empty_values instead
[Ecto.Changeset] Do not force repository updates to happen when using optimistic_lock
[Ecto.Changeset] Do not automatically share empty values across cast/3 calls
[Ecto.Query] Consider query prefix in cte/combination query cache
[Ecto.Query] Allow the entry to be marked as nil when using left join with subqueries
[Ecto.Query] Support subqueries inside dynamic expressions
[Ecto.Repo] Fix preloading when using dynamic repos and the sandbox in automatic mode
[Ecto.Repo] Do not duplicate collections when associations are preloaded for repeated elements
Enhancements
[Ecto.Enum] Add Ecto.Enum as a custom parameterized type
[Ecto.Query] Allow :prefix in from to be set to nil
[Ecto.Query] Do not restrict subqueries in where to map/struct types
[Ecto.Query] Allow atoms in query without interpolation in order to support Ecto.Enum
[Ecto.Schema] Do not validate uniqueness if there is a prior error on the field
[Ecto.Schema] Allow redact: true in field
[Ecto.Schema] Support parameterized types via Ecto.ParameterizedType
v3.4.6 (2020-08-07)
Enhancements
[Ecto.Query] Allow count/0 on type/2
[Ecto.Multi] Support anonymous functions in multiple functions
Bug fixes
[Ecto.Query] Consider booleans as literals in unions, subqueries, ctes, etc
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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps ecto from 3.4.4 to 3.5.1.
Release notes
Sourced from ecto's releases.
Changelog
Sourced from ecto's changelog.
Commits
76d8fb1
Release v3.5.1c51bbca
Keep field types when using a subquery with source7dd9aee
Improve docs and internal refsbc43a3f
Add :array example to Ecto.Enum docs (#3437)14bafd4
Fix cast/2 implementation of Ecto.ParameterizedType needs to return runtime d...71b9c93
Make belongs_to accept options for ParameterizedType other that the default o...b7f475e
Warn if there are duplicate IDs in cast_assoc, closes #3432266e4fc
Release v3.5.076ac247
Respect source on subqueries, closes #343067a7f57
Consider parameter from subqueries, closes #3422Dependabot 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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)