All Versions
62
Latest Version
Avg Release Cycle
34 days
Latest Release
496 days ago
Changelog History
Page 3
Changelog History
Page 3
-
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] Potentially breaking change: Do not force repository updates to happen when using
optimistic_lock
. The lock field will only be incremented if the record has other changes. If no changes, nothing happens. - [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.Schema] Rewrite embeds and assocs as parameterized types. This means
__schema__(:type, assoc_or_embed)
now returns a parameterized type. To check if something is an association, use__schema__(:assocs)
or__schema__(:embeds)
instead
- [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
-
v3.4.4 Changes
May 11, 2020โจ Enhancements
- [Ecto.Schema] Add
join_where
support tomany_to_many
- [Ecto.Schema] Add
-
v3.4.3 Changes
April 27, 2020โจ Enhancements
- [Ecto.Query] Support
as/1
andparent_as/1
for lazy named bindings and to allow parent references from subqueries - [Ecto.Query] Support
x in subquery(query)
๐ Bug fixes
- [Ecto.Query] Do not raise for missing assocs if :force is given to preload
- [Ecto.Repo] Return error from
Repo.delete
on invalid changeset fromprepare_changeset
- [Ecto.Query] Support
-
v3.4.3-dev Changes
April 19, 2020โจ Enhancements
- [Ecto.Query] Support
as/1
andparent_as/1
for lazy named bindings and to allow parent references from subqueries
๐ Bug fixes
- [Ecto.Query] Do not raise for missing assocs if :force is given to preload
- [Ecto.Repo] Return error from
Repo.delete
on invalid changeset fromprepare_changeset
- [Ecto.Query] Support