[Ecto.Changeset] Allow the :query option in unsafe_validate_unique
Bug fixes
[Ecto.Changeset] Add the relation id in apply_changes if the relation key exists (instead of hardcoding it to id)
v3.6.0 (2021-04-03)
Enhancements
[Ecto.Changeset] Support :repo_opts in unsafe_validate_unique
[Ecto.Enum] Allow enums to map to custom values
[Ecto.Multi] Add Ecto.Multi.put/3 for directly storing values
[Ecto.Query] Potentially breaking change: optimize many_to_many queries so it no longer load intermediary tables in more occasions. This may cause issues if you are using Ecto.assoc/2 to load many_to_many associations and then trying to access intermediate bindings
[Ecto.Repo] Allow insert_all to be called with a query instead of rows
[Ecto.Repo] Add :placeholders support to insert_all to avoid sending the same value multiple times
[Ecto.Schema] Support :preload_order on has_many and many_to_many associations
[Ecto.UUID] Add bang UUID conversion methods
[Ecto.Query] The :hints option now accepts dynamic values when supplied as tuples
[Ecto.Query] Support select: map(source, fields) where source is a fragment
[Ecto.Query] Allow referring to the parent query in a join's subquery select via parent_as
[mix ecto] Support file and line interpolation on ECTO_EDITOR
Bug fixes
[Ecto.Changeset] Change apply_changes/1 to add the relation to the struct.relation_id if relation struct is persisted
[Ecto.Query] Remove unnecessary INNER JOIN in many to many association query
[Ecto.Query] Allow parametric types to be interpolated in queries
[Ecto.Schema] Raise ArgumentError when default has invalid type
v3.5.8 (2021-02-21)
Enhancements
[Ecto.Query] Support map/2 on fragments and subqueries
v3.5.7 (2021-02-07)
Bug fixes
[Ecto.Query] Fixes param ordering issue on dynamic queries with subqueries
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.6.1.
Release notes
Sourced from ecto's releases.
Changelog
Sourced from ecto's changelog.
... (truncated)
Commits
2035fae
Release v3.6.14cafe0a
Fix typo in Ecto.Query.API documentation (#3612)151c9ee
Support overriding base query for unsafe_validate_unique/4 (#3611)6efcc52
Document pitfalls of Ecto.assoc and many_to_many, closes #36062a07d0b
Ability to run integration tests in both GitHub Actions and locally (#3595)005dcb4
Update multitenancy guide (#3607)e028a90
Add the relation id in apply_changes if the relation key exists (#3605)2a1baf4
Add missing CHANGELOGcd31c7f
Tag tests that use CONCAT fragments (#3602)d1289b4
Order IDs in assoc testDependabot 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)