diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bc8e0f..5a52cee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,14 @@ and dependency-only bumps are omitted. ### Added +- Error formatting now understands both AJV error shapes: the AJV 8+ + `instancePath` (JSON Pointer, RFC 6901 — including `~0`/`~1` escape + decoding) in addition to the AJV 6 `dataPath` used by the bundled + validator. Behavior with the bundled AJV 6 is strictly unchanged; + this prepares the AJV 8 upgrade and custom validators that emit + JSON Pointer paths. The conversion lives in a new internal + `pointerToFieldPath(pointer)` helper (groundwork for AJV 8; not + part of the public API). - `resetOnSubmit` prop on `