Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Apr 13, 2023

Bumps ecto from 3.7.1 to 3.10.1.

Changelog

Sourced from ecto's changelog.

v3.10.1 (2023-04-12)

Bug fixes

  • [Ecto.Changeset] Consider sort_param even if the relation param was not given
  • [Ecto.Query] Correct typespec to avoid Dialyzer warnings

v3.10.0 (2023-04-10)

This release contains many improvements to Ecto.Changeset, functions like Ecto.Changeset.changed?/2 and field_missing?/2 will help make your code more expressive. Improvements to association and embed handling will also make it easier to manage more complex forms, especially those embedded within Phoenix.LiveView applications.

On the changeset front, note this release unifies the handling of empty values between cast/4 and validate_required/3. If you were setting :empty_values in the past and you want to preserve this new behaviour throughout, you may want to update your code from this:

Ecto.Changeset.cast(changeset, params, [:field1, :field2], empty_values: ["", []])

to:

empty_values = [[]] ++ Ecto.Changeset.empty_values()
Ecto.Changeset.cast(changeset, params, [:field1, :field2], empty_values: empty_values)

Queries have also been improved to support LIMIT WITH TIES as well as materialized CTEs.

Enhancements

  • [Ecto.Changeset] Add get_assoc/get_embed
  • [Ecto.Changeset] Add field_missing?/2
  • [Ecto.Changeset] Add changed?/2 and changed?/3 with predicates support
  • [Ecto.Changeset] Allow Regex to be used in constraint names for exact matches
  • [Ecto.Changeset] Allow :empty_values option in cast/4 to include a function which must return true if the value is empty
  • [Ecto.Changeset] cast/4 will by default consider strings made only of whitespace characters to be empty
  • [Ecto.Changeset] Add support for :sort_param and :drop_param on cast_assoc and cast_embed
  • [Ecto.Query] Support materialized option in CTEs
  • [Ecto.Query] Support dynamic field inside json_extract_path
  • [Ecto.Query] Support interpolated values for from/join prefixes
  • [Ecto.Query] Support ties in limit expressions through with_ties/3
  • [Ecto.Schema] Add :autogenerate_fields to the schema reflection API
  • [Ecto.ParameterizedType] Add optional callback format/1

Bug fixes

  • [Ecto.Changeset] Make unsafe validate unique exclude primary key only for loaded schemas
  • [Ecto.Changeset] Raise when change provided to validate_format/4 is not a string
  • [Ecto.Query] Fix bug in json_extract_path where maps were not allowed to be nested inside of embeds
  • [Ecto.Schema] Allow inline embeds to overwrite conflicting aliases

v3.9.5 (2023-03-22)

Bug fixes

  • [Ecto.Query] Rename @opaque dynamic type to @opaque dynamic_expr to avoid conflicts with Erlang/OTP 26

... (truncated)

Commits
  • f3311ee Release v3.10.1
  • afc694c Consider sort_param even if the assoc param was not given
  • 2437881 support map(q, [:list, :of, :fields]) in source query of insert_all (#4154)
  • 7d4b8ca Fix spec for Ecto.Query.Builder.CTE build/5 and apply/4 (#4151)
  • caaaa3c Release v3.10.0
  • 4d0450e Allow changesets or schemas in Ecto.Enum values / mappings functions (#4147)
  • 7543173 Remove :never check from collect_fields
  • 568900a Make merge recursive
  • df2cf89 Normalize selected_as to tuple on first pass
  • 9d2d45e Make cte_fields tail recursive
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

roderik and others added 19 commits August 16, 2022 10:15
fix: search path
* upstream/master: (272 commits)
  Refactor JSON RPC variants
  Bump ex_abi from 0.5.11 to 0.5.14
  Bump sass from 1.54.9 to 1.55.0 in /apps/block_scout_web/assets
  Bump autoprefixer in /apps/block_scout_web/assets
  Bump core-js from 3.25.1 to 3.25.2 in /apps/block_scout_web/assets
  Rename obsolete "parity" EthereumJSONRPC.Variant to "nethermind"
  Refactor DB config
  Docker-compose config for Erigon
  Docker compose: add config for Erigon
  Add metrics to indexer
  Bump @babel/preset-env in /apps/block_scout_web/assets
  Bump scss-tokenizer from 0.3.0 to 0.4.3 in /apps/block_scout_web/assets
  Update Changelog
  Fix unfetched token balances
  Bump sweetalert2 from 11.4.32 to 11.4.33 in /apps/block_scout_web/assets
  Bump autoprefixer in /apps/block_scout_web/assets
  Bump web3 from 1.7.5 to 1.8.0 in /apps/block_scout_web/assets
  Bump @babel/core from 7.19.0 to 7.19.1 in /apps/block_scout_web/assets
  Bump ueberauth from 0.10.2 to 0.10.3
  Add production-xdai-stg branch to release CI
  ...

# Conflicts:
#	.github/workflows/publish-docker-image-every-push.yml
#	apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex
#	apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex
Bumps [ecto](https://github.com/elixir-ecto/ecto) from 3.7.1 to 3.10.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.7.1...v3.10.1)

---
updated-dependencies:
- dependency-name: ecto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Apr 13, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 9, 2023

Superseded by #264.

@dependabot dependabot bot closed this Jun 9, 2023
@dependabot dependabot bot deleted the dependabot/hex/ecto-3.10.1 branch June 9, 2023 06:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants