First public release

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-28 14:56:12 -04:00
co-authored by Claude Opus 5.5
commit 7646fe162d
14 changed files with 2253 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# 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.