Skip to content

6.0.0-beta.14

Pre-release
Pre-release
Compare
Choose a tag to compare
@heath-freenome heath-freenome released this 18 Aug 17:41
· 1 commit to main since this release
  • A BREAKING CHANGE to the FieldProps.onChange callback function was made that COULD affect custom fields, depending on the implementation.

@rjsf/core

  • Added support for dynamic UI schema in array fields - the items property in uiSchema can now accept a function that returns a UI schema based on the array item's data, index, and form context (#4706)
  • Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704
  • Updated all of the XxxxField components and Form to handle the new path parameter in FieldProps.onChange, making Form queue up changes so that they are all processed and no data is lost, fixing #3367
  • Updated a bug in AltDateWidget related to the clear button not working after the fix for #3367
  • Fixed the missing hook dependencies for the CheckboxesWidget so that they work properly

@rjsf/chakra-ui

  • Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704

@rjsf/daisyui

  • Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704
  • Fixed additional properties rendering by properly connecting the FieldTemplate and WrapIfAdditionalTemplate, fixing 4707
  • Fixed the missing hook dependencies in the DateTimeWidget and DateWidget so that they work properly

@rjsf/fluentui-rc

  • Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704

@rjsf/mantine

  • Added new theme!

@rjsf/mui

  • Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704

@rjsf/primereact

  • Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704

@rjsf/semantic-ui

  • Fixed checkbox widget to use current value instead of event target in onFocus/onBlur handlers, fixing #4704

@rjsf/shadcn

  • Bump @shadcn/ui components to use latest version from https://ui.shadcn.com/
  • Bump tailwindcss to using v4 and css compiling process to use latest @tailwindcss/cli
  • Remove postcss due to new Oxide compiler of tailwindcss
  • Update playground themes with default, Amethyst Haze, Caffeine, Claude, Neo Brutalism, Pastel Dreams, Soft Pop, Twitter, Vercel
  • Radio widget labels are now accessible and can be clicked on to select the associated option.

@rjsf/utils

  • Updated UiSchema type to support dynamic array item UI schemas - the items property can now be either a UiSchema object or a function that returns a UiSchema (#4706)
  • Added title property to RJSFValidationError PR
  • BREAKING CHANGE: Updated the FieldProps interface's onChange handler to inject a new optional path before the ErrorSchema parameter as part of the fix for #3367

@rjsf/validator-ajv8

  • Updated transformRJSFValidationErrors() to include the title property of a field with error fixing #4504 with PR
  • Updated AJVValidator to handle the attempted compile of a bad schema, fixing #4357

Dev / docs / playground

  • Added comprehensive documentation for dynamic UI schema feature with TypeScript examples #4706
  • Updated array documentation to reference the new dynamic UI schema capabilities #4706
  • Updated nearly all of the libraries in the package.json files to the latest non-breaking versions
  • Fixed the broken Custom Array sample
  • Improved the Any Of with Custom Field sample so that it renders using the appropriate theme components
  • Updated the custom-widgets-fields.md and v6.x upgrade guide.md to document the BREAKING CHANGE to the FieldProps.onChange behavior
  • Updated the playground to properly output the validationError when running Raw Validate