Releases: rjsf-team/react-jsonschema-form
Releases · rjsf-team/react-jsonschema-form
5.19.0
New API and feature
- API:
dateRangeOptions()
- Feature:
AltDateWidget
supports relative Years and reversed order of Year choices
@rjsf/antd
- Updated
AltDateWidget
to use the newdateRangeOptions()
function inutils
to support relative Years and reversing the order of the Year choices
@rjsf/chakra-ui
- Updated
AltDateWidget
to use the newdateRangeOptions()
function inutils
to support relative Years and reversing the order of the Year choices
@rjsf/core
- Fixed case where
readOnly
from a JSON Schema was not applied in SchemaField (#4236) - Updated
AltDateWidget
to use the newdateRangeOptions()
function inutils
to support relative Years and reversing the order of the Year choices
@rjsf/utils
- Added a new
dateRangeOptions()
function to implement relative Years in (via negative ranges) and reversing the order of the Year choices
Dev / docs / playground
- Added documentation for the new
dateRangeOptions()
function as well as showing examples of using relative Years and reversed Year ordering
5.18.6
5.18.5
@rjsf/antd
- Updated widgets to handle undefined
target
inonFocus
andonBlur
handlers
@rjsf/bootstrap4
- Updated widgets to handle undefined
target
inonFocus
andonBlur
handlers
@rjsf/chakra-ui
- Updated widgets to handle undefined
target
inonFocus
andonBlur
handlers
@rjsf/core
- Fix case where NumberField would not properly reset the field when using programmatic form reset #4202
- Updated widgets to handle undefined
target
inonFocus
andonBlur
handlers - Fix field disable or readonly property can't cover globalOptions corresponding property #4212
@rjsf/fluent-ui
- Updated widgets to handle undefined
target
inonFocus
andonBlur
handlers
@rjsf/fluentui-rc
- Updated widgets to handle undefined
target
inonFocus
andonBlur
handlers
@rjsf/material-ui
- Updated widgets to handle undefined
target
inonFocus
andonBlur
handlers
@rjsf/mui
- Updated widgets to handle undefined
target
inonFocus
andonBlur
handlers
@rjsf/semantic-ui
- Updated widgets to handle undefined
target
inonFocus
andonBlur
handlers
@rjsf/validator-ajv6
- Improved performance issues with large schema dependencies and oneOf conditions #4203.
@rjsf/validator-ajv8
- Improved performance issues with large schema dependencies and oneOf conditions #4203.
5.18.4
Dev / docs / playground
- Fixed typo in
constants.ts
,Form.tsx
5.18.3
@rjsf/semantic-ui
- Added support for version 2 in the
peerDependencies
Dev / docs / playground
- Bumped devDependencies on
react
to18.x
- Fixed typo in
custom-widgets-fields.md
in the documentation - Updated the
LICENSE.md
to include the proper copyright dates and owner
5.18.2
@rjsf/core
- Fixed Programmatic submit not working properly in Firefox #3121
@rjsf/utils
- #4116 Fix Maximum call stack size exceeded when encountering circular definitions (Link to PR)
5.18.1
- Bumped peer dependencies since
5.18.0
introduced new features in@rjsf/utils
that affect@rjsf/core
5.18.0
New features
- Two new features added to
experimental_defaultFormStateBehavior
- emptyObjectFields skipEmptyDefault option
- arrayMinItems.computeSkipPopulate
@rjsf/antd
- Fix issue where the theme provided by the ConfigProvider under antd v5 wasn't respected thereby rendering the form items unusable under dark themes #4129
@rjsf/core
- Fix Error state not resetting when schema changes #4079
@rjsf/mui
- Fixed the
SelectWidget
andBaseInputTemplate
to filter outerrorSchema
andautocomplete
from thetextFieldProps
being spread onto theTextField
, fixing #4134
@rjsf/utils
- Added a new
skipEmptyDefault
option inemptyObjectFields
, fixing #3880 - Added a new
computeSkipPopulate
option inarrayMinItems
, allowing custom logic to skip populating arrays with default values, implementing #4121. - Fixed bug where the string
"\</strong>"
would get printed next to filenames when uploading files, and restored intended bolding of filenames fixing #4120.
Dev / docs / playground
- Updated the documentation to describe how to use the
skipEmptyDefault
option. - Fixed missing import of
Form
in usage documentation - fixing #4127
5.17.1
@rjsf/chakra-ui
- Added support for
UiSchema
"ui:rows"
option fortextarea
elements, fixing #4070.
@rjsf/core
- #4091 Added
errorSchema
toArrayFieldTemplate
props.
@rjsf/utils
- #4080 - BREAKING CHANGE: Removed the
base64
object from the@rjsf/utils
package. Note that this is a breaking change if you relied on thebase64
object exported by@rjsf/utils
. Since this change caused #4080, and was only internally used by playground code, we are shipping this change in a patch release. - #4091 Added
errorSchema
to theArrayFieldTemplateProps
type.
Dev / docs / playground
- #4080 - Moved the
base64
encoder/decoder object to the Playground package. - Added test configuration and script to the Playground.
5.17.0
New Feature
- Added support for
anyOf
/oneOf
inuiSchema
s in theMultiSchemaField
, see documentation
@rjsf/core
- Added support for
anyOf
/oneOf
inuiSchema
s in theMultiSchemaField
, fixing #4039 - Fix potential XSS vulnerability in the preview button of FileWidget, fixing #4057
@rjsf/utils
- #4024 Added
base64
to supportencoding
anddecoding
using theUTF-8
charset to support the characters out of theLatin1
range. - Updated
enumOptionsValueForIndex()
to fix issue that filtered enum options with a value that was 0, fixing #4067 - Changes the way of parsing the data URL, to fix #4057
Dev / docs / playground
- #4024 Updated the base64 references from (
atob
andbtoa
) to invoke the functions from the newbase64
object in@rjsf/utils
. - Updated the
uiSchema.md
documentation to describe how to use the newanyOf
/oneOf
support