You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Ecto.Migration] Add reversible version of `remove/2` subcommand
100
100
*[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)
101
102
*[Ecto.Migrator] Warn when migrating and there is a higher version already migrated in the database
102
103
*[Ecto.Multi] Add support for anonymous functions in `insert/4`, `update/4`, `insert_or_update/4`, and `delete/4`
103
104
*[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
113
114
*[Ecto.Query] Allow variables (sources) to be given in queries, for example, useful for invoking functins, such as `fragment("some_function(?)", p)`
114
115
*[Ecto.Query] Add support for `union`, `union_all`, `intersection`, `intersection_all`, `except` and `except_all`
115
116
*[Ecto.Query] Add support for `windows` and `over`
117
+
*[Ecto.Query] Raise when comparing a string with a charlist during planning
116
118
*[Ecto.Repo] Only start transactions if an association or embed has changed, this reduces the overhead during repository operations
117
119
*[Ecto.Repo] Support `:replace_all_except_primary_key` as `:on_conflict` strategy
118
120
*[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
129
131
*[Ecto.Inspect] Do not fail when inspecting query expressions which have a number of bindings more than bindings available
130
132
*[Ecto.Migration] Keep double underscores on autogenerated index names to be consistent with changesets
131
133
*[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
132
137
*[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
133
139
*[Ecto.Type] Return `:error` when casting NaN or infinite decimals
134
140
*[mix ecto.migrate] Properly run migrations after ECTO_EDITOR changes
135
141
*[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
142
148
*[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
143
149
*[Ecto.Repo] The `:returning` option for `update_all` and `delete_all` has been deprecated as those statements now support `select` clauses
144
150
*[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"
0 commit comments