Skip to content

Bump dialyxir to 1.4.7 and adapt to Elixir 1.19#33

Merged
fastjames merged 4 commits into
masterfrom
update-dialyxir-1-4-7
Jun 3, 2026
Merged

Bump dialyxir to 1.4.7 and adapt to Elixir 1.19#33
fastjames merged 4 commits into
masterfrom
update-dialyxir-1-4-7

Conversation

@fastjames

Copy link
Copy Markdown

Summary

  • Bump dialyxir from 1.2.0 to 1.4.7 (and erlex to 0.2.9).
  • Bump credo to ~> 1.7 so it compiles on Elixir 1.19 (1.6.7 fails with Regex.CompileError: invalid range in character class).
  • Replace the deprecated dialyzer: [plt_add_deps: :transitive] with :app_tree (the old value now raises in dialyxir 1.4).
  • Move preferred_cli_env: [coveralls: :test] out of def project/0 and into a new def cli/0 block to silence the Mix 1.19 deprecation warning.

Test plan

  • mix deps.get
  • mix test (10 tests, 0 failures)
  • mix dialyzer (Total errors: 0, passed successfully)
  • mix coveralls runs in the :test env via the new def cli/0

- Bump credo to ~> 1.7 (1.6.7 won't compile on Elixir 1.19)
- Replace deprecated dialyzer plt_add_deps: :transitive with :app_tree
- Move preferred_cli_env into def cli/0 to silence the Mix 1.19 warning
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 95056b59-92df-4410-a945-2ddb4b8dad30

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-dialyxir-1-4-7

Comment @coderabbitai help to get the list of available commands and usage tips.

fastjames added 3 commits June 3, 2026 14:12
Replace the Elixir 1.13/1.14 + OTP 24/25 cross-product with explicit
pairings on supported releases: 1.17/27, 1.18/27, 1.19/28.
The function name is fixed by the :ssh_client_key_api Erlang behavior
callback, so it can't be renamed to host_key?/4.
- key_error.ex: reorder clauses so the algo-specific message is reachable
  (previously a dead clause, fatal under --warnings-as-errors)
- test charlist literals: migrate to ~c"..." sigils so `mix format
  --check-formatted` passes on Elixir 1.17 (deprecates single-quoted
  charlists in plain format mode)
- workflows: add fail-fast: false so one matrix entry's failure doesn't
  cancel its siblings
@fastjames fastjames self-assigned this Jun 3, 2026
@fastjames fastjames requested a review from k1bs June 3, 2026 19:22

@k1bs k1bs left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍰

@fastjames fastjames merged commit 2cf4cbe into master Jun 3, 2026
12 checks passed
@fastjames fastjames deleted the update-dialyxir-1-4-7 branch June 3, 2026 19:26
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