Skip to content

Conversation

@nshkrdotcom
Copy link

@nshkrdotcom nshkrdotcom commented Jan 4, 2026

Summary

  • Update dev/test dependencies (dialyxir, excoveralls, erlex override, castore) to support current OTP/Elixir and remove the hackney/ssl_verify_fun chain.
  • Replace deprecated Module.eval_quoted/2 with Code.eval_quoted/3 in tests.
  • Add a binary fail!/1 clause for CLI error handling.
  • Remove unreachable/dead decoder clauses and fix close handler tuple arity.
  • Drop dialyzer.ignore now that warnings are resolved.

Fixes #46

Update test and development dependencies to current versions:
- dialyxir ~> 1.0 to ~> 1.4
- excoveralls ~> 0.9 to ~> 0.18
- Add castore ~> 1.0 for SSL certificate handling
- Add erlex ~> 0.2.8 override for dialyxir compatibility

Remove deprecated hackney dependency chain in favor of lighter
alternatives using castore for certificate verification.

Fix Elixir compatibility issues:
- Replace deprecated Module.eval_quoted/2 with Code.eval_quoted/3
  in test modules for compatibility with recent Elixir versions
- Add missing fail!/1 clause for binary error messages in CLI

Clean up decoder.ex:
- Remove unreachable pattern match clauses in datetime parsing
- Remove dead code paths in array and inline table parsing
- Fix tuple arity in close error handling patterns

Remove dialyzer.ignore configuration as warnings have been resolved.
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.

mix test fails on OTP 28 / Elixir 1.18 (ssl_verify_fun + deprecated eval_quoted)

1 participant