fastify / fastify-response-validation

A simple plugin that enables response validation for Fastify.
MIT License
53 stars 17 forks source link

Bump ajv from 6.12.6 to 8.1.0 #19

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps ajv from 6.12.6 to 8.1.0.

Release notes

Sourced from ajv's releases.

v8.1.0

unicodeRegExp option to not use RegExp unicode flag that may be incompatible with some environments (@​asaid-0, #1530) Fix JSONSchemaType (@​erikbrinkman, #1541) Extended error message for invalid keyword values (@​pcwiek, #1542)

v8.0.5

Fix: add source code back to npm package, 8.0.4 is breaking ajv-cli (and possibly other things)

v8.0.4

Reduce npm bundle size

v8.0.3

Improve JSONSchemaType errors (@​erikbrinkman, #1525)

v8.0.2

Support RegExp formats in standalone code (#1470) Add schema path to strictTuple error message (@​asaid-0, #1519)

v8.0.1

Typescript: export function getData (for ajv-errors)

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.

New features

Support JSON Schema draft-2020-12: prefixItems keyword and changed semantics of items keyword, dynamic recursive references. OpenAPI discriminator keyword. Improved JSON Type Definition support:

  • errors consistent with JTD specification.
  • error objects with additional properties to simplify error handling (see Error objects)
  • internationalized error messages with ajv-i18n TypeScript: support type unions in JSONSchemaType

Other changes / improvements

Node.js require works without .default property - see examples in Getting started Reduce runtime dependency for standalone validation code Fix resolution of $ref: "#" when $id is present (#815)

Breaking changes

Option strict controls all strict mode 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).

... (truncated)

Commits
  • df07f66 8.1.0
  • 614454d Merge branch 'asaid-0-unicodeRegExp'
  • 5cab9bf refactor: move flag to usePattern function
  • 4cdcc94 Merge branch 'master' into unicodeRegExp
  • dba1aeb Merge pull request #1541 from erikbrinkman/jtd-schema-type-values-fix
  • c6f5e3c Merge branch 'pcwiek-keyword-error-reporting'
  • 27f056f use template literal and double quotes
  • 6508a03 Re-formatted test file
  • 6e8440f Added keyword name and schema path to keyword usage validation error
  • b4e0385 fix #1537
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 3 years ago

Superseded by #22.