Skip to content

Commit e5ef524

Browse files
author
José Valim
committed
Update CHANGELOG
1 parent 34ed205 commit e5ef524

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ Running migrations will now lock the migrations table, allowing you to concurren
9898
* [Ecto.Migration] Add `:migration_default_prefix` repository configuration
9999
* [Ecto.Migration] Add reversible version of `remove/2` subcommand
100100
* [Ecto.Migration] Add support for non-empty arrays as defaults in migrations
101+
* [Ecto.Migration] Add support for logging notices/alerts/warnings when running migrations (only supported by Postgres currently)
101102
* [Ecto.Migrator] Warn when migrating and there is a higher version already migrated in the database
102103
* [Ecto.Multi] Add support for anonymous functions in `insert/4`, `update/4`, `insert_or_update/4`, and `delete/4`
103104
* [Ecto.Query] Add `unsafe_fragment` to queries which allow developers to send dynamically generated fragments to the database that are not checked (and therefore unsafe)
@@ -113,6 +114,7 @@ Running migrations will now lock the migrations table, allowing you to concurren
113114
* [Ecto.Query] Allow variables (sources) to be given in queries, for example, useful for invoking functins, such as `fragment("some_function(?)", p)`
114115
* [Ecto.Query] Add support for `union`, `union_all`, `intersection`, `intersection_all`, `except` and `except_all`
115116
* [Ecto.Query] Add support for `windows` and `over`
117+
* [Ecto.Query] Raise when comparing a string with a charlist during planning
116118
* [Ecto.Repo] Only start transactions if an association or embed has changed, this reduces the overhead during repository operations
117119
* [Ecto.Repo] Support `:replace_all_except_primary_key` as `:on_conflict` strategy
118120
* [Ecto.Repo] Support `{:replace, fields}` as `:on_conflict` strategy
@@ -129,7 +131,11 @@ Running migrations will now lock the migrations table, allowing you to concurren
129131
* [Ecto.Inspect] Do not fail when inspecting query expressions which have a number of bindings more than bindings available
130132
* [Ecto.Migration] Keep double underscores on autogenerated index names to be consistent with changesets
131133
* [Ecto.Query] Fix `Ecto.Query.API.map/2` for single nil column with join
134+
* [Ecto.Migration] Ensure `create_if_not_exists` is properly reversible
135+
* [Ecto.Repo] Allow many_to_many associations to be preloaded via a function (before the behaviour was erratic)
136+
* [Ecto.Schema] Make autogen ID loading work with custom type
132137
* [Ecto.Schema] Make `updated_at` have the same value as `inserted_at`
138+
* [Ecto.Schema] Ensure all fields are replaced with `on_conflict: :replace_all/:replace_all_except_primary_key` and not only the fields sent as changes
133139
* [Ecto.Type] Return `:error` when casting NaN or infinite decimals
134140
* [mix ecto.migrate] Properly run migrations after ECTO_EDITOR changes
135141
* [mix ecto.migrations] List migrated versions even if the migration file is deleted
@@ -142,6 +148,7 @@ Running migrations will now lock the migrations table, allowing you to concurren
142148
* [Ecto.Query] `join/5` now expects `on: expr` as last argument instead of simply `expr`. This was done in order to properly support the `:as`, `:hints` and `:prefix` options
143149
* [Ecto.Repo] The `:returning` option for `update_all` and `delete_all` has been deprecated as those statements now support `select` clauses
144150
* [Ecto.Repo] Passing `:adapter` via config is deprecated in favor of passing it on `use Ecto.Repo`
151+
* [Ecto.Repo] The `:loggers` configuration is deprecated in favor of "Telemetry Events"
145152

146153
### Backwards incompatible changes
147154

0 commit comments

Comments
 (0)