Releases: rjsf-team/react-jsonschema-form
Releases · rjsf-team/react-jsonschema-form
6.0.0-beta.15
@rjsf/chakra-ui
- Updated
package.jsonfor to makelucide-reacta dependency rather than a devDependency, fixing #4739
@rjsf/core
- Updated
ArrayFieldonSelectChangeto not passnamein thepathsince theObjectFieldwill automatically add it #4733 - Updated
Formto optimize the need for live validation in an attempt to improve performance, potentially fixing #3616
@rjsf/semantic-ui
- Updated
ArrayFieldto stop usingnanoidand instead uselodash/uniqueIdto fix #4762
@rjsf/shadcn
- Update
README.mdwith picture of the theme! - Allow passing
classNameprops toAddButton,BaseInputTemplate,CheckboxWidget,CheckboxesWidget,RadioWidget,SelectWidget,SubmitButton,TextareaWidgetfor extra Tailwind CSS customization throughui:className
@rjsf/utils
- Updated
getTestIdsto stop usingnanoidand instead uselodash/uniqueIdto fix #4762
Dev / docs / playground
- Removed
nanoidfrom the build system andjest.config.jsfiles
5.24.13
6.0.0-beta.14
- A BREAKING CHANGE to the FieldProps.onChange callback function was made that COULD affect custom fields, depending on the implementation.
@rjsf/core
- Added support for dynamic UI schema in array fields - the
itemsproperty inuiSchemacan now accept a function that returns a UI schema based on the array item's data, index, and form context (#4706) - Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704
- Updated all of the
XxxxFieldcomponents andFormto handle the newpathparameter inFieldProps.onChange, makingFormqueue up changes so that they are all processed and no data is lost, fixing #3367 - Updated a bug in
AltDateWidgetrelated to theclearbutton not working after the fix for #3367 - Fixed the missing hook dependencies for the
CheckboxesWidgetso that they work properly
@rjsf/chakra-ui
- Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704
@rjsf/daisyui
- Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704
- Fixed additional properties rendering by properly connecting the
FieldTemplateandWrapIfAdditionalTemplate, fixing 4707 - Fixed the missing hook dependencies in the
DateTimeWidgetandDateWidgetso that they work properly
@rjsf/fluentui-rc
- Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704
@rjsf/mantine
- Added new theme!
@rjsf/mui
- Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704
@rjsf/primereact
- Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704
@rjsf/semantic-ui
- Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704
@rjsf/shadcn
- Bump
@shadcn/uicomponents to use latest version from https://ui.shadcn.com/ - Bump
tailwindcssto using v4 and css compiling process to use latest@tailwindcss/cli - Remove
postcssdue to new Oxide compiler of tailwindcss - Update playground themes with
default,Amethyst Haze,Caffeine,Claude,Neo Brutalism,Pastel Dreams,Soft Pop,Twitter,Vercel - Radio widget labels are now accessible and can be clicked on to select the associated option.
@rjsf/utils
- Updated
UiSchematype to support dynamic array item UI schemas - theitemsproperty can now be either aUiSchemaobject or a function that returns aUiSchema(#4706) - Added
titleproperty toRJSFValidationErrorPR - BREAKING CHANGE: Updated the
FieldPropsinterface'sonChangehandler to inject a new optionalpathbefore theErrorSchemaparameter as part of the fix for #3367
@rjsf/validator-ajv8
- Updated
transformRJSFValidationErrors()to include thetitleproperty of a field with error fixing #4504 with PR - Updated
AJVValidatorto handle the attempted compile of a bad schema, fixing #4357
Dev / docs / playground
- Added comprehensive documentation for dynamic UI schema feature with TypeScript examples #4706
- Updated array documentation to reference the new dynamic UI schema capabilities #4706
- Updated nearly all of the libraries in the
package.jsonfiles to the latest non-breaking versions - Fixed the broken
Custom Arraysample - Improved the
Any Of with Custom Fieldsample so that it renders using the appropriate theme components - Updated the
custom-widgets-fields.mdandv6.x upgrade guide.mdto document the BREAKING CHANGE to theFieldProps.onChangebehavior - Updated the playground to properly output the
validationErrorwhen runningRaw Validate
6.0.0-beta.13
@rjsf/shadcn
- Updated
lodashimport infancy-multi-select.tsxto to be direct import, fixing #4696
6.0.0-beta.13
@rjsf/core
- Added
experimental_componentUpdateStrategyprop toFormcomponent to control re-render optimization behavior. Supports'customDeep'(default, uses deep equality checks that ignore functions),'shallow', and'always'
@rjsf/utils
- Extended
Registryinterface to include optionalexperimental_componentUpdateStrategyproperty - Added
shallowEquals()utility function for shallow equality comparisons - Fixed boolean fields incorrectly set to
{}when switching oneOf/anyOf options withmergeDefaultsIntoFormDataset touseDefaultIfFormDataUndefined, fixing #4709 (#4710) - Always make all references absolute in nested bundled schemas
6.0.0-beta.12
@rjsf/core
- Updated
Formto store theschemaUtils.getRootSchema()into thestate.schemaand use that everywhere as theschema
@rjsf/shadcn
- Updated the building of
shadcnto use thelodashReplacerwithtsc-aliasfixing #4678
@rjsf/utils
- Updated
SchemaUtilsandcreateSchemaUtils()to add a newgetRootSchema()function
v5.24.12
6.0.0-beta.11
@rjsf/antd
- Set peerDependency for
@ant-design/iconsto^6.0.0, fixing #4643 - Added
MultiSchemaFieldTemplate
@rjsf/chakra-ui
- Added
MultiSchemaFieldTemplate - Improve visual styling of error validation boxes
- Update
chakra-ui/reactpackage to^3.19.1
@rjsf/core
- Refactored
MultiSchemaFieldto use theMultiSchemaFieldTemplateprovided by the registry. - Added
MultiSchemaFieldTemplatecomponent to maintain the same functionality as the previousMultiSchemaFieldimplementation.
@rjsf/daisyui
- Added
MultiSchemaFieldTemplate
@rjsf/fluentui-rc
- Added
MultiSchemaFieldTemplate
@rjsf/mui
- Added
MultiSchemaFieldTemplate
@rjsf/primereact
- New theme!
@rjsf/react-bootstrap
- Added
MultiSchemaFieldTemplate
@rjsf/semantic-ui
- Added
MultiSchemaFieldTemplate
@rjsf/shadcn
- Added
MultiSchemaFieldTemplate
@rjsf/utils
- Fixed issue where oneOf radio button could not be modified when defaults were set, fixing #4634
- Fix default value for object properties such as enums that are rendered in select, radio inputs, etc.
- Add support for
MultiSchemaFieldTemplate, with newMultiSchemaFieldTemplateProps, to theTemplatesTypeinterface
Dev / docs / playground
- Added documentation for the new
MultiSchemaFieldTemplate
v5.24.11
@rjsf/utils
- (Backported change from 6.0.0-beta.8) Fixed issue where oneOf schema references could not be modified when defaults were set, fixing #4580.
- (Backported change from 6.0.0-beta.11) Fixed issue where oneOf radio button could not be modified when defaults were set, fixing #4634
Full Changelog: v5.24.10...v5.24.11
6.0.0-beta.9
BREAKING CHANGE
- In
@rjsf/mui, upgraded MUI to version 7, dropping support for earlier versions due to conversion ofGrids to v7 version (a MUI breaking change)
@rjsf/antd
- Updated the
README.mdfile for dependencies and snapshots due to updating to latestantd
@rjsf/chakra-ui
- Updated
SelectWidgetto only pick the first element in a list when single selection is active, fixing #4623 - Updated the
README.mdfile for dependencies
@rjsf/daisyui
- Updated the
README.mdfile for dependencies - Updated
package.jsonto move@fluentuipackages to peer and dev dependencies
@rjsf/fluentui-rc
- Updated the
README.mdfile for dependencies - Updated
package.jsonto movedaisyuito peer and dev dependencies
@rjsf/mui
- Updated the
README.mdfile for dependencies - BREAKING CHANGE: Upgraded MUI to version 7, dropping support for earlier versions due to conversion of
Grids to v7 version (a MUI breaking change)
@rjsf/react-bootstrap
- Updated the
README.mdfile for dependencies
@rjsf/semantic-ui
- Updated the
README.mdfile for dependencies - Deprecated the theme due to it appearing to be a dead project
@rjsf/shadcn
- Updated the
README.mdfile for dependencies
@rjsf/util
- Fixed form data propagation with
patternProperties#4617 - Updated the
GlobalUISchemaOptionstypes to extendGenericObjectTypeto support user-defined values for their extensions
Dev / docs / playground
- Updated
playgroundto use MUI version 7 - Updated
v6 upgrade guide.mdto note the breaking change for MUI 7 and deprecation ofsemantic-ui
6.0.0-beta.10
@rjsf/mui
- Fixed build process to remove the
tsc-aliasreplacer that was adding/index.jsonto the@mui/Xxxximports since MUI 7 has proper ESM support