All Versions
59
Latest Version
Avg Release Cycle
31 days
Latest Release
124 days ago

Changelog History
Page 4

  • v3.3.4 Changes

    February 27, 2020

    ๐Ÿ› Bug fixes

    • [mix ecto] Do not rely on map ordering when parsing repos
    • [mix ecto.gen.repo] Improve error message when a repo is not given
  • v3.3.3 Changes

    February 14, 2020

    โœจ Enhancements

    • [Ecto.Query] Support fragments in lock
    • [Ecto.Query] Handle nil in select_merge with similar semantics to SQL databases (i.e. it simply returns nil itself)
  • v3.3.2 Changes

    January 28, 2020

    โœจ Enhancements

    • [Ecto.Changeset] Only bump optimistic lock in case of success
    • [Ecto.Query] Allow macros in Ecto window expressions
    • [Ecto.Schema] Support :join_defaults on many_to_many associations
    • [Ecto.Schema] Allow MFargs to be given to association :defaults
    • [Ecto.Type] Add Ecto.Type.embedded_load and Ecto.Type.embedded_dump

    ๐Ÿ› Bug fixes

    • [Ecto.Repo] Ignore empty hostname when parsing database url (Elixir v1.10 support)
    • [Ecto.Repo] Rewrite combinations on Repo.exists? queries
    • [Ecto.Schema] Respect child @schema_prefix in cast_assoc
    • [mix ecto.gen.repo] Use config_path when writing new config in mix ecto.gen.repo
  • v3.3.1 Changes

    December 27, 2019

    โœจ Enhancements

    • [Ecto.Query.WindowAPI] Support filter/2

    ๐Ÿ› Bug fixes

    • [Ecto.Query.API] Fix coalesce/2 usage with mixed types
  • v3.3.0 Changes

    December 11, 2019

    โœจ Enhancements

    • [Ecto.Adapter] Add storage_status/1 callback to Ecto.Adapters.Storage behaviour
    • [Ecto.Changeset] Add Ecto.Changeset.apply_action!/2
    • [Ecto.Changeset] Remove actions restriction in Ecto.Changeset.apply_action/2
    • [Ecto.Repo] Introduce c:Ecto.Repo.aggregate/2
    • [Ecto.Repo] Support {:replace_all_except, fields} in :on_conflict

    ๐Ÿ› Bug fixes

    • [Ecto.Query] Make sure the :prefix option in :from/:join also cascades to subqueries
    • [Ecto.Query] Make sure the :prefix option in :join also cascades to queries
    • [Ecto.Query] Use database returned values for literals. Previous Ecto versions knew literals from queries should not be discarded for combinations but, even if they were not discarded, we would ignore the values returned by the database
    • [Ecto.Repo] Do not wrap schema operations in a transaction if already inside a transaction. We have also removed the private option called :skip_transaction

    ๐Ÿ—„ Deprecations

    • [Ecto.Repo] :replace_all_except_primary_keys is deprecated in favor of {:replace_all_except, fields} in :on_conflict
  • v3.2.5 Changes

    November 03, 2019

    ๐Ÿ› Bug fixes

    • [Ecto.Query] Fix a bug where executing some queries would leak the {:maybe, ...} type
  • v3.2.4 Changes

    November 02, 2019

    ๐Ÿ› Bug fixes

    • [Ecto.Query] Improve error message on invalid join binding
    • [Ecto.Query] Make sure the :prefix option in :join also applies to through associations
    • [Ecto.Query] Invoke custom type when loading aggregations from the database (but fallback to database value if it can't be cast)
    • [mix ecto.gen.repo] Support Elixir v1.9 style configs
  • v3.2.3 Changes

    October 17, 2019

    ๐Ÿ› Bug fixes

    • [Ecto.Changeset] Do not convert enums given to validate_inclusion to a list

    โœจ Enhancements

    • [Ecto.Changeset] Improve error message on non-atom keys to change/put_change
    • [Ecto.Changeset] Allow :with to be given as a {module, function, args} tuple on cast_association/cast_embed
    • [Ecto.Changeset] Add fetch_change!/2 and fetch_field!/2
  • v3.2.2 Changes

    October 01, 2019

    ๐Ÿ› Bug fixes

    • [Ecto.Query] Fix keyword arguments given to :on when a bind is not given to join
    • [Ecto.Repo] Make sure a preload given to an already preloaded has_many :through is loaded
  • v3.2.1 Changes

    September 17, 2019

    โœจ Enhancements

    • [Ecto.Changeset] Add rollover logic for default incrementer in optimistic_lock
    • [Ecto.Query] Also expand macros when used inside type/2

    ๐Ÿ› Bug fixes

    • [Ecto.Query] Ensure queries with non-cacheable queries in CTEs/combinations are also not-cacheable