Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Update AJV to 8.1.0 #6329

Closed
shuse2 opened this issue Apr 19, 2021 · 0 comments · Fixed by #6330
Closed

Update AJV to 8.1.0 #6329

shuse2 opened this issue Apr 19, 2021 · 0 comments · Fixed by #6330
Assignees
Labels
dependencies Pull requests that update a dependency file elements/validator unplanned
Milestone

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Apr 19, 2021

Description

Update ajv to latest 8.1.0.

There are a lot of breaking changes. Some of the changes observed was

  • dataPath is now instancePath with / separated instead of .
  • addKeyword have different interface
  • must is used instead of should in error message
  • id cannot be used anymore. it must be $id
  • meta schema format keyword does not work

Official migration documentation is

Initial tried changes are here

Also,

addUsedSchema: false,

Check this property added to the Ajv is still necessary or not.

@shuse2 shuse2 added elements/validator dependencies Pull requests that update a dependency file labels Apr 19, 2021
@nazarhussain nazarhussain added this to the Sprint 42 milestone Apr 20, 2021
shuse2 added a commit that referenced this issue Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file elements/validator unplanned
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants