ecto v3.0.5 Release Notes

Release Date: 2018-12-08 // over 5 years ago
  • Backwards incompatible changes

    • [Ecto.Schema] The :where option added in Ecto 3.0.0 had a major flaw and it has been reworked in this version. This means a tuple of three elements can no longer be passed to :where, instead a keyword list must be given. Check the "Filtering associations" section in has_many/3 docs for more information

    🐛 Bug fixes

    • [Ecto.Query] Do not raise on lists of tuples that are not keywords. Instead, let custom Ecto.Type handle them
    • [Ecto.Query] Allow prefix: nil to be given to subqueries
    • [Ecto.Query] Use different cache keys for unions/intersections/excepts
    • [Ecto.Repo] Fix support for upserts with :replace without a schema
    • [Ecto.Type] Do not lose precision when casting utc_datetime_usec with a time zone different than Etc/UTC