- fix typo by @epicfaace in rjsf-team#2854
- Build all packages with TypeScript, including core by @nickgros in rjsf-team#2799
- fix(@rjsf/chakra-ui): append SubmitButton by @terrierscript in rjsf-team#2860
- fix: Pass uiSchema to custom ArrayField by @bakajvo in rjsf-team#2769
- fix(@rjsf-antd): Submit button type bug (#2867) by @sarpere in rjsf-team#2869
- Docs: Clarify registry object structure and that it's passed down to custom widgets by @epicfaace in rjsf-team#2886
- fix: allow UISchemaSubmitButtonOptions properties to be undefined by @maxpou in rjsf-team#2876
- Create FUNDING.yml by @epicfaace in rjsf-team#2866
- docs: fix schema dependencies link by @epicfaace in rjsf-team#2885
- chore(deps): bump core-js-pure from 3.21.1 to 3.23.3 by @dependabot in rjsf-team#2902
- chore(deps): bump minimist from 1.2.5 to 1.2.6 in /packages/fluent-ui by @dependabot in rjsf-team#2805
- Feature for ui:submitButtonOptions on the submit button for forms (rjsf-team#2640)
- Fix
ui:orderable
andui:removable
in arrays (#2797) - Fix for nested allOf blocks with multiple if/then/else statements failing to render correctly (rjsf-team#2839)
- Enable ui options in playground, to demonstrate submit button options (rjsf-team#2640)
- Document the
material-ui
context and hook (#2757)
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (rjsf-team#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
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (rjsf-team#2640)
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (rjsf-team#2640)
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (rjsf-team#2640)
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (rjsf-team#2640)
- Fix bloated bundle size by individually requiring all MUI components (#2754)
- Add new
useMuiComponent()
hook as a shortcut foruseContext(MuiComponentContext)
- Added support for additionalProperties schema property (#2817)
- 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
- Remove
console.log()
of the import error inMaterialUIContext
andMui5Context
- Export the
MaterialComponentContext
(#2724)
- Added documentation for the new
ui:hideError
feature
- 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
- Updated
Form
to support thesemantic-ui
andmaterial-ui
themes to allow them work whentagName
is provided - Support if/then/else (#2700)
- 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
- Fixed up the
Theme
implementation to deal with a regression in which addingtagName
caused the theme to not work
- Add React 17 as a supported peer-dependency
- Introduce
idSeparator
prop to change the path separator used to generate field names (rjsf-team#2628) - Array fields support custom widgets (previously, only multiple-choice arrays with
enums
oruniqueItems
support it) (rjsf-team#2697)
- 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
- Added support for this new theme
- Upgraded playground to use React 17
- Differentiated the material-ui 4 and 5 themes
- Added chakra-ui theme
- "semantic-ui-react" dependency updated to v1.3.1 (rjsf-team#2590)
- fixed an issue where all semantic props overwritten when a single semantic theme-specific prop is passed in (issue 2619) (rjsf-team#2590)
- Don't crash when non-object formData is passed in to a schema item with additionalProperties (rjsf-team#2595)
- Upgrade jsonpointer to 5.0.0 to address security vulnerability (rjsf-team#2599)
- Feature for ui:submitButtonOptions on the submit button for forms (rjsf-team#2640)
- Fix for clearing errors after updating and submitting form (rjsf-team#2536)
- bootstrap-4 TextWidget wrappers now pull from registry, add rootSchema to Registry, fix FieldProps.onFocus type to match WidgetProps (rjsf-team#2519)
- Added global
readonly
flag to theForm
(rjsf-team#2554) - Fix to allow changing
additionalProperties
to falsy values (rjsf-team#2540) - Pass uiSchema to custom Boolean widget (rjsf-team#2587
- bootstrap-4 TextWidget wrappers now pull from registry, add rootSchema to Registry, fix FieldProps.onFocus type to match WidgetProps (rjsf-team#2519)
- fluent-ui: Allow value of 0 in TextWidget (rjsf-team#2497)
- Several dependency updates
- Added global
readonly
flag to theForm
(rjsf-team#2554) - Enable source maps in playground, for development (rjsf-team#2568)
- Properly assign label prop for MultiSelect ArrayField (rjsf-team#2459)
- Take into account implicitly defined types when rendering labels for fields (rjsf-team#2502)
- Add default Form export to @rjsf/antd (rjsf-team#2514)
- Make material-ui and fluent-ui pull TextWidget from the registry; remove registry prop from in TextWidget (rjsf-team#2515)
- Make material-ui and fluent-ui pull TextWidget from the registry; remove registry prop from in TextWidget (rjsf-team#2515)
- Use getDisplayLabel to properly show labels for widgets (rjsf-team#2225)
- Add submit button, email, url, date widgets (rjsf-team#2224)
- Several dependency updates