ajv-validator/ajv
### [`v8.0.1`](https://togithub.com/ajv-validator/ajv/releases/v8.0.1)
[Compare Source](https://togithub.com/ajv-validator/ajv/compare/v8.0.0...v8.0.1)
Typescript: export function `getData` (for ajv-errors)
### [`v8.0.0`](https://togithub.com/ajv-validator/ajv/releases/v8.0.0)
[Compare Source](https://togithub.com/ajv-validator/ajv/compare/v7.2.4...v8.0.0)
This document describes changes from v7.2.4 to v8.0.0.
If you are migrating from v6 you can use [this document](https://togithub.com/ajv-validator/ajv/blob/master/docs/v6-to-v8-migration.md).
#### New features
Support JSON Schema draft-2020-12: [prefixItems](https://ajv.js.org/json-schema.html#prefixitems) keyword and changed semantics of [items](https://ajv.js.org/json-schema.html#items-in-draft-2020-12) keyword, [dynamic recursive references](https://ajv.js.org/guide/combining-schemas.html#extending-recursive-schemas).
OpenAPI [discriminator](https://ajv.js.org/json-schema.html#discriminator) keyword.
Improved JSON Type Definition support:
- errors consistent with JTD specification.
- error objects with additional properties to simplify error handling (see [Error objects](https://ajv.js.org/api.html#error-objects))
- internationalized error messages with [ajv-i18n](/packages/ajv-i18n)
TypeScript: support type unions in [JSONSchemaType](https://ajv.js.org/guide/typescript.html#type-safe-unions)
#### Other changes / improvements
Node.js require works without .default property - see examples in [Getting started](https://ajv.js.org/guide/getting-started.html)
Reduce runtime dependency for [standalone validation code](https://ajv.js.org/standalone.html)
Fix resolution of `$ref: "#"` when $id is present ([#815](https://togithub.com/ajv-validator/ajv/issues/815))
#### Breaking changes
Option [strict](https://ajv.js.org/options.html#strict) controls all [strict mode](https://ajv.js.org/strict-mode.html) restrictions
JSON Schema validation errors changes:
- `dataPath` property replaced with `instancePath`
- "should" replaced with "must" in the messages
- property name is removed from "propertyName" keyword error message (it is still available in `error.params.propertyName`).
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
7.2.4
->8.0.1
Release Notes
ajv-validator/ajv
### [`v8.0.1`](https://togithub.com/ajv-validator/ajv/releases/v8.0.1) [Compare Source](https://togithub.com/ajv-validator/ajv/compare/v8.0.0...v8.0.1) Typescript: export function `getData` (for ajv-errors) ### [`v8.0.0`](https://togithub.com/ajv-validator/ajv/releases/v8.0.0) [Compare Source](https://togithub.com/ajv-validator/ajv/compare/v7.2.4...v8.0.0) This document describes changes from v7.2.4 to v8.0.0. If you are migrating from v6 you can use [this document](https://togithub.com/ajv-validator/ajv/blob/master/docs/v6-to-v8-migration.md). #### New features Support JSON Schema draft-2020-12: [prefixItems](https://ajv.js.org/json-schema.html#prefixitems) keyword and changed semantics of [items](https://ajv.js.org/json-schema.html#items-in-draft-2020-12) keyword, [dynamic recursive references](https://ajv.js.org/guide/combining-schemas.html#extending-recursive-schemas). OpenAPI [discriminator](https://ajv.js.org/json-schema.html#discriminator) keyword. Improved JSON Type Definition support: - errors consistent with JTD specification. - error objects with additional properties to simplify error handling (see [Error objects](https://ajv.js.org/api.html#error-objects)) - internationalized error messages with [ajv-i18n](/packages/ajv-i18n) TypeScript: support type unions in [JSONSchemaType](https://ajv.js.org/guide/typescript.html#type-safe-unions) #### Other changes / improvements Node.js require works without .default property - see examples in [Getting started](https://ajv.js.org/guide/getting-started.html) Reduce runtime dependency for [standalone validation code](https://ajv.js.org/standalone.html) Fix resolution of `$ref: "#"` when $id is present ([#815](https://togithub.com/ajv-validator/ajv/issues/815)) #### Breaking changes Option [strict](https://ajv.js.org/options.html#strict) controls all [strict mode](https://ajv.js.org/strict-mode.html) restrictions JSON Schema validation errors changes: - `dataPath` property replaced with `instancePath` - "should" replaced with "must" in the messages - property name is removed from "propertyName" keyword error message (it is still available in `error.params.propertyName`).Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.