Skip to content

0.4.0: duplicate-name compile check + Credo/Dialyzer#6

Merged
aram356 merged 15 commits into
masterfrom
defconst-0.4.0
Jun 2, 2026
Merged

0.4.0: duplicate-name compile check + Credo/Dialyzer#6
aram356 merged 15 commits into
masterfrom
defconst-0.4.0

Conversation

@aram356

@aram356 aram356 commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Focused quality release on top of 0.3.0.

Changes

  • defconst/defenum raise a CompileError on duplicate constant names (duplicate values still supported)
  • Add credo + dialyxir dev-only deps and a CI quality job (mix credo --strict, mix dialyzer, PLT cached)
  • Fix mix docs LICENSE reference warning (LICENSE added to docs extras)
  • Bump all GitHub Actions to their latest major tags (checkout@v6, cache@v5)
  • 0.4.0: version bump, CHANGELOG, README (incl. dependency snippet)

Verification (local, Elixir 1.19 / OTP 28.1.1)

  • mix test green (5 doctests, 25 tests)
  • mix format --check-formatted clean
  • mix credo --strict no issues
  • mix dialyzer passed
  • mix docs no LICENSE warning
  • mix hex.build -> defconst 0.4.0

Design: docs/superpowers/specs/2026-06-02-defconst-0.4.0-design.md

@aram356 aram356 merged commit 460a9bf into master Jun 2, 2026
7 checks passed
@aram356 aram356 deleted the defconst-0.4.0 branch June 2, 2026 21:47
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.

1 participant