Skip to content

Releases: rjsf-team/react-jsonschema-form

5.24.7

06 Mar 01:04
Compare
Choose a tag to compare

Dev / docs / playground

  • Fixed build issues with small change to core/src/tsconfig.json and improvements to the exports for ESM support
  • Run NX serially in the pipelines to avoid odd out-of-sequence build issues

5.24.6

05 Mar 23:12
Compare
Choose a tag to compare

5.24.6

NOTE: Not actually released due to build issues

@rjsf/core

  • Fixed src/tsconfig.json to add the tsc-alias block to support proper fixing up of ESM import

5.24.5

05 Mar 20:52
Compare
Choose a tag to compare

@rjsf/utils

  • Fixed package.json to remove node from the exports block to fix ESM support

5.24.4

05 Mar 19:09
Compare
Choose a tag to compare

@rjsf/utils

  • Fixed issue with customValidate errors are not cleared when the form is valid 4365 due to regression
  • Add missing experimental_customMergeAllOf argument to ensureFormDataMatchingSchema introduced by 4388

Dev / docs / playground

  • Improved the ESM support for all public packages by adding explicit exports to each public package.json
  • Updated the ESM builds to use tsc-alias to add .js onto all ESM imports

5.24.3

04 Feb 17:11
Compare
Choose a tag to compare

@rjsf/utils

  • Rollback 4446 due to regression

Dev / docs / playground

  • Fixed issue with selector, where validator was getting refreshed on clicking on anything in selector. #4472

5.24.2

28 Jan 02:16
Compare
Choose a tag to compare

@rjsf/utils

  • switch lodash.isEqualWith to fast-equals.createCustomEqual providing areFunctionsEqual assuming any functions are equal.
  • Fixed issue with oneOf selector can be modified in readonly mode, fixing #4460
  • Fixed issue with fields inside an array can't be set to empty when a default is set, fixing #4456
  • Fixed issue with file accept attribute, fixing #4404.

@rjsf/mui

  • Fixed issue with file accept attribute, fixing #4404.

5.24.1

10 Jan 21:22
Compare
Choose a tag to compare

@rjsf/utils

  • Fixed documentation for getChangedFields()

Dev / docs / playground

  • Updated the peer dependencies for @rjsf/* to be 5.24.x
  • Added documentation for getChangedFields()

5.24.0

10 Jan 21:10
Compare
Choose a tag to compare

New features

  • getChangedFields() utility function

@rjsf/core

  • Fixed issue with schema if/then/else conditions where switching to then/else subschemas did not reflect the actual validation errors in the onChange event, fixing #4249 and improving performance.
  • Fixed issue error message will not be cleared after the controlled Form formData is changed. Fixes #4426

@rjsf/utils

  • Fixed issue with formData not updating when dependencies change, fixing #4325
  • Fixed issue with assigning default values to formData with deeply nested required properties, fixing #4399
  • Fixed issue error message will not be cleared after the controlled Form formData is changed. Fixes #4426
  • Fix for AJV $data reference in const property in schema treated as default/const value. The issue is mentioned in #4361.
  • Switched uses of lodash.isEqual() to @rjsf/utils.deepEquals.

@rjsf/validator-ajv8

  • Partially fixed issue where dependency errors do not show title or ui:title. This fix only applicable if we use an ajv-i18n localizer. Ref. #4402.
  • Switched uses of lodash.isEqual() to @rjsf/utils.deepEquals at precompiledValidator.

5.23.2

15 Dec 15:18
Compare
Choose a tag to compare

@rjsf/core

  • Fix default value population when switching between options in MultiSchemaField #4375. Fixes #4367

@rjsf/utils

  • Short-circuit File and Date constructor access in isObject to optimize performance in scenarios where globalThis is a Proxy that incurs overhead for each class constructor access (#4413). Fixes #4409

@rjsf/validator-ajv8

  • Fixed issue where ui:title in anyOf/oneOf is not shown in error messages. Fixes #4368

5.23.1

22 Nov 22:37
Compare
Choose a tag to compare

@rjsf/chakra-ui

  • Updated package.json to restrict @chakra-ui/react's peer dependency to be < 3.0.0, fixing #4390

@rjsf/core

  • Updated NumberField to properly pass through the errorSchema and id in the onChange handler, fixing #4382

Dev / docs / playground

  • Updated the peer dependencies for @rjsf/* to be 5.23.x