Skip to content

Commit

Permalink
Release v3.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Aug 25, 2024
1 parent 61ca67a commit 840eedf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog for v3.x

## v3.12.2 (2024-08-25)

### Bug fixes

* [Ecto.Query] Allow `:prefix` to be set to any term
* [Ecto.Repo] Avoid overwriting ssl opts from url if already set in config

## v3.12.1 (2024-08-13)

### Enhancements
Expand Down Expand Up @@ -39,7 +46,6 @@

* [Ecto.Query] Ignore query prefix in CTE sources
* [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.
* [Ecto.Query] Validate `:prefix` is a string/binary, warn otherwise
* [Ecto.Query] Fix inspection when select has `map/struct` modifiers
* [Ecto.Query] Disable query cache for `values` lists
* [Ecto.Repo] Convert fields to their sources in `insert_all`
Expand All @@ -54,8 +60,10 @@

### Potential incompatibilities

* [Ecto.Changeset] Associations inside embeds have always been read-only. We now raise if you try to cast them inside a changeset
* [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.
* [Ecto.Query] Drop `:array_join` join type. It was added for Clickhouse support but it is no longer used
* [Ecto.Query] Validate `:prefix` is a string/binary (this was reverted in v3.12.2)

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

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Ecto.MixProject do
use Mix.Project

@source_url "https://github.com/elixir-ecto/ecto"
@version "3.12.1"
@version "3.12.2"

def project do
[
Expand Down

0 comments on commit 840eedf

Please sign in to comment.