Skip to content

Commit 840eedf

Browse files
committed
Release v3.12.2
1 parent 61ca67a commit 840eedf

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog for v3.x
22

3+
## v3.12.2 (2024-08-25)
4+
5+
### Bug fixes
6+
7+
* [Ecto.Query] Allow `:prefix` to be set to any term
8+
* [Ecto.Repo] Avoid overwriting ssl opts from url if already set in config
9+
310
## v3.12.1 (2024-08-13)
411

512
### Enhancements
@@ -39,7 +46,6 @@
3946

4047
* [Ecto.Query] Ignore query prefix in CTE sources
4148
* [Ecto.Query] Fix a bug of `preload` when a through association is used in a join and has a nested separate query preload. Now the association chain is no longer preloaded and we simply preload directly onto the loaded through association.
42-
* [Ecto.Query] Validate `:prefix` is a string/binary, warn otherwise
4349
* [Ecto.Query] Fix inspection when select has `map/struct` modifiers
4450
* [Ecto.Query] Disable query cache for `values` lists
4551
* [Ecto.Repo] Convert fields to their sources in `insert_all`
@@ -54,8 +60,10 @@
5460

5561
### Potential incompatibilities
5662

63+
* [Ecto.Changeset] Associations inside embeds have always been read-only. We now raise if you try to cast them inside a changeset
5764
* [Ecto.ParameterizedType] Parameterized types are now represented internally as `{:parameterized, {mod, state}}`. While this representation is private, projects may have been relying on it, and therefore they need to adapt accordingly. Use `Ecto.ParameterizedType.init/2` to instantiate parameterized types.
5865
* [Ecto.Query] Drop `:array_join` join type. It was added for Clickhouse support but it is no longer used
66+
* [Ecto.Query] Validate `:prefix` is a string/binary (this was reverted in v3.12.2)
5967

6068
## v3.11.2 (2024-03-07)
6169

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule Ecto.MixProject do
22
use Mix.Project
33

44
@source_url "https://github.com/elixir-ecto/ecto"
5-
@version "3.12.1"
5+
@version "3.12.2"
66

77
def project do
88
[

0 commit comments

Comments
 (0)