All Versions
45
Latest Version
Avg Release Cycle
17 days
Latest Release
154 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v3.5.5 Changes
November 12, 2020โจ Enhancements
- [Ecto.Query] Add support for subqueries operators:
all
,any
, andexists
๐ Bug fixes
- [Ecto.Changeset] Use association source on
put_assoc
with maps/keywords - [Ecto.Enum] Add
cast
clause for nil values onEcto.Enum
- [Ecto.Schema] Allow nested type
:any
for non-virtual fields
- [Ecto.Query] Add support for subqueries operators:
-
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
- [mix ecto.drop] Provide
-
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
- [Ecto.Changeset] Warn if there are duplicate IDs in the parent schema for
-
v3.5.0 Changes
October 03, 2020v3.5 requires Elixir v1.8+.
๐ Bug fixes
- [Ecto.Changeset] Ensure
:empty_values
incast/4
does not automatically propagate to following cast calls. If you want a given set of:empty_values
to apply to allcast/4
calls, change the value stored inchangeset.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
infrom
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
infield
- [Ecto.Schema] Support parameterized types via
Ecto.ParameterizedType
- [Ecto.Changeset] Ensure
-
v3.5.0-rc.1 Changes
September 19, 2020โจ Enhancements
- [Ecto.Enum] Add
Ecto.Enum.values/2
helper - [Ecto.Query] Allow
:prefix
infrom
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
- [Ecto.Enum] Add
-
v3.5.0-rc.0 Changes
August 31, 2020v3.5 requires Elixir v1.8+.
๐ Bug fixes
- [Ecto.Changeset] Ensure
:empty_values
incast/4
does not automatically propagate to following cast calls. If you want a given set of:empty_values
to apply to allcast/4
calls, change the value stored inchangeset.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
infield
- [Ecto.Schema] Support parameterized types via
Ecto.ParameterizedType
- [Ecto.Changeset] Ensure
-
v3.4.6 Changes
August 07, 2020โจ Enhancements
- [Ecto.Query] Allow
count/0
ontype/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
- [Ecto.Query] Allow
-
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
- [Ecto.Changeset] Allow custom error key in