Skip to content

v0.4.2

Choose a tag to compare

@maxfield-allison maxfield-allison released this 12 Jan 02:15
· 282 commits to main since this release

Fixed

  • Lint Compliance: Resolved all golangci-lint issues for stricter configuration
    • Fixed gofmt formatting across 45 files
    • Fixed exhaustive switch statements (RecordType, Validator interface)
    • Fixed errorlint issues (use errors.Is instead of direct comparison)
    • Fixed variable shadowing in dnsmasq/Pi-hole providers
    • Fixed typos (cancelled → canceled)
    • Added status constants for health checks and provider metrics

Changed

  • Linter Configuration: Refined .golangci.yml for long-term maintainability
    • Disabled prealloc (micro-optimization not worth verbosity)
    • Disabled revive:unexported-return (intentional API pattern)
    • Added structured exclusions for tests, providers, and config
    • Enabled only diagnostic and performance gocritic tags
  • Contributing Guide: Fixed internal GitLab URL to public GitHub URL

Docker Images

docker pull ghcr.io/maxfield-allison/dnsweaver:v0.4.2
docker pull docker.io/maxamill/dnsweaver:v0.4.2