Files
contract-check/CHANGELOG.md
T
2026-09-28 14:56:12 -04:00

633 B

Changelog

0.2.1 - 2026-09-28

First public release under MIT.

  • assertShape() validates a payload with any zod-style parser and throws a framework-independent ContractDriftError. Zod 4 symbol paths are handled.
  • expectFields() and assertFields() check that requested fields actually came back, treating null as present and undefined as absent.
  • coverage() measures contract-check coverage against a floor and lists the uncovered endpoints.
  • fieldReport(), coverageReport(), formatFields() and formatCoverage() produce @extant2000/evidence-record reports. An empty surface is not assessed.