Releases: rjsf-team/react-jsonschema-form
Releases · rjsf-team/react-jsonschema-form
v4.2.1
What's Changed
- fix typo by @epicfaace in #2854
- Build all packages with TypeScript, including core by @nickgros in #2799
- fix(@rjsf/chakra-ui): append SubmitButton by @terrierscript in #2860
- fix: Pass uiSchema to custom ArrayField by @bakajvo in #2769
- fix(@rjsf-antd): Submit button type bug (#2867) by @sarpere in #2869
- Docs: Clarify registry object structure and that it's passed down to custom widgets by @epicfaace in #2886
- fix: allow UISchemaSubmitButtonOptions properties to be undefined by @maxpou in #2876
- Create FUNDING.yml by @epicfaace in #2866
- docs: fix schema dependencies link by @epicfaace in #2885
- chore(deps): bump core-js-pure from 3.21.1 to 3.23.3 by @dependabot in #2902
- chore(deps): bump minimist from 1.2.5 to 1.2.6 in /packages/fluent-ui by @dependabot in #2805
New Contributors
- @terrierscript made their first contribution in #2860
- @bakajvo made their first contribution in #2769
- @sarpere made their first contribution in #2869
- @maxpou made their first contribution in #2876
Full Changelog: v4.2.0...v4.2.1
v4.2.0
@rjsf/core
- Feature for ui:submitButtonOptions on the submit button for forms (#2640)
- Fix
ui:orderable
andui:removable
in arrays (#2797) - Fix for nested allOf blocks with multiple if/then/else statements failing to render correctly (#2839)
Dev / docs / playground
- Enable ui options in playground, to demonstrate submit button options (#2640)
- Document the
material-ui
context and hook (#2757)
@rjsf/material-ui
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (#2833)
- Fixed bundler warning issue (#2762) by exporting a
@rjsf/material-ui/v4
and@rjsf/material-ui/v5
sub-package- NOTE:
@rjsf/material-ui
was retained to avoid a breaking change, but using it will continue to cause bundler warnings - See the
README.md
for the@rjsf/material-ui
package for updated usage information
- NOTE:
- Fixed (#2831) for
material-ui
by removing theDefaultChildren
passed into the themes
@rjsf/bootstrap-4
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (#2640)
@rjsf/semantic-ui
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (#2640)
@rjsf/antd
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (#2640)
@rjsf/fluent-ui
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (#2640)
New Contributors
- @lpillonel made their first contribution in #2795
- @innerkore made their first contribution in #2832
- @sophstad made their first contribution in #2797
- @milesmcc made their first contribution in #2844
- @constantingoeldel made their first contribution in #2850
- @ranihorev made their first contribution in #2851
- @stuartwilkes made their first contribution in #2839
Full Changelog: v4.1.1...v4.2.0
v4.1.1
@rjsf/material-ui
- Fix bloated bundle size by individually requiring all MUI components (#2754)
- Add new
useMuiComponent()
hook as a shortcut foruseContext(MuiComponentContext)
New Contributors
- @rollercodester made their first contribution in #2754
- @kokoyroy made their first contribution in #2770
Full Changelog: v4.0.1...v4.1.1
v4.1.0
What's Changed
@rjsf/core
- To improve performance, skip validating subschemas in oneOf / anyOf if formData is undefined (#2676)
- Fixed the
toIdSchema()
typescript definition to add newidSeparator
prop along with the spelling ofidPrefix
- Also passed the new
idSeparator
prop through to theAnyOfField
andOneOfField
inside ofSchemaField
- Updated
ArrayField
in@rjsf/core
to passidSeparator
andidPrefix
through toSchemaField
, fixing a small bug
- Also passed the new
- Added support for the new
ui:hideError
feature, which allows you to hide errors at a field level
@rjsf/material-ui
- Remove
console.log()
of the import error inMaterialUIContext
andMui5Context
- Export the
MaterialComponentContext
(#2724)
Dev / docs / playground
- Added documentation for the new
ui:hideError
feature
New Contributors
- @KittyJose made their first contribution in #2676
Full Changelog: v4.0.1...v4.1.0
v4.0.1
- Bumped the peer dependencies of
@rjsf/core
to^4.0.0
for all of themes inpackage.json
- Also, added tests to all themes to verify that the
tagName
prop works as expected
@rjsf/core
- Updated
Form
to support thesemantic-ui
andmaterial-ui
themes to allow them work whentagName
is provided - Support if/then/else (#2700)
@rjsf/material-ui
- Fixed up the
Theme
andTheme5
implementations to deal with a regression in which addingtagName
caused the 2 themes to not work - Only
console.log()
the import error inMaterialUIContext
andMui5Context
when not inproduction
to eliminate tons of warnings for released code
@rjsf/semantic-ui
- Fixed up the
Theme
implementation to deal with a regression in which addingtagName
caused the theme to not work
New Contributors
Full Changelog: v4.0.0...v4.0.1
v4.0.0
@rjsf/core
- Add React 17 as a supported peer-dependency
- Introduce
idSeparator
prop to change the path separator used to generate field names (#2628) - Array fields support custom widgets (previously, only multiple-choice arrays with
enums
oruniqueItems
support it) (#2697)
@rjsf/material-ui
- Added React 17 as an optional peer dependency
- Minimum version of React required to use package is now React 16.3
- Bumped required minimum versions of
@material-ui/core
and@material-ui/icons
to the latest (4.12.0
and4.11.1
)- New exports:
MuiForm4
andTheme4
are aliases to the material-ui version 4MuiForm
andTheme
- The Material-UI 4 theme will fallback to a form with a message indicating
@material-ui
is not available when one (or both) of the libraries are not installed
- New exports:
- Added support for material-ui version 5 on top of React 17
- Requires React 17 so will need to upgrade project
- Added
@mui/material
,@mui/icons-material
,@emotion/react
and@emotion/styled
as optional peer dependencies - New exports:
MuiForm5
andTheme5
support using the Material UI 5 libraries instead of version 4 - The Material-UI 5 theme will fallback to a form with a message indicating
@mui
is not available when one (or both) of the libraries are not installed
@rjsf/chakra-ui
- Added support for this new theme
Dev / docs / playground
- Upgraded playground to use React 17
- Differentiated the material-ui 4 and 5 themes
- Added chakra-ui theme
New Contributors
- @gpop made their first contribution in #2647
- @ianwith made their first contribution in #2644
- @rodrigofuentes made their first contribution in #2692
- @green7ea made their first contribution in #2628
- @dieseldjango made their first contribution in #2695
- @alfonsoar made their first contribution in #2697
- @octalpixel made their first contribution in #2714
Full Changelog: v3.2.1...v4.0.0
v3.2.1
v3.2.0
@rjsf/core
- Fix for clearing errors after updating and submitting form (#2536)
- bootstrap-4 TextWidget wrappers now pull from registry, add rootSchema to Registry, fix FieldProps.onFocus type to match WidgetProps (#2519)
- Added global
readonly
flag to theForm
(#2554) - Fix to allow changing
additionalProperties
to falsy values (#2540) - Pass uiSchema to custom Boolean widget (#2587)
@rjsf/bootstrap-4
- bootstrap-4 TextWidget wrappers now pull from registry, add rootSchema to Registry, fix FieldProps.onFocus type to match WidgetProps (#2519)
@rjsf/fluent-ui
- fluent-ui: Allow value of 0 in TextWidget (#2497)
Dev / docs / playground
v3.1.0
@rjsf/core
- Properly assign label prop for MultiSelect ArrayField (#2459)
- Take into account implicitly defined types when rendering labels for fields (#2502)
@rjsf/antd
- Add default Form export to @rjsf/antd (#2514)
@rjsf/fluent-ui
- Make material-ui and fluent-ui pull TextWidget from the registry; remove registry prop from in TextWidget (#2515)
@rjsf/material-ui
- Make material-ui and fluent-ui pull TextWidget from the registry; remove registry prop from in TextWidget (#2515)
@rjsf/semantic-ui
- Use getDisplayLabel to properly show labels for widgets (#2225)
- Add submit button, email, url, date widgets (#2224)
Dev / docs / playground
- Several dependency updates