Skip to content

Elixir 1.18 deprecation warnings from transitive dependencies #5

@nshkrdotcom

Description

@nshkrdotcom

Summary

When compiling with Elixir 1.18, several transitive dependencies emit deprecation warnings.

Environment

  • Elixir: 1.18
  • OTP: 28

Affected Dependencies

1. toml v0.7.0 (via llm_dbreq_llm)

15 warnings about deprecated single-quoted charlist syntax:

warning: using single-quoted strings to represent charlists is deprecated.
Use ~c"" if you indeed want a charlist or use "" instead.

Affected lines in lib/decoder.ex: 264, 371, 419, 474, 514, 518, 522, 538, 542, 682, 796, 916, 954, 969, 983

Upstream: bitwalker/toml-elixir#46

2. abacus v2.1.0 (via jido_action)

9 warnings about undefined/private function:

warning: Abacus.parse/1 is undefined or private
└─ lib/format.ex:36:14: Abacus.Format.format/1

This appears to be a bug in abacus where Abacus.Format calls Abacus.parse/1 which doesn't exist or is private.

Upstream: https://github.com/narrowtux/abacus

3. git_hooks v0.8.1 (direct dependency)

1 warning about deprecated function:

warning: GitHooks.Tasks.MFA.new/3 is deprecated. Use mfa without arity
└─ lib/git_hooks.ex:61:9: GitHooks.new_task/3

Current Status

All packages are at their latest versions on Hex. No fixes available upstream.

Suggested Actions

  1. Monitor upstream repos for Elixir 1.18 compatibility updates
  2. Consider pinning jido_action to remove abacus if not needed
  3. Consider forking toml with mix format --migrate applied if upstream remains inactive

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions