Skip to content

Releases: rjsf-team/react-jsonschema-form

v4.2.1

15 Jul 15:50

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.2.0...v4.2.1

v4.2.0

06 May 15:30

Choose a tag to compare

@rjsf/core

  • Feature for ui:submitButtonOptions on the submit button for forms (#2640)
  • Fix ui:orderable and ui: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
  • Fixed (#2831) for material-ui by removing the DefaultChildren 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

Full Changelog: v4.1.1...v4.2.0

v4.1.1

28 Mar 13:43

Choose a tag to compare

@rjsf/material-ui

  • Fix bloated bundle size by individually requiring all MUI components (#2754)
  • Add new useMuiComponent() hook as a shortcut for useContext(MuiComponentContext)

New Contributors

Full Changelog: v4.0.1...v4.1.1

v4.1.0

25 Mar 15:08
bdbf344

Choose a tag to compare

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 new idSeparator prop along with the spelling of idPrefix
    • Also passed the new idSeparator prop through to the AnyOfField and OneOfField inside of SchemaField
    • Updated ArrayField in @rjsf/core to pass idSeparator and idPrefix through to SchemaField, fixing a small bug
  • 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 in MaterialUIContext and Mui5Context
  • Export the MaterialComponentContext (#2724)

Dev / docs / playground

  • Added documentation for the new ui:hideError feature

New Contributors

Full Changelog: v4.0.1...v4.1.0

v4.0.1

22 Feb 17:41

Choose a tag to compare

  • Bumped the peer dependencies of @rjsf/core to ^4.0.0 for all of themes in package.json
  • Also, added tests to all themes to verify that the tagName prop works as expected

@rjsf/core

  • Updated Form to support the semantic-ui and material-ui themes to allow them work when tagName is provided
  • Support if/then/else (#2700)

@rjsf/material-ui

  • Fixed up the Theme and Theme5 implementations to deal with a regression in which adding tagName caused the 2 themes to not work
  • Only console.log() the import error in MaterialUIContext and Mui5Context when not in production to eliminate tons of warnings for released code

@rjsf/semantic-ui

  • Fixed up the Theme implementation to deal with a regression in which adding tagName caused the theme to not work

New Contributors

Full Changelog: v4.0.0...v4.0.1

v4.0.0

18 Feb 16:05

Choose a tag to compare

@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 or uniqueItems 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 and 4.11.1)
    • New exports: MuiForm4 and Theme4 are aliases to the material-ui version 4 MuiForm and Theme
    • 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
  • 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 and Theme5 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

Full Changelog: v3.2.1...v4.0.0

v3.2.1

19 Nov 16:45

Choose a tag to compare

@rjsf/core

  • Don't crash when non-object formData is passed in to a schema item with additionalProperties (#2595)
  • Upgrade jsonpointer to 5.0.0 to address security vulnerability (#2599)

v3.2.0

20 Oct 15:12

Choose a tag to compare

@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 the Form (#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

  • Several dependency updates
  • Added global readonly flag to the Form (#2554)
  • Enable source maps in playground, for development (#2568)

v3.1.0

13 Aug 00:48

Choose a tag to compare

@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

v3.0.2

10 Aug 18:51

Choose a tag to compare

Dev / docs / playground

  • Re-released all versions and disabled canary publishing due to an issue with publishing 3.0.1. (#2505).