Skip to content

Support Elixir ~> 1.12#478

Open
ericmj wants to merge 4 commits intomainfrom
ericmj/support-elixir-1.12
Open

Support Elixir ~> 1.12#478
ericmj wants to merge 4 commits intomainfrom
ericmj/support-elixir-1.12

Conversation

@ericmj
Copy link
Copy Markdown
Member

@ericmj ericmj commented Apr 11, 2026

Replace pinned variables in binary pattern sizes (^var) with erlang.split_binary/2 to support both Elixir 1.12+ and 1.20+ without warnings.

Need this to vendor Mint into Hex.

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 11, 2026

Coverage Report for CI Build 0

Coverage increased (+0.009%) to 87.645%

Details

  • Coverage increased (+0.009%) from the base build.
  • Patch coverage: 9 of 9 lines across 4 files are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1465
Covered Lines: 1284
Line Coverage: 87.65%
Coverage Strength: 254.73 hits per line

💛 - Coveralls

@ericmj ericmj requested a review from whatyouhide April 11, 2026 10:32
@ericmj ericmj marked this pull request as ready for review April 11, 2026 17:20
ericmj added 4 commits April 16, 2026 10:27
Replace pinned variables in binary pattern sizes (^var) with
:erlang.split_binary/2 to support both Elixir 1.12+ and 1.20+
without warnings.
persistent_term has been available since OTP 21.2 and Mint requires
Elixir ~> 1.12 which needs OTP 22+, so it is always available. Remove
the runtime check, the application env, and the empty supervisor.
@ericmj ericmj force-pushed the ericmj/support-elixir-1.12 branch from f7f0313 to a8823ef Compare April 16, 2026 17:27
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