react-jsonschema-form v5.0.0-beta.12 Release Notes
-
@rjsf/antd
- ⚡️ Updated the tests to use the
@rjsf/validator-ajv8
fixing #3110
@rjsf/bootstrap
- ⚡️ Updated the tests to use the
@rjsf/validator-ajv8
fixing #3110
💻 @rjsf/chakra-ui
- Automatically close single-choice Select widget on selection
- ⚡️ Updated the tests to use the
@rjsf/validator-ajv8
fixing #3110
@rjsf/core
- 💥 BREAKING CHANGE: ShowErrorList prop changed to support
false
,top
orbottom
;true
is no longer a valid value as the default changed fromtrue
totop
#634 - ➕ Added the new generic,
S extends StrictRJSFSchema = RJSFSchema
, forschema
/rootSchema
to every component that needed it. - 🛠 Fix omitExtraData with field names with dots #2643
- ⚡️ Updated the tests to use the
@rjsf/validator-ajv8
fixing #3110 - 🔄 Changed the
F = any
generic to beF extends FormContextType = any
to better support howformContext
is defined and used, partially fixing #3072
💻 @rjsf/fluent-ui
- ⚡️ Updated the tests to use the
@rjsf/validator-ajv8
fixing #3110
💻 @rjsf/material-ui
- ⚡️ Updated the tests to use the
@rjsf/validator-ajv8
fixing #3110
@rjsf/mui
- ⚡️ Updated the tests to use the
@rjsf/validator-ajv8
fixing #3110
💻 @rjsf/semantic-ui
- ⚡️ Updated the tests to use the
@rjsf/validator-ajv8
fixing #3110
@rjsf/utils
- Beta-only potentially BREAKING CHANGE: Changed all types that directly or indirectly defined
schema
/rootSchema
to add the genericS extends StrictRJSFSchema = RJSFSchema
and useS
as the type for them.StrictRJSFSchema
was added as the alias toJSON7Schema
andRJSFSchema
was modified to beStrictRJSFSchema & GenericObjectType
- This new generic was added BEFORE the newly added
F = any
generic because it is assumed that more people will want to change the schema than the formContext types - This provides future support for the newer draft versions of the schema
- ⚡️ Updated the
ValidatorType
interface to add a newrawValidation()
method for use by the playground - ➕ Added the
FormContextType
alias toGenericObjectType
and changing theF = any
generic to beF extends FormContextType = any
to better support howformContext
is defined and used, partially fixing #3072
@rjsf/validator-ajv6
- 🛠 Fixed a few type casts given the new expanded definition of the
RJSFSchema
type change - 🗄 Deprecated this library in favor of the
@rjsf/validator-ajv8
- 🔨 Refactored out the
rawValidation()
function for use by the playground
@rjsf/validator-ajv8
- ⚡️ Updated the typing to add the new
S extends StrictRJSFSchema = RJSFSchema
generic and fixed up type casts - ➕ Added the
AjvClass
prop to theCustomValidatorOptionsType
to support using theAjv2019
orAjv2020
class implementation instead of the defaultAjv
class; fixing #3189 - 🔨 Refactored out the
rawValidation()
function for use by the playground
📄 Dev / docs / playground
- ⚡️ Updated the
5.x upgrade guide
andutility-functions.md
to document the newStrictRJSFSchema
, theS
generic and changing theF
generic extend - ⚡️ Updated the
validation
guide to document the newAjvClass
prop onCustomValidatorOptionsType
and mentioning the deprecation of@rjsf/validator-ajv6
- ⚡️ Updated the playground to add support for using the AJV 8 validator with the
draft-2019-09
anddraft-2020-12
schemas and to make theAJV8
validator the default validator, markingAJV6
as deprecated - 📚 Updated all the documentation to switch to Typescript notation where missing along with switching to using the
@rjsf/validator-ajv8
validator as the default - ➕ Added a way of doing a raw Ajv validation in the playground to determine whether an issue is with RJSF or Ajv
- ⚡️ Updated the tests to use the