Skip to content

chore(deps): bump ata-validator to ^1.23.0 - #877

Merged
bluebill1049 merged 1 commit into
react-hook-form:masterfrom
mertcanaltin:bump-ata-validator
Sep 17, 2026
Merged

bluebill1049 merged 1 commit into
react-hook-form:masterfrom
mertcanaltin:bump-ata-validator

Conversation

@mertcanaltin

@mertcanaltin mertcanaltin commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

The pin was twenty minor versions behind, so CI tested against a release far
from what the caret range installs for users.

It also matters for one line of the resolver. parseErrorSchema reads
err.params.unevaluatedProperty to decide that an error is an unknown key.
Before 1.22.1 a schema with unevaluatedProperties: false reported that failure
as keyword: 'not' with empty params, on the member's own path rather than the
object holding it, so that branch never fired. From 1.22.1 it reports
keyword: 'unevaluatedProperties' with params.unevaluatedProperty on the
parent, which is the shape the resolver was written against. 1.23.0 adds
enforced strict-mode schema checks and performance work on top.

The four snapshots in ata-validator/src/tests/snapshots reproduce
unchanged, including the password entry that carries both minLength and pattern.

Disclosure: I maintain ata-validator. Happy to keep peerDependencies at the wider ^1.2.0 if that matches house preference; the devDependency bump is the part that changes what CI exercises.

The pin was twenty minor versions behind, so CI tested against a release far
from what the caret range installs for users.

It also matters for one line of the resolver. `parseErrorSchema` reads
`err.params.unevaluatedProperty` to decide that an error is an unknown key.
Before 1.22.1 a schema with `unevaluatedProperties: false` reported that failure
as `keyword: 'not'` with empty params, on the member's own path rather than the
object holding it, so that branch never fired. From 1.22.1 it reports
`keyword: 'unevaluatedProperties'` with `params.unevaluatedProperty` on the
parent, which is the shape the resolver was written against. 1.23.0 adds
enforced strict-mode schema checks and performance work on top.

The four snapshots in ata-validator/src/__tests__/__snapshots__ reproduce
unchanged, including the password entry that carries both minLength and pattern.
@mertcanaltin
mertcanaltin force-pushed the bump-ata-validator branch 2 times, most recently from 7eaee7d to 163ae4f Compare September 16, 2026 13:14
@mertcanaltin mertcanaltin changed the title chore(deps): bump ata-validator to ^1.22.1 chore(deps): bump ata-validator to ^1.23.0 Sep 16, 2026
@bluebill1049
bluebill1049 merged commit 8d088d4 into react-hook-form:master Sep 17, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants