Releases: rjsf-team/react-jsonschema-form
Releases · rjsf-team/react-jsonschema-form
5.24.6
5.24.6
NOTE: Not actually released due to build issues
@rjsf/core
- Fixed
src/tsconfig.jsonto add thetsc-aliasblock to support proper fixing up of ESM import
5.24.5
@rjsf/utils
- Fixed
package.jsonto removenodefrom theexportsblock to fix ESM support
5.24.4
@rjsf/utils
- Fixed issue with customValidate errors are not cleared when the form is valid 4365 due to regression
- Add missing
experimental_customMergeAllOfargument toensureFormDataMatchingSchemaintroduced by 4388
Dev / docs / playground
- Improved the ESM support for all public packages by adding explicit
exportsto each publicpackage.json - Updated the ESM builds to use
tsc-aliasto add.jsonto all ESM imports
5.24.3
5.24.2
@rjsf/utils
- switch
lodash.isEqualWithtofast-equals.createCustomEqualprovidingareFunctionsEqualassuming any functions are equal. - Fixed issue with oneOf selector can be modified in readonly mode, fixing #4460
- Fixed issue with fields inside an array can't be set to empty when a default is set, fixing #4456
- Fixed issue with file accept attribute, fixing #4404.
@rjsf/mui
- Fixed issue with file accept attribute, fixing #4404.
5.24.1
@rjsf/utils
- Fixed documentation for
getChangedFields()
Dev / docs / playground
- Updated the peer dependencies for
@rjsf/*to be5.24.x - Added documentation for
getChangedFields()
5.24.0
New features
getChangedFields()utility function
@rjsf/core
- Fixed issue with schema if/then/else conditions where switching to then/else subschemas did not reflect the actual validation errors in the onChange event, fixing #4249 and improving performance.
- Fixed issue error message will not be cleared after the controlled Form formData is changed. Fixes #4426
@rjsf/utils
- Fixed issue with formData not updating when dependencies change, fixing #4325
- Fixed issue with assigning default values to formData with deeply nested required properties, fixing #4399
- Fixed issue error message will not be cleared after the controlled Form formData is changed. Fixes #4426
- Fix for AJV $data reference in const property in schema treated as default/const value. The issue is mentioned in #4361.
- Switched uses of
lodash.isEqual()to@rjsf/utils.deepEquals.
@rjsf/validator-ajv8
- Partially fixed issue where dependency errors do not show
titleorui:title. This fix only applicable if we use an ajv-i18n localizer. Ref. #4402. - Switched uses of
lodash.isEqual()to@rjsf/utils.deepEqualsat precompiledValidator.
5.23.2
@rjsf/core
@rjsf/utils
- Short-circuit
FileandDateconstructor access in isObject to optimize performance in scenarios whereglobalThisis aProxythat incurs overhead for each class constructor access (#4413). Fixes #4409
@rjsf/validator-ajv8
- Fixed issue where
ui:titlein anyOf/oneOf is not shown in error messages. Fixes #4368
5.23.1
@rjsf/chakra-ui
- Updated
package.jsonto restrict@chakra-ui/react's peer dependency to be < 3.0.0, fixing #4390
@rjsf/core
- Updated
NumberFieldto properly pass through theerrorSchemaandidin the onChange handler, fixing #4382
Dev / docs / playground
- Updated the peer dependencies for
@rjsf/*to be5.23.x
5.23.0
New features added
Experimental_DefaultFormStateBehavior.constAsDefaults
@rjsf/core
- Updated
SchemaFieldto no longer make schema fields with const read-only by default, partially fixing #4344
@rjsf/utils
- Updated
Experimental_DefaultFormStateBehaviorto add a newconstAsDefaultsoption - Updated
getDefaultFormState()to use the newconstAsDefaultsoption to control how const is used for defaulting, fixing #4344, #4361 and #4377 - Use
experimental_customMergeAllOfoption in functions that have previously missed it. - Updated
ErrorSchemaBuildermethodsaddErrorsandsetErrorsto prevent duplicate error messages.
@rjsf/validator-ajv8
- Fixed issue where error messages do not have
titleorui:titleif aLocalizerfunction is used. Fixes #4387
Dev / docs / playground
- Updated the playground to add a selector for the
constAsDefaultsoption