16 lines
633 B
Markdown
16 lines
633 B
Markdown
# 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.
|