All Versions
62
Latest Version
Avg Release Cycle
34 days
Latest Release
716 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v3.9.2 Changes
November 18, 2022โจ Enhancements
- [Ecto.Query] Allow
selected_as
inside CTE - [Ecto.Query] Allow
selected_as
to be used in subquery
๐ Bug fixes
- [Ecto.Repo] Fix preloading through associations on
nil
- [Ecto.Query] Fix select merging a
selected_as
field into a source
- [Ecto.Query] Allow
-
v3.9.1 Changes
October 06, 2022โจ Enhancements
- [Ecto.Query] Allow
selected_as
at the root ofdynamic/2
- [Ecto.Query] Allow
selected_as
to be used withtype/2
- [Ecto.Query] Allow
selected_as
to be used withselect_merge
๐ Bug fixes
- [Ecto.Changeset] Reenable support for embedded schemas in
unsafe_validate_unique/4
- [Ecto.Query] Ensure
join_where
conditions preload correctly inmany_to_many
or with queries with one or many joins
- [Ecto.Query] Allow
-
v3.9.0 Changes
September 27, 2022โจ Enhancements
- [Ecto.Changeset] Add
:force_changes
option tocast/4
- [Ecto.Enum] Allow enum fields to be embed either as their values or their dumped versions
- [Ecto.Query] Support
^%{field: dynamic(...)}
inselect
andselect_merge
- [Ecto.Query] Support
%{field: subquery(...)}
inselect
andselect_merge
- [Ecto.Query] Support select aliases through
selected_as/1
andselected_as/2
- [Ecto.Query] Allow
parent_as/1
intype/2
- [Ecto.Query] Add
with_named_binding/3
- [Ecto.Query] Allow fragment sources in keyword queries
- [Ecto.Repo] Support
idle_interval
query parameter in connection URL - [Ecto.Repo] Log human-readable UUIDs by using pre-dumped query parameters
- [Ecto.Schema] Support preloading associations in embedded schemas
๐ Bug fix
- [Ecto.Changeset] Raise when schemaless changeset or embedded schema is used in
unsafe_validate_unique/4
- [Ecto.Query] Respect virtual field type in subqueries
- [Ecto.Query] Don't select struct fields overridden with
nil
- [Ecto.Query] Fix
select_merge
not trackingload_in_query: false
field - [Ecto.Query] Fix field source when used in
json_extract_path
- [Ecto.Query] Properly build CTEs at compile time
- [Ecto.Query] Properly order subqueries in
dynamic
- [Ecto.Repo] Fix
insert_all
query parameter count when using value queries alongsideplaceholder
- [Ecto.Repo] Raise if combination query is used in a
many
preload - [Ecto.Schema] Ignore associations that aren't loaded on insert
- [Ecto.Changeset] Add
-
v3.8.4 Changes
June 04, 2022โจ Enhancements
- [Ecto.Multi] Add
one/2
andall/2
functions - [Ecto.Query] Support
literal(...)
infragment
๐ Bug fix
- [Ecto.Schema] Make sure fields are inspected in the correct order in Elixir v1.14+
- [Ecto.Multi] Add
-
v3.8.3 Changes
May 11, 2022๐ Bug fix
- [Ecto.Query] Allow source aliases to be used in
type/2
- [Ecto.Schema] Avoid "undefined behaviour/struct" warnings and errors during compilation
- [Ecto.Query] Allow source aliases to be used in
-
v3.8.2 Changes
May 05, 2022๐ Bug fix
- [Ecto.Adapter] Do not require adapter metadata to be raw maps
- [Ecto.Association] Respect
join_where
in many to manyon_replace
deletes - [Ecto.Changeset] Check if list is in
empty_values
before nested validations
-
v3.8.1 Changes
April 27, 2022๐ Bug fix
- [Ecto.Query] Fix regression where a join's on parameter on
update_all
was out of order
- [Ecto.Query] Fix regression where a join's on parameter on
-
v3.8.0 Changes
April 26, 2022Ecto v3.8 requires Elixir v1.10+.
โจ Enhancements
- [Ecto] Add new Embedded chapter to Introductory guides
- [Ecto.Changeset] Allow custom
:error_key
in unique_constraint - [Ecto.Changeset] Add
:match
option to all constraint functions - [Ecto.Query] Support dynamic aliases
- [Ecto.Query] Allow using
type/2
with virtual fields - [Ecto.Query] Suggest alternatives to inexistent fields in queries
- [Ecto.Query] Support passing queries using subqueries to
insert_all
- [Ecto.Repo] Allow
stacktrace: true
so stacktraces are included in telemetry events and logs - [Ecto.Schema] Validate options given to schema fields
๐ Bug fixes
- [Ecto.Changeset] Address regression on
validate_subset
no longer working with custom array types - [Ecto.Changeset] Potentially breaking change: Detect
empty_values
inside lists when casting. This may cause issues if you were relying on the casting of empty values (by default, only""
). - [Ecto.Query] Handle atom list sigils in
select
- [Ecto.Query] Improve tracking of
select_merge
inside subqueries - [Ecto.Repo] Properly handle literals in queries given to
insert_all
- [Ecto.Repo] Don't surface persisted data as changes on embed updates
- [Ecto.Repo] Potentially breaking change: Raise if an association doesn't have a primary key and is preloaded in a join query. Previously, this would silently produce the wrong the result in certain circumstances.
- [Ecto.Schema] Preserve parent prefix on join tables
-
v3.7.2 Changes
March 13, 2022โจ Enhancements
- [Ecto.Schema] Add option to skip validations for default values
- [Ecto.Query] Allow coalesce in
type/2
- [Ecto.Query] Support parameterized types in type/2
- [Ecto.Query] Allow arbitrary parentheses in query expressions
-
v3.7.1 Changes
August 27, 2021โจ Enhancements
- [Ecto.Embedded] Make
Ecto.Embedded
public and describe struct fields
๐ Bug fixes
- [Ecto.Repo] Make sure parent changeset is included in changes for
insert
/update
/delete
when there are errors processing the parent itself
- [Ecto.Embedded] Make