5.0.0-beta.12
Pre-release
Pre-release
·
806 commits
to main
since this release
@rjsf/antd
- Updated the tests to use the
@rjsf/validator-ajv8fixing #3110
@rjsf/bootstrap
- Updated the tests to use the
@rjsf/validator-ajv8fixing #3110
@rjsf/chakra-ui
- Automatically close single-choice Select widget on selection
- Updated the tests to use the
@rjsf/validator-ajv8fixing #3110
@rjsf/core
- BREAKING CHANGE: ShowErrorList prop changed to support
false,toporbottom;trueis no longer a valid value as the default changed fromtruetotop#634 - Added the new generic,
S extends StrictRJSFSchema = RJSFSchema, forschema/rootSchemato every component that needed it. - Fix omitExtraData with field names with dots #2643
- Updated the tests to use the
@rjsf/validator-ajv8fixing #3110 - Changed the
F = anygeneric to beF extends FormContextType = anyto better support howformContextis defined and used, partially fixing #3072
@rjsf/fluent-ui
- Updated the tests to use the
@rjsf/validator-ajv8fixing #3110
@rjsf/material-ui
- Updated the tests to use the
@rjsf/validator-ajv8fixing #3110
@rjsf/mui
- Updated the tests to use the
@rjsf/validator-ajv8fixing #3110
@rjsf/semantic-ui
- Updated the tests to use the
@rjsf/validator-ajv8fixing #3110
@rjsf/utils
- Beta-only potentially BREAKING CHANGE: Changed all types that directly or indirectly defined
schema/rootSchemato add the genericS extends StrictRJSFSchema = RJSFSchemaand useSas the type for them.StrictRJSFSchemawas added as the alias toJSON7SchemaandRJSFSchemawas modified to beStrictRJSFSchema & GenericObjectType- This new generic was added BEFORE the newly added
F = anygeneric 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
ValidatorTypeinterface to add a newrawValidation()method for use by the playground - Added the
FormContextTypealias toGenericObjectTypeand changing theF = anygeneric to beF extends FormContextType = anyto better support howformContextis defined and used, partially fixing #3072
@rjsf/validator-ajv6
- Fixed a few type casts given the new expanded definition of the
RJSFSchematype 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 = RJSFSchemageneric and fixed up type casts - Added the
AjvClassprop to theCustomValidatorOptionsTypeto support using theAjv2019orAjv2020class implementation instead of the defaultAjvclass; fixing #3189 - Refactored out the
rawValidation()function for use by the playground
Dev / docs / playground
- Updated the
5.x upgrade guideandutility-functions.mdto document the newStrictRJSFSchema, theSgeneric and changing theFgeneric extend - Updated the
validationguide to document the newAjvClassprop onCustomValidatorOptionsTypeand mentioning the deprecation of@rjsf/validator-ajv6 - Updated the playground to add support for using the AJV 8 validator with the
draft-2019-09anddraft-2020-12schemas and to make theAJV8validator the default validator, markingAJV6as deprecated - Updated all the documentation to switch to Typescript notation where missing along with switching to using the
@rjsf/validator-ajv8validator 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