6.0.0-beta.20
Pre-release
Pre-release
·
215 commits
to main
since this release
Significant Breaking Changes in this release
In order to support future features and to improve performance, IdSchema was replaced with FieldPathId. See below
@rjsf/antd
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions
@rjsf/chakra-ui
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions
@rjsf/core
- BREAKING CHANGES
- Updated all of the fields, templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions ObjectFieldandArrayFieldto usetoFieldPathIdinstead oftoIdSchema()to generate thefieldPathIds of all its children- Updated the
onChangehandling of fields to makepathrequired and either pass it straight through, or use thefieldPathId.pathinstead of using an empty array or appending path information - Updated
Formto usetoFieldPathId()to generatefieldPathIdinstead ofidSchema, always providing theidPrefixandidSeparatorin theglobalFormOptionsand make thepath: FieldPathListrequired - Updated
LayoutGridFieldto remove theIdSchemarelated code in favor ofFieldPathIdcode
- Updated all of the fields, templates and widgets to change
- Also exported the
getTestRegistry()function from the mainindex.tsto assist developers in creatingregistryobject for tests - Updated all of the test to deal with the
idSchema->fieldPathIdchanges
@rjsf/daisyui
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions - Also fixed the
FieldTemplateto extract thedescriptionelement so that it was not spread onto thediv, fixing the snapshots
@rjsf/fluent-ui
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions
@rjsf/mantine
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions
@rjsf/mui
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions
@rjsf/primereact
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions
@rjsf/react-bootstrap
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions
@rjsf/semantic-ui
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions
@rjsf/shadcn
- BREAKING CHANGES - Updated all of the templates and widgets to change
idSchematofieldPathIdor to remove the<T>off of the idGenerator functions
@rjsf/utils
- Added new
FieldPathListandFieldPathIdtypes andDEFAULT_ID_PREFIXandDEFAULT_ID_SEPARATORtoconstants.ts - Added the new
toFieldPathId()function to generateFieldPathIds, exporting it from the library - Deprecated the
ui:rootFieldIdin theUiSchemasinceidPrefixdoes the same exact thing - BREAKING CHANGES
- Removed the
IdSchematype, replacingidSchema: IdSchema<T>in all types withfieldPathId: FieldPathId - Updated the
idGeneratorsto replaceid: IdSchema<T> | stringwithid: FieldPathId | stringremoving the need for the<T = any>generic on the functions - Removed the
toIdSchema()function in theschemadirectory - Updated the
FieldPropstype'sonChange()callback to make thepath: FieldPathListparameter be required instead of optional - Updated the
SchemaUtilsTypeandcreateSchemaUtils()to remove thetoIdSchema()function
- Removed the
@rjsf/validator-ajv8
- Updated the test to no longer try to test the delete
toIdSchemafunction
Dev / docs / playground
- Updated
custom-templates.md,custom-widgets-fields.mdandlayout-grid.mdto change theidSchemadocumentation tofieldPathId - Updated
uiSchema.mdto mark theui:rootFieldIdas deprecated in the documentation - Updated
utility-functions.mddeletetoIdSchema(), addtoFieldPathId()and to remove the<T>from the id generator functions - Updated
v6.x upgrade guide.mdto document all the breaking changes, new functions and deprecations made in6.0.0-beta.20