All Versions
45
Latest Version
Avg Release Cycle
17 days
Latest Release
154 days ago

Changelog History
Page 1

  • v3.5.5 Changes

    November 12, 2020

    โœจ Enhancements

    • [Ecto.Query] Add support for subqueries operators: all, any, and exists

    ๐Ÿ› Bug fixes

    • [Ecto.Changeset] Use association source on put_assoc with maps/keywords
    • [Ecto.Enum] Add cast clause for nil values on Ecto.Enum
    • [Ecto.Schema] Allow nested type :any for non-virtual fields
  • v3.5.4 Changes

    October 28, 2020

    โœจ Enhancements

    • [mix ecto.drop] Provide --force-drop for databases that may support it
    • [guides] Add new "Multi tenancy with foreign keys" guide

    ๐Ÿ› Bug fixes

    • [Ecto.Changeset] Make keys optionals in specs
    • [Ecto.Enum] Make sure values/2 works for virtual fields
    • [Ecto.Query] Fix missing type on CTE queries that select a single field
  • v3.5.3 Changes

    October 21, 2020

    ๐Ÿ› Bug fixes

    • [Ecto.Query] Do not reset parameter counter for nested CTEs
    • [Ecto.Type] Fix regression where array type with nils could no longer be cast/load/dump
    • [Ecto.Type] Fix CaseClauseError when casting a decimal with a binary remainder
  • v3.5.2 Changes

    October 12, 2020

    โœจ Enhancements

    • [Ecto.Repo] Add Repo.reload/2 and Repo.reload!/2

    ๐Ÿ› Bug fixes

    • [Ecto.Changeset] Fix "schema/1 is undefined or private" error while inspecting a schemaless changeset
    • [Ecto.Repo] Invoke c:Ecto.Repo.default_options/1 per entry-point operation
  • v3.5.1 Changes

    October 08, 2020

    โœจ Enhancements

    • [Ecto.Changeset] Warn if there are duplicate IDs in the parent schema for cast_assoc/3/cast_embed/3
    • [Ecto.Schema] Allow belongs_to to accept options for parameterized types

    ๐Ÿ› Bug fixes

    • [Ecto.Query] Keep field types when using a subquery with source
  • v3.5.0 Changes

    October 03, 2020

    v3.5 requires Elixir v1.8+.

    ๐Ÿ› Bug fixes

    • [Ecto.Changeset] Ensure :empty_values in cast/4 does not automatically propagate to following cast calls. If you want a given set of :empty_values to apply to all cast/4 calls, change the value stored in changeset.empty_values instead
    • [Ecto.Changeset] Do not force repository updates to happen when using optimistic_lock
    • [Ecto.Changeset] Do not automatically share empty values across cast/3 calls
    • [Ecto.Query] Consider query prefix in cte/combination query cache
    • [Ecto.Query] Allow the entry to be marked as nil when using left join with subqueries
    • [Ecto.Query] Support subqueries inside dynamic expressions
    • [Ecto.Repo] Fix preloading when using dynamic repos and the sandbox in automatic mode
    • [Ecto.Repo] Do not duplicate collections when associations are preloaded for repeated elements

    โœจ Enhancements

    • [Ecto.Enum] Add Ecto.Enum as a custom parameterized type
    • [Ecto.Query] Allow :prefix in from to be set to nil
    • [Ecto.Query] Do not restrict subqueries in where to map/struct types
    • [Ecto.Query] Allow atoms in query without interpolation in order to support Ecto.Enum
    • [Ecto.Schema] Do not validate uniqueness if there is a prior error on the field
    • [Ecto.Schema] Allow redact: true in field
    • [Ecto.Schema] Support parameterized types via Ecto.ParameterizedType
  • v3.5.0-rc.1 Changes

    September 19, 2020

    โœจ Enhancements

    • [Ecto.Enum] Add Ecto.Enum.values/2 helper
    • [Ecto.Query] Allow :prefix in from to be set to nil
    • [Ecto.Query] Allow atoms in query without interpolation in order to support Ecto.Enum

    ๐Ÿ› Bug fixes

    • [Ecto.Changeset] Do not automatically share empty values across cast/3 calls
    • [Ecto.ParameterizedType] Add autogenerate/1 as optional callback
    • [Ecto.Query] Consider query prefix in cte/combination query cache
    • [Ecto.Repo] Fix preloading when using dynamic repos and the sandbox in automatic mode
    • [Ecto.Schema] Also redact virtual fields
  • v3.5.0-rc.0 Changes

    August 31, 2020

    v3.5 requires Elixir v1.8+.

    ๐Ÿ› Bug fixes

    • [Ecto.Changeset] Ensure :empty_values in cast/4 does not automatically propagate to following cast calls. If you want a given set of :empty_values to apply to all cast/4 calls, change the value stored in changeset.empty_values instead
    • [Ecto.Changeset] Do not force repository updates to happen when using optimistic_lock

    โœจ Enhancements

    • [Ecto.Enum] Add Ecto.Enum as a custom parameterized type
    • [Ecto.Query] Do not restrict subqueries in where to map/struct types
    • [Ecto.Schema] Do not validate uniqueness if there is a prior error on the field
    • [Ecto.Schema] Allow redact: true in field
    • [Ecto.Schema] Support parameterized types via Ecto.ParameterizedType
  • v3.4.6 Changes

    August 07, 2020

    โœจ Enhancements

    • [Ecto.Query] Allow count/0 on type/2
    • [Ecto.Multi] Support anonymous functions in multiple functions

    ๐Ÿ› Bug fixes

    • [Ecto.Query] Consider booleans as literals in unions, subqueries, ctes, etc
    • [Ecto.Schema] Generate IDs for nested embeds
  • v3.4.5 Changes

    June 14, 2020

    โœจ Enhancements

    • [Ecto.Changeset] Allow custom error key in unsafe_validate_unique
    • [Ecto.Changeset] Improve performance when casting large params maps

    ๐Ÿ› Bug fixes

    • [Ecto.Changeset] Improve error message for invalid cast_assoc
    • [Ecto.Query] Fix inspecting query with fragment CTE
    • [Ecto.Query] Fix inspecting dynamics with aliased bindings
    • [Ecto.Query] Improve error message when selecting a single atom
    • [Ecto.Repo] Reduce data-copying when preloading multiple associations
    • [Ecto.Schema] Do not define a compile-time dependency for schema in :join_through