Skip to content

Update minimum Elixir version to 1.12 - #359

Merged
josevalim merged 1 commit into
elixir-ecto:masterfrom
TylerWitt:patch-1
Oct 3, 2026
Merged

josevalim merged 1 commit into
elixir-ecto:masterfrom
TylerWitt:patch-1

Conversation

@TylerWitt

Copy link
Copy Markdown
Contributor

Stepped ranges are used in the connection_pool, which aren't introduced until 1.12.

Compiling on 1.11 with OTP 22 gives

== Compilation error in file lib/db_connection/connection_pool.ex ==
** (CompileError) lib/db_connection/connection_pool.ex:57: unknown key :step for struct Range
    (stdlib 3.12.1) lists.erl:1354: :lists.mapfoldl/3
    (stdlib 3.12.1) lists.erl:1355: :lists.mapfoldl/3

Stepped ranges are used in the connection_pool, which aren't introduced until 1.12.
@josevalim
josevalim merged commit 0f7f9a0 into elixir-ecto:master Oct 3, 2026
2 checks passed
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants