Skip to content

6.7.1

Latest

Choose a tag to compare

@heath-freenome heath-freenome released this 24 Jul 23:06

@rjsf/core

  • Support locale-specific decimal separators in NumberField (e.g. Polish/German comma decimal separators) without breaking non-text widgets like radio buttons and select dropdowns, fixing #5148
  • Fixed ObjectField to preserve the insertion order of additional and pattern properties when keys are renamed to integers, fixing #4631 (#5156)

@rjsf/utils

  • Added getDecimalSeparator() utility to detect locale-specific decimal separators and updated asNumber() to parse locale-specific decimal strings, partially fixing #5148
  • Fixed a regression where getDefaultFormState() with experimental_defaultFormStateBehavior.arrayMinItems.populate = 'never' padded arrays with null entries up to minItems, fixing #5163
    • Optional arrays with no data are now omitted (unchanged) while required arrays with no data default to [], letting the validator report the minItems violation instead of surfacing invalid null items

@rjsf/validator-ata

  • Updated the ata-validator dependency to ^1.1.0, which fixes a stack overflow in browser environments for schemas its JS engine cannot compile and shrinks the install footprint via per-platform optional packages (#5162)

Dev / docs / playground

  • Updated utility-functions.md to document getDecimalSeparator()
  • Removed bump-peer-deps script, pnpm workspaces now handles this for us.