Releases: rjsf-team/react-jsonschema-form
Releases · rjsf-team/react-jsonschema-form
5.16.1
Dev / docs / playground
- Bumped peer dependencies due to new utils function
5.16.0
New Features
dateElementProps
utility functions and file deletion support in theFileWidget
@rjsf/core
- Pass indexed title from array into its items, adding enhancement asked in #3983
- Removed
dateElementProps
function implementation, and replaced it withgetDateElementProps
from@rjsf/utils
. - Modify submit method to make it a public method, fixing #4015
- Support file deletion for
format: "data-url"
inFileWidget
, fixing #3957.
@rjsf/antd
- Removed
dateElementProps
function implementation, and replaced it withgetDateElementProps
from@rjsf/utils
.
@rjsf/chakra-ui
- Removed
dateElementProps
function implementation, and replaced it withgetDateElementProps
from@rjsf/utils
.
@rjsf/mui
- Updated the
FieldErrorTemplate
andFieldHelpTemplate
to support html-based errors that cause<xxxx> cannot appear as a descendant of <p>
browser warnings, fixing #4031
@rjsf/utils
- Added
getDateElementProps()
to refactor duplicate function incore
,antd
&chakra-ui
AltDateWidget's source code. The same function, implements the feature requested in #297
Dev / docs / playground
- Updated docs and playground with the implementation guide of newly added date re-order feature.
5.15.1
@rjsf/core
- fix
getFieldNames
. Now correctly defines an array of primitives.
@rjsf/validator-ajv6
- Updated the
AJV6Validator
class to expose the internalajv
object, allowing access to support a fix related to #3972
@rjsf/validator-ajv8
- Updated the
AJV8Validator
class to expose the internalajv
object, allowing access to support a fix related to #3972
Dev / docs / playground
- Updated the documentation to describe how to use the newly exposed
ajv
variable
5.15.0
New feature experimental_defaultFormStateBehavior.allOf
added
@rjsf/mui
- fix gap in text and select widget outlines when
"ui:label": false
is specified.
@rjsf/utils
- Added an experimental flag
allOf
toexperimental_defaultFormStateBehavior
for populating defaults when usingallOf
schemas #3969
Dev / playground
- Added a dropdown for changing the
experimental_defaultFormStateBehavior.allOf
behaviour in the playground
5.14.3
@rjsf/core
- add
retrieveSchema
atForm
state to memoize the result ofschemUtils.retrieveSchema
@rjsf/fluentui-rc
- Updated README.md references
- Fixed width of
ArrayFieldItemTemplate
items
Dev
- update tsconfigs:
"importHelpers": false
to remove need for tslib dependency #3958- increase compilation target level from es6 to es2018 (so there are no need for transpiling object spread/rest feature)
- add missing typescript project reference for
snapshot-tests
in a root tsconfig, update it to also use es modules
5.14.2
@rjsf/antd
- Fixed the
peerDependencies
for@ant-design/icons
to also support v5, fixing #3507
@rjsf/core
- avoid call
retrieveSchema
twice duringgetStateFromProps
andmustValidate
is true #3959
@rjsf/mui
- Resolve the React error caused by the propagation of the
hideError
property to the DOM element, fixing #3945
@rjsf/material-ui
- Resolve the React error caused by the propagation of the
hideError
property to the DOM element, fixing #3945
@rjsf/utils
- Update
sanitizeDataForNewSchema()
to avoid spreading strings and Arrays into the returned value when the old schema is of typestring
orarray
and the new schema is of typeobject
. Fixing #3922
5.14.1
5.14.0
5.13.6
@rjsf/core
- Updated
StringField
to passhideError
prop toWidget
so that all fields are consistent. Missed this file in previous patch
5.13.5
@rjsf/core
- Updated
StringField
andBooleanField
to passhideError
prop toWidget
so that all fields are consistent