github rjsf-team/react-jsonschema-form v6.0.0-beta.23
6.0.0-beta.23

latest release: 6.0.0-beta.23
pre-releaseone day ago

Small potential BREAKING CHANGES

  • If you are overriding the AltDateWidget or AltDateTimeWidget these changes may affect you

@rjsf/antd

  • Updated AltDateWidget to use the new useAltDateWidgetProps() hook, renaming showTime to time
  • Potentially BREAKING CHANGE: Updated AltDateTimeWidget to rename showTime prop to time

@rjsf/chakra-ui

  • Updated AltDateWidget to use the new useAltDateWidgetProps() hook, renaming showTime to time
  • Potentially BREAKING CHANGE: Updated AltDateTimeWidget to rename showTime prop to time

@rjsf/core

  • Updated FormProps to add new onChange/onBlur values for the liveValidate and liveOmit props, deprecating the boolean aspect of them
  • Updated Form to support the new feature to do onBlur handling of liveValidate and liveOmit
  • Updated FormProps to add the new initialFormData prop
  • Updated Form so that is behaves as a "controlled" form when formData is passed and uncontrolled when initialFormData is passed, fixing #391
    • Also fixed an issue where live validation was called on the initial form render, causing errors to show immediately, partially fixing #512
  • Updated Form to add a new programmatic function, setFieldValue(fieldPath: string | FieldPathList, newValue?: T): void, fixing #2099
  • Added new FallbackField to add opt-in functionality to control form data that is of an unsupported or unknown type (#4736).
  • Refactored much of the FileWidget implementation into a new useFileWidgetProps() hook, fixing #3146
  • Refactored much of the AltDateWidget implementation into a new useAltDateWidgetProps() hook, fixing #3352

@rjsf/daisyui

  • Deleted the FileWidget component, moving the className and isMulti logic directly into the BaseInputTemplate so that the @rjsf/core's FileWidget works properly for the theme, fixing #4803
  • Updated AltDateWidget to use the new useAltDateWidgetProps() hook

@rjsf/mantine

  • Updated FieldHelpTemplate to avoid issue when help and fieldPathId` are undefined
  • Updated AltDateWidget to use the new useAltDateWidgetProps() hook, renaming showTime to time
  • Potentially BREAKING CHANGE: Updated AltDateTimeWidget to rename showTime prop to time
  • Updated FileWidget to use the useFileWidgetProps() hook

@rjsf/utils

  • Added the useFileWidgetProps() hook implementation, refactored from @rjsf/core
  • Added the useAltDateWidgetProps() hook implementation, refactored from @rjsf/core

Dev / docs / playground

  • Updated the playground to switch liveValidate and liveOmit from checkboxes to radio buttons for the new options
  • Updated internals.md, form-props.md, utility-functions.md and v6x upgrade guide.md to document the new features, potential breaking changes and deprecations

Don't miss a new react-jsonschema-form release

NewReleases is sending notifications on new releases.