[Ecto.Query] Do not reset parameter counter for nested CTEs
[Ecto.Type] Fix regression where array type with nils could no longer be cast/load/dump
[Ecto.Type] Fix CaseClauseError when casting a decimal with a binary remainder
v3.5.2 (2020-10-12)
Enhancements
[Ecto.Repo] Add Repo.reload/2 and Repo.reload!/2
Bug fixes
[Ecto.Changeset] Fix "schema/1 is undefined or private" error while inspecting a schemaless changeset
[Ecto.Repo] Invoke c:Ecto.Repo.default_options/1 per entry-point operation
v3.5.1 (2020-10-08)
Enhancements
[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
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)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps ecto from 3.4.5 to 3.5.3.
Changelog
Sourced from ecto's changelog.
Commits
1d286c9
Relase v3.5.3636e8a0
Fix CaseClauseError when casting a decimal with a binary remainder (#3449)4438711
Document loader and dumper, closes #3446010fe64
Skips nils except for parameterized types, closes #34452c3cc7e
Correct usage of desc/asc with dynamicecea2e9
Update Schemaless queries.md (#3443)9781295
Do not reset select parameter counter for CTEs, closes #3442c01a318
Release v3.5.2583d72d
Fix non-deterministic tests241700f
Invoke repo.default_options/1 per entry-point operation, closes #3441Dependabot 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) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)