All Versions
18
Latest Version
Avg Release Cycle
20 days
Latest Release
139 days ago

Changelog History
Page 1

  • v3.1.7

    June 27, 2019

    🐛 Bug fixes

    • [Ecto.Changeset] Make sure put_assoc with empty changeset propagates on insert
  • v3.1.6

    June 19, 2019

    ✨ Enhancements

    • [Ecto.Repo] Add :read_only repositories
    • [Ecto.Schema] Also validate options given to :through associations

    🐛 Bug fixes

    • [Ecto.Changeset] Do not mark put_assoc from [] to [] or from nil to nil as change
    • [Ecto.Query] Remove named binding when exluding joins
    • [mix ecto.gen.repo] Use :config_path instead of hardcoding to config/config.exs
  • v3.1.5

    June 06, 2019

    ✨ Enhancements

    • [Ecto.Repo] Allow :default_dynamic_repo option on use Ecto.Repo
    • [Ecto.Schema] Support {:fragment, ...} in the :where option for associations

    🐛 Bug fixes

    • [Ecto.Query] Fix handling of literals in combinators (union, except, intersection)
  • v3.1.4

    May 07, 2019

    🐛 Bug fixes

    • [Ecto.Changeset] Convert validation enums to lists before adding them as validation metadata
    • [Ecto.Schema] Properly propragate prefix to join_through source in many_to_many associations
  • v3.1.3

    April 30, 2019

    ✨ Enhancements

    • [Ecto.Changeset] Expose the enum that was validated against in errors from enum-based validations
  • v3.1.2

    April 24, 2019

    ✨ Enhancements

    • [Ecto.Query] Add support for type+over
    • [Ecto.Schema] Allow schema fields to be excluded from queries

    🐛 Bug fixes

    • [Ecto.Changeset] Do not list a field as changed if it is updated to its original value
    • [Ecto.Query] Keep literal numbers and bitstring in subqueries and unions
    • [Ecto.Query] Improve error message for invalid type/2 expression
    • [Ecto.Query] Properly count interpolations in select_merge/2
  • v3.1.1

    April 04, 2019

    🐛 Bug fixes

    • [Ecto] Do not require Jason (i.e. it should continue to be an optional dependency)
    • [Ecto.Repo] Make sure many_to_many and Ecto.Multi work with dynamic repos
  • v3.1.0

    April 02, 2019

    v3.1 requires Elixir v1.5+.

    ✨ Enhancements

    • [Ecto.Changeset] Add not_equal_to option for validate_number
    • [Ecto.Query] Improve error message for missing fragment arguments
    • [Ecto.Query] Improve error message on missing struct key for structs built in select
    • [Ecto.Query] Allow dynamic named bindings
    • [Ecto.Repo] Add dynamic repository support with Ecto.Repo.put_dynamic_repo/1 and Ecto.Repo.get_dynamic_repo/0 (experimental)
    • [Ecto.Type] Cast naive_datetime/utc_datetime strings without seconds

    🐛 Bug fixes

    • [Ecto.Changeset] Do not run unsafe_validate_unique query unless relevant fields were changed
    • [Ecto.Changeset] Raise if an unknown field is given on Ecto.Changeset.change/2
    • [Ecto.Changeset] Expose the type that was validated in errors generated by validate_length/3
    • [Ecto.Query] Add support for field/2 as first element of type/2 and alias as second element of type/2
    • [Ecto.Query] Do not attempt to assert types of named bindings that are not known at compile time
    • [Ecto.Query] Properly cast boolean expressions in select
    • [Mix.Ecto] Load applications during repo lookup so their app environment is available

    🗄 Deprecations

    • [Ecto.LogEntry] Fully deprecate previously soft deprecated API
  • v3.0.9

    April 30, 2019
  • v3.0.7

    February 06, 2019

    🐛 Bug fixes

    • [Ecto.Query] reverse_order reverses by primary key if no order is given