Skip to content

v7.1.4

Choose a tag to compare

@github-actions github-actions released this 24 Oct 13:35
· 5 commits to main since this release

Behavior change

Keywords placed next to $ref are now applied instead of being silently ignored. For example { $ref: 'Foo#', required: ['extra'] } now enforces extra, so objects missing it throw "extra" is required! instead of being serialized. This matches Ajv's behavior. Annotation-only siblings (title, description, etc.) are still ignored.

What's Changed

  • fix: apply sibling keywords when a schema resolves a $ref by @lazerg in #867

New Contributors

Full Changelog: v7.1.3...v7.1.4