Skip to content

v6.0.0

Choose a tag to compare

@markdumay markdumay released this 12 Jul 09:43
7410f06

6.0.0 (2026-07-12)

Bug Fixes

  • classify excess positional arguments as newly detectable (48f773f)
  • pass through reflect-type names and flatten schema error messages (f6f8143)
  • test: make golden comparison line-ending agnostic (8946736)

Features

  • add Args entry point with recursive validation (57ca49c)
  • add ArgsSchema compiler with recursive type resolution (6d9b2f8)
  • release the argument system redesign as a major version (b20a676)

Performance Improvements

  • cache compiled argument schemas per structure (848429b)

BREAKING CHANGES

  • although the InitArgs/InitTypes API is drop-in
    compatible, validation behavior changes: nested and falsy defaults
    now apply (rendered output can change), null members are dropped
    from nested maps, all validation problems are reported per call,
    explicit falsy site parameters override static defaults, and newly
    detectable problem classes surface as warnings. Consumers must
    update the import path to github.com/gethinode/mod-utils/v6 and,
    when using setup-cloudcannon-cms, refresh expose globs that
    reference the vendored v5 path.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com