Fix Elixir 1.20 warnings, upgrade decimal to 3.x, update CI#230
Open
gilbertwong96 wants to merge 1 commit into
Open
Fix Elixir 1.20 warnings, upgrade decimal to 3.x, update CI#230gilbertwong96 wants to merge 1 commit into
gilbertwong96 wants to merge 1 commit into
Conversation
Fix compilation warnings introduced in Elixir 1.20: - Add pin operator (^) to bitstring size() patterns in parser and encoder - Remove redundant number_exp_digits(<<>>, skip) clause - Move preferred_cli_env to def cli with preferred_envs (deprecated in 1.19) - Replace xref: [exclude: ...] with elixirc_options: [no_warn_undefined: ...] Upgrade decimal from 2.x to 3.x (fixes CVE-2026-32686): - Bump decimal dependency to ~> 3.0 - Update test to use Decimal.parse/2 with unbounded limits for large exponents - Downgrade jason from 1.5.0-alpha to 1.4 (supports decimal 3.x) Update CI and minimum supported versions: - Bump minimum Elixir from 1.12 to 1.16 (last security-patched release) - Update runners to ubuntu-24.04 and windows-2025 - Test all 5 security-patched Elixir versions (1.16-1.20) - Update OTP matrix to 25, 26, 27 with compatibility excludes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug Fixes:
^) to bitstringsize()patterns — required since Elixir 1.20number_exp_digits(<<>>, skip)clausepreferred_cli_envtodef cliwithpreferred_envs(deprecated in 1.19)xref: [exclude: ...]withelixirc_options: [no_warn_undefined: ...]Security:
Breaking Changes:
CI: