5.0.0 is released!
After 9 months of hard work by many contributor, the 5.0.0 release is officially out
BREAKING CHANGES WARNING
There are many breaking changes in this new major release.
Consult the 5.x migration guide for all the details
In addition to all of the changes made in the 5.0.0-beta.1
through 5.0.0-beta.20
pre-releases, the following additional changes have been made:
@rjsf/antd
- Updated
CheckboxesWidget
,RadioWidget
andSelectWidget
to use indexes as values to supportenumOptions
with object values, fixing #1494
@rjsf/bootstrap-4
- Updated
CheckboxesWidget
,RadioWidget
andSelectWidget
to use indexes as values to supportenumOptions
with object values, fixing #1494
@rjsf/chakra-ui
- Updated
CheckboxesWidget
,RadioWidget
andSelectWidget
to use indexes as values to supportenumOptions
with object values, fixing #1494
@rjsf/core
- Updated
CheckboxesWidget
,RadioWidget
andSelectWidget
to use indexes as values to supportenumOptions
with object values, fixing #1494
@rjsf/fluent-ui
- Updated
CheckboxesWidget
,RadioWidget
andSelectWidget
to use indexes as values to supportenumOptions
with object values, fixing #1494
@rjsf/material-ui
- Updated
CheckboxesWidget
,RadioWidget
andSelectWidget
to use indexes as values to supportenumOptions
with object values, fixing #1494
@rjsf/mui
- Updated
CheckboxesWidget
,RadioWidget
andSelectWidget
to use indexes as values to supportenumOptions
with object values, fixing #1494
@rjsf/semantic-ui
- Updated
CheckboxesWidget
,RadioWidget
andSelectWidget
to use indexes as values to supportenumOptions
with object values, fixing #1494
@rjsf/utils
- Added
enumOptionsIndexForValue()
,enumOptionsIsSelected()
,enumOptionsValueForIndex()
functions to support fixing #1494- Updated
enumOptionsDeselectValue()
,enumOptionsSelectValue()
andoptionId()
to use indexes instead of values - Deleted the
processSelectValue()
that was added in the beta and is no longer needed
- Updated
Dev / docs / playground
- Updated the
utility-functions
documentation for the new and updated methods mentioned above, as well as deleting the documentation forprocessSelectValue()
- Updated the playground to add a new
Enum Objects
example to highlight the use of indexes forenumOptions
- Updated
5.x migration guide
to document the change from values to indexes for theenumOptions
based controls.