react-jsonschema-form v5.0.0-beta.9 Release Notes
-
@rjsf/antd
- Pass
uiSchema
appropriately to all of theIconButton
s,ArrayFieldItemTemplate
andWrapIfAdditional
components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)
@rjsf/bootstrap
- ⚡️ Updated the
FieldErrorTemplate
to remove the explicit typing of theerror
to string to support the two options - ⚡️ Updated
Theme
to use the renamedThemeProps
from@rjsf/core
- Pass
uiSchema
appropriately to all of theIconButton
s,ArrayFieldItemTemplate
andWrapIfAdditional
components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)
💻 @rjsf/chakra-ui
- ⚡️ Updated
Theme
to use the renamedThemeProps
from@rjsf/core
- Pass
uiSchema
appropriately to all of theIconButton
s,ArrayFieldItemTemplate
andWrapIfAdditional
components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)
@rjsf/core
- ⚡️ Updated the
FieldErrorTemplate
to remove the explicit typing of theerror
to string to support the two options - Implemented programmatic validation via new
validateForm()
method onForm
, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2755, https://github.com/rjsf-team/react-jsonschema-form/issues/2552, https://github.com/rjsf-team/react-jsonschema-form/issues/2381, https://github.com/rjsf-team/react-jsonschema-form/issues/2343, https://github.com/rjsf-team/react-jsonschema-form/issues/1006, https://github.com/rjsf-team/react-jsonschema-form/issues/246) - 📇 Renamed
WithThemeProps
toThemeProps
to prevent another breaking-change by returning the type back to the name it had in version 4 - Pass
uiSchema
appropriately to all of theIconButton
s,ArrayFieldItemTemplate
andWrapIfAdditional
components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130) - ⚡️ Updated
ArrayField
to fall back toSchemaField
ifArraySchemaField
is not defined, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3131)
💻 @rjsf/fluent-ui
- ⚡️ Updated
Theme
to use the renamedThemeProps
from@rjsf/core
- Pass
uiSchema
appropriately to all of theIconButton
s andArrayFieldItemTemplate
components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)
💻 @rjsf/material-ui
- ⚡️ Updated
Theme
to use the renamedThemeProps
from@rjsf/core
- Pass
uiSchema
appropriately to all of theIconButton
s,ArrayFieldItemTemplate
andWrapIfAdditional
components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)
@rjsf/mui
- ⚡️ Updated
Theme
to use the renamedThemeProps
from@rjsf/core
- Pass
uiSchema
appropriately to all of theIconButton
s,ArrayFieldItemTemplate
andWrapIfAdditional
components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)
💻 @rjsf/semantic-ui
- ⚡️ Updated the
FieldErrorTemplate
to use thechildren
variation of theList.Item
that supports ReactElement - Pass
uiSchema
appropriately to all of theIconButton
s,ArrayFieldItemTemplate
andWrapIfAdditional
components, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)
@rjsf/utils
- ⚡️ Updated the
FieldErrorProps
type to make it support an array of string and ReactElement - ⚡️ Updated the
IconButtonProps
type to adduiSchema
, adding the<T = any, F = any>
generics to it and the associatedButtonTemplates
inTemplatesType
AND addeduiSchema
toArrayFieldTemplateItemType
as well, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3130)
📄 Dev / docs / playground
- ⚡️ Updated the
custom-templates.md
file to add the missing asterisk to the newFieldErrorTemplate
andFieldHelpTemplate
- ⚡️ Updated the playground to add a new button for programmatically validating a form
- 📚 Also updated the
validation.md
documentation to describe how to programmatically validate a form - 🛠 Fixed the
chakra-ui
customuiSchema
documentation to make it clear they work on a per-field basis, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2865) - ➕ Added
formElement
breaking-change documentation to the5.x upgrade guide.md
- Replace Webpack with Vite
- 📚 Updated documentation for
ArraySchemaField
to better represent the updated implementation, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/3131)
- Pass