Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2025

This PR contains the following updates:

Package Change Age Confidence
@rjsf/core 5.19.3 -> 5.24.13 age confidence
@rjsf/utils 5.19.3 -> 5.24.13 age confidence
@rjsf/validator-ajv8 5.19.3 -> 5.24.13 age confidence

Release Notes

rjsf-team/react-jsonschema-form (@​rjsf/core)

v5.24.13: 5.24.13

Compare Source

@​rjsf/core
  • Updated ArrayField to stop using nanoid and instead use lodash/uniqueId to fix #​4762
@​rjsf/semantic-ui
  • Updated ArrayField to stop using nanoid and instead use lodash/uniqueId to fix #​4762
Dev / docs / playground
  • Removed nanoid from the build system and jest.config.js files

v5.24.12

Compare Source

@​rjsf/utils
  • (Backported change from 6.0.0-beta.11) Fixed issue where oneOf radio button could not be modified when constAsDefaults is set to 'never', fixing #​4634.

v5.24.11

Compare Source

@​rjsf/utils
  • (Backported change from 6.0.0-beta.8) Fixed issue where oneOf schema references could not be modified when defaults were set, fixing #​4580.
  • (Backported change from 6.0.0-beta.11) Fixed issue where oneOf radio button could not be modified when defaults were set, fixing #​4634

Full Changelog: rjsf-team/react-jsonschema-form@v5.24.10...v5.24.11

v5.24.10

Compare Source

Dev / docs / playground

  • Updated all package.json files in the packages directories to remove the exports blocks, fixing #​4537

v5.24.9

Compare Source

@​rjsf/antd

  • Fixed ts errors in newer antd versions #​4525

@​rjsf/chakra-ui

  • Restricted the chakra-react-select peerDependency to <6.0.0, fixing #​4539

@​rjsf/core

  • Do not display input field in MultiSchemaField with null type

@​rjsf/mui

  • Fixed issue in BaseInputTemplate where input props were passed to slotProps.htmlInput, which does not work in MUI v5.

@​rjsf/utils

  • Fixed issue with schema combinators(allOf, anyOf, oneOf) could not be modified when defaults were set, fixing #​4555

Dev / docs / playground

  • Updated docs for ArrayFieldItemTemplate to include prop onCopyIndexClick, fixing #​4507
  • Use antd 5 in playground
  • Updated docs to clarify that errors raised within a widget are not caught during form validation
  • Updated docs where objects typed as RJSFValidationError were not valid (#​4558)

v5.24.8

Compare Source

@​rjsf/antd

  • Fixed the total disable of the RadioWidget, fixing #​4481

@​rjsf/validator-ajv8

  • Fixed up the ESM build to properly handle ESM imports for compileSchemaValidatorsCode() by adding a new ajvReplacer.ts and using it

Dev / docs / playground

  • Updated snapshot-tests to add validation of disable RadioWidget via the Form prop as well as uiSchema

v5.24.7

Compare Source

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

v5.24.5

Compare Source

@​rjsf/utils

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

v5.24.4

Compare Source

@​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

v5.24.3

Compare Source

@​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

v5.24.2

Compare Source

@​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.

v5.24.1

Compare Source

Dev / docs / playground

  • Updated all package.json files in the packages directories to remove the exports blocks, fixing #​4537

v5.24.0

Compare Source

@​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.

v5.23.2

Compare Source

@​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

v5.23.1

Compare Source

@​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

v5.23.0

Compare Source

@​rjsf/core

  • Updated SchemaField to no longer make schema fields with const read-only by default, partially fixing #​4344

@​rjsf/utils

  • Updated Experimental_DefaultFormStateBehavior to add a new constAsDefaults option
  • Updated getDefaultFormState() to use the new constAsDefaults option to control how const is used for defaulting, fixing #​4344, #​4361 and #​4377
  • Use experimental_customMergeAllOf option in functions that have previously missed it.
  • Updated ErrorSchemaBuilder methods addErrors and setErrors to prevent duplicate error messages.

@​rjsf/validator-ajv8

  • Fixed issue where error messages do not have title or ui:title if a Localizer function is used. Fixes #​4387

Dev / docs / playground

  • Updated the playground to add a selector for the constAsDefaults option

v5.22.4

Compare Source

@​rjsf/utils

  • Fixed issue with array schema defaults not applying properly when formData is an empty array, fixing #​4335.

Dev / docs / playground

  • Fix issue 'Maximum call stack size exceeded' with playground share with large content.

v5.22.3

Compare Source

@​rjsf/utils

  • Fixed deep nested dependencies issue with assigning values to formData, fixing #​4334

v5.22.2

Compare Source

@​rjsf/core

  • Fix an issue where only the first file was uploaded when users selected multiple files for upload.
  • Fixed validation regression Form not revalidating after formData change, fixing #​4343

@​rjsf/validator-ajv8

  • Fixed AJV8Validator#transformRJSFValidationErrors to replace the error message field with either the uiSchema's ui:title field if one exists or the parentSchema title if one exists. Fixes #​4348

v5.22.1

Compare Source

Dev / docs / playground

  • Bumped peer dependencies to 5.22.x due to updated type definition and API changes in @​rjsf/utils

v5.22.0

Compare Source

@​rjsf/core

  • Updated MultiSchemaField to call the onChange handler after setting the new option, fixing #​3997 and #​4314

@​rjsf/utils

  • Added experimental_customMergeAllOf option to retrieveSchema() and getDefaultFormState() to allow custom merging of allOf schemas
  • Made fields with const property pre-filled and readonly, fixing #​2600
  • Added mergeDefaultsIntoFormData option to Experimental_DefaultFormStateBehavior type to control how to handle merging of defaults
  • Updated mergeDefaultsWithFormData() to add new optional defaultSupercedesUndefined that when true uses the defaults rather than undefined formData, fixing #​4322
  • Updated getDefaultFormState() to pass true to mergeDefaultsWithFormData for defaultSupercedesUndefined when mergeDefaultsIntoFormData has the value useDefaultIfFormDataUndefined, fixing #​4322
  • Updated getClosestMatchingOption() to improve the scoring of sub-property objects that are provided over ones that aren't, fixing #​3997 and #​4314

Dev / docs / playground

  • Updated the form-props.md to add documentation for the new experimental_customMergeAllOf props and the experimental_defaultFormStateBehavior.mergeDefaultsIntoFormData option
  • Updated the utility-functions.md to add documentation for the new optional defaultSupercedesUndefined parameter and the two missing optional fields on getDefaultFormState()
  • Updated the custom-templates.md to add a section header for wrapping BaseInputTemplate
  • Updated the playground to add controls for the new mergeDefaultsIntoFormData option
    • In the process, moved the Show Error List component over one column, making it inline radio buttons rather than a select

v5.21.2

Compare Source

@​rjsf/core

  • Updated SchemaField to pass required flag to _AnyOfField/_OneOfField
  • Updated Form to deal with null objects in filterErrorsBasedOnSchema(), fixing #​4306

@​rjsf/utils

  • Updated ErrorSchemaBuilder to support adding, updating, and removing paths that are numbers, fixing #​4297
  • Updated retrieveSchema to not merge contains properties in allOf schema lists, fixing #​2923

Dev / docs / playground

  • Updated the custom-widgets-fields.md to add examples of wrapping a widget/field

v5.21.1

Compare Source

@​rjsf/utils

  • Revert of updating deepEquals() from [#​4292]

@​validator-ajv8

  • Revert of using deepEquals() instead of lodash.isEqual() from [#​4292]

v5.21.0

Compare Source

@​rjsf/core

  • Updated Form to fix focusOnError() to support the ids that include dots, fixing #​4279

@​rjsf/mui

  • Updated the peer dependencies for @mui/material and @mui/icon-material, fixing 4283

@​rjsf/utils

  • Fixes an issue with dependencies computeDefaults to ensure we can get the dependencies defaults #​4271
  • Updated deepEquals() to use fast-equals.createCustomEqual() instead of lodash.isEqualWith(), fixing #​4291
    • Switched uses of lodash.isEqual() to deepEquals() in many of the utility functions as well

@​validator-ajv8

  • Use @rjsf/utils deepEquals() instead of lodash.isEqual() to improve performance, fixing #​4291

Dev / docs / playground

  • Updated the playground to use @mui/* version 6, changing the name of the dropdown from material-ui-5 to mui

v5.20.1

Compare Source

Dev / docs / playground

  • Updated the peer dependencies to 5.20.x due to types and API changes in @rjsf/utils

v5.20.0

Compare Source

@​rjsf/core

  • Support allowing raising errors from within a custom Widget #​2718
  • Updated ArrayField, BooleanField and StringField to call optionsList() with the additional UiSchema parameter, fixing #​4215 and #​4260

@​rjsf/utils

  • Updated the WidgetProps type to add es?: ErrorSchema<T>, id?: string to the params of the onChange handler function
  • Updated UIOptionsBaseType to add the new enumNames prop to support an alternate way to provide labels for enums in a schema, fixing #​4215
  • Updated optionsList() to take an optional uiSchema that is used to extract alternate labels for enums or oneOf/anyOf in a schema, fixing #​4215 and #​4260
    • NOTE: The generics for optionsList() were expanded from <S extends StrictRJSFSchema = RJSFSchema> to <S extends StrictRJSFSchema = RJSFSchema, T = any, F extends FormContextType = any> to support the UiSchema.

Dev / docs / playground

  • Update the custom-widget-fields.md to add documentation for how to raise errors from a custom widget or field

v5.19.4

Compare Source

@​rjsf/core

  • Fix XSS when rendering schema validation errors #​4254
    • NOTE: This will have potential consequences if you are using the translateString feature and are trying to render HTML. Switching to Markdown will solve your problems.

@​rjsf/utils

  • Updated the ValidatorType interface to add an optional reset?: () => void prop that can be implemented to reset a validator back to initial constructed state
    • Updated the ParserValidator to provide a reset() function that clears the schema map
  • Also updated the default translatable string to use Markdown rather than HTML tags since we now render them with Markdown

@​rjsf/validator-ajv8

  • Updated the AJV8Validator to implement the reset() function to remove cached schemas in the ajv instance

Dev / docs / playground

  • Updated the Validator dropdown to add AJV8 (discriminator) which sets the AJV validator discriminator option to true to support testing schemas with that option in them

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot assigned patdx Jul 1, 2025
@renovate renovate bot changed the title Update RJSF to v5.24.12 Update RJSF to v5.24.13 Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant