Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Playground
- Playground `localValidator` should use @rjsf/validator-ajv8
- Upgrade Vite and @vitejs/plugin-react to latest

@rjsf/validator-ajv8
- Alias `ajv` to `ajv8` because in the playground, Vite erroneously imports Ajv 6
- Report any schema error thrown by Ajv
- Disable Ajv's strict mode by default
- Add RJSF-specific additional properties keywords to Ajv to prevent errors from being reported in strict mode.
-
  • Loading branch information
nickgros committed Nov 5, 2022
1 parent 47b8b4b commit 82dfc8d
Show file tree
Hide file tree
Showing 12 changed files with 1,225 additions and 138 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -20,6 +20,12 @@ should change the heading of the (upcoming) version to include a major version b
## @rjsf/playground
- Fix Vite development server [#3228](https://github.com/rjsf-team/react-jsonschema-form/issues/3228)

## @rjsf/validator-ajv8
- Fix additionalProperties validation [#3213](https://github.com/rjsf-team/react-jsonschema-form/issues/3213)
- Report all schema errors thrown by Ajv. Previously, we would only report errors thrown for a missing meta-schema. This behavior is unchanged for @rjsf/validator-ajv6.
- Disable Ajv strict mode by default.
- Add RJSF-specific additional properties keywords to Ajv to prevent errors from being reported in strict mode.

# 5.0.0-beta.12

## @rjsf/antd
Expand Down

0 comments on commit 82dfc8d

Please sign in to comment.