unstale

npm / @rjsf/core

@rjsf/core

What changed in @rjsf/core 5 to 6, from its official release notes, upgrade guides and advisories. Also covers @rjsf/antd, @rjsf/utils, @rjsf/validator-ajv8. Sources checked 2026-11-30.

9 breaking4 deprecations39 new APIs and options1 performance5 behavior and defaults41 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@rjsf/core 696 changes

Breaking changes 7

  • Adds path-based property lookup; bare strings are literal keys, and lookup resolves own properties only.

    6.9.0release notes

  • Adds path-based property presence checks; bare strings are literal keys, and checks resolve own properties only.

    6.9.0release notes

  • RJSF packages no longer depend on lodash; applications relying on it being hoisted must declare it in their own package.json.

    6.9.0release notes

  • A required boolean field now defaults to false when the schema has no default.

    6.9.0release notes

  • Adds a path-based setter; bare strings are treated as literal keys, while dotted paths can be parsed with toPath().

    6.9.0release notes

  • Adds explicit parsing of lodash-style dotted path strings for use with the new path utilities.

    6.9.0release notes

  • Adds a path-based property remover; bare strings are treated as literal keys, while dotted paths can be parsed with toPath().

    6.9.0release notes

Deprecations 4

  • The PathSchema type is deprecated.

    6.6.0release notes

  • The removeOptionalEmptyObject() function is deprecated.

    6.6.0release notes

  • The toPathSchema() member on SchemaUtilsType is deprecated.

    6.6.0release notes

  • The toPathSchema() function is deprecated.

    6.6.0release notes

New APIs and options 38

  • Adds requiredBooleanDefault: skip leaves required booleans without a default undefined, while the default populateFalse preserves the 6.9.0+ behavior.

    6.11.0release notes

  • Adds a helper for the shared widget-name and enumOptions fallback logic used by StringField and NumberField.

    6.10.1release notes

  • Adds a helper to detect conditionals nested below a schema's top level, allowing sanitization to run when the root retrieved schema looks unchanged.

    6.10.1release notes

  • Added autocapitalize UI option handling to getInputProps() and the public input prop types.

    6.10.0release notes

  • Adds an optional deep flag that descends into nested objects and same-length arrays, returning the dotted path of the changed field.

    6.9.0release notes

  • Adds a helper to read a property's sub-schema, defaulting to an empty schema.

    6.9.0release notes

  • Adds a stricter counterpart to isObject() that excludes class instances, replacing lodash/isPlainObject for consumers.

    6.9.0release notes

  • Adds a do-nothing function to replace lodash/noop for consumers.

    6.9.0release notes

  • Added a utility to detect locale-specific decimal separators.

    6.7.1release notes

  • Added the CycleDetected key to enums.ts.

    6.7.0release notes

  • Added the props type for the cyclic schema expansion template.

    6.7.0release notes

  • Added a template for customizing the UI used to expand cyclic schemas.

    6.7.0release notes

  • Added the ExpandButton key to enums.ts.

    6.7.0release notes

  • Uses nestedDefaultsPrecedence to control how defaults defined on multiple levels are merged.

    6.7.0release notes

  • Added a helper for theme select widgets to warn when a schema default is not present in the enum options.

    6.7.0release notes

  • Added an option to control how defaults defined on multiple levels are merged.

    6.7.0release notes

  • Added markCycleOnDetection to mark schemas detected to contain a cycle with RJSF_REF_CYCLE_KEY.

    6.7.0release notes

  • Exports the isValueEmpty() function from the library.

    6.6.0release notes

  • Adds a utility that normalizes oneOf/anyOf options for scoring, optionally resolving $refs; it converts boolean schemas and widens additionalProperties: false to true.

    6.6.0release notes

  • Adds a translatable string for internationalizing the deprecated field suffix.

    6.5.3release notes

  • Adds deprecatedHandling to global UI schema options to configure handling of deprecated fields.

    6.5.3release notes

  • Adds the string | FieldPathList path type for getFromSchema and findFieldInSchema.

    6.5.3release notes

  • Adds a utility for opt-in rendering of real enum values in select, radio, and checkbox widgets.

    6.5.0release notes

  • Adds the indexed and realValue choices to GlobalUISchemaOptions for opting into real enum values in widget DOM attributes; also adds the OptionValueFormat type.

    6.5.0release notes

  • Recursively strips fully empty optional objects based on their parent’s required properties.

    6.5.0release notes

  • Map-based ui:enumNames can control enum display labels.

    6.4.0release notes

  • Map-based ui:enumOrder can control enum ordering.

    6.4.0release notes

  • Added a function to support defining reusable uiSchema for schema $ref references.

    6.3.0release notes

  • Added a type to support defining reusable uiSchema for schema $ref references.

    6.3.0release notes

  • Added to GlobalUISchemaOptions to support displaying a clear text input UI.

    6.2.0release notes

  • The CustomValidator type now accepts errorSchema, allowing implementations to be based on the result of ajv validation.

    6.2.0release notes

  • Added fieldPathId to FieldTemplateProps to enable proper use of onChange with the required path parameter.

    6.2.0release notes

  • Added the displayLabel flag to the props type for array field item templates.

    6.1.0release notes

  • Added the hasDescription flag to the props type for array field item templates.

    6.1.0release notes

  • Added to GlobalUISchemaOptions to enable rendering ui:help as markdown.

    6.1.0release notes

  • Added displayLabel to the props picked from FieldProps for adjusting Additional Properties button location.

    6.1.0release notes

  • Added rawDescription to the props picked from FieldProps for adjusting Additional Properties button location.

    6.1.0release notes

  • SchemaField adds the optional childFieldPathId property to the FieldComponent render; ObjectField and ArrayField use it for children when present, falling back to fieldPathId, to prevent duplicate ids.

    6.0.0release notes

Performance 1

  • Declares sideEffects as false so bundlers can tree-shake unused @rjsf/utils exports.

    6.9.0release notes

Behavior and default changes 5

  • Parses locale-specific decimal strings.

    6.7.1release notes

  • Selected option descriptions are now shown.

    6.7.0release notes

  • Adopts the svelte-jsonschema-form algorithm and supports the code from removeOptionalEmptyObjects().

    6.6.0release notes

  • Propagates formatMinimum and formatMaximum schema keywords to HTML min and max attributes for date-related input types, aligning native picker constraints with AJV validation.

    6.5.0release notes

  • Widens min and max to number | string to support date values.

    6.5.0release notes

Fixes and other changes 41

  • Merges an object's allOf before evaluating its conditions, preventing data from an inactive branch from being kept.

    6.11.1release notes

  • Merges additionalProperties and additionalItems within their allOf groups, preventing one entry from acting on another entry's properties, patternProperties, or items.

    6.11.1release notes

  • Shared $refs across branches and root properties now resolve instead of being mistaken for recursion cycles; recursive schemas still terminate.

    6.11.1release notes

  • Merging allOf schemas now preserves Symbol-keyed properties and distinct allOf.contains branches, avoiding over-constrained schemas.

    6.10.1release notes

  • When allOf is set to populateDefaults, computeDefaults merges a non-object schema's allOf so a $ref wrapped in a single-element allOf populates the same defaults as the bare $ref.

    6.10.1release notes

  • Includes defaults from a dependency subschema when called without form data or with an empty object.

    6.10.1release notes

  • Defaults number schemas to a text input in locales whose decimal separator is not a period, unless an explicit inputType is set, avoiding browser rejection of localized values.

    6.10.1release notes

  • Resolves dependencies, if/then/else, and allOf on each property's old and new schema before comparing them, so nested conditionals are considered when sanitizing data.

    6.10.1release notes

  • Fixed handling of existing arrays and stale undefined values when applying a new schema, retaining data or applying defaults for newly defined properties.

    6.10.0release notes

  • Fixes recursive default merging when an object key's default is an array, preventing defaults in nested dependencies from being dropped.

    6.9.0release notes

  • Stops over-reaching additionalProperties post-processing from stripping keys written by winning oneOf/anyOf and if/then/else branches.

    6.9.0release notes

  • Fixed handling of arrays containing null and undefined values.

    6.8.0release notes

  • With experimental_defaultFormStateBehavior.arrayMinItems.populate = 'never', optional arrays with no data remain omitted and required arrays default to [], allowing the validator to report minItems violations instead of surfacing invalid null items.

    6.7.0release notesrelease notes

  • Now filters out RJSF_REF_KEY-prefixed keys before hashing schemas.

    6.7.0release notes

  • Now treats empty tuple items arrays as fixed items so additionalItems schemas are handled consistently.

    6.7.0release notes

  • Better handles allOfs containing multiple if/then/else blocks.

    6.7.0release notes

  • Preserves an explicitly empty string title on oneOf/anyOf options instead of falling back to the option's value.

    6.7.0release notes

  • Now preserves boolean conditional branches while resolving schemas.

    6.7.0release notes

  • Preserves valid enum values while replacing or clearing stale values across enum, oneOf, and anyOf schema changes.

    6.6.2release notes

  • Filters invalid enum values in arrays when sanitizing data for a new schema.

    6.6.2release notes

  • When called by schemaParser with expandAllBranches=true, uses getFirstMatchingOption on relaxed options so they are captured for precompiled validators.

    6.6.0release notes

  • Avoids calling Object.entries on non-object defaults, preventing character-by-character iteration of long data URL strings and severe UI freezes.

    6.5.3release notes

  • Fixes schema descent when a path segment is numeric 0, which was previously skipped due to a falsy check.

    6.5.3release notes

  • Uses string keys for required and oneOf fallback matching.

    6.5.3release notes

  • Makes StrictRJSFSchema recursive so deprecated and future extensions are supported in nested schema structures without type casts.

    6.5.3release notes

  • Uses fast-equals with cycle detection and replaces direct lodash.isEqual usage in related utilities, fixing equality handling.

    6.5.2release notes

  • No longer re-injects stale schema-level default keys into additionalProperties when formData already contains its own keys, preventing renamed keys from reappearing.

    6.5.2release notes

  • Applies ui:title from ui:definitions to oneOf and anyOf dropdowns beyond the first recursion level.

    6.5.0release notes

  • extraErrors now display when customErrors are also present, including with array fields and controlled formData.

    6.4.2release notes

  • Required string and number fields now render the HTML required attribute.

    6.4.2release notes

  • Array properties with enum items again use ui:enumNames from the array property's uiSchema.

    6.4.2release notes

  • No longer strips additionalProperties inside oneOf/anyOf options.

    6.4.0release notes

  • Preserves $ref on resolved schemas, enabling ui:definitions beyond the first recursion level.

    6.4.0release notes

  • Fixed user formData being overwritten with defaults in schemas combining anyOf/oneOf with $ref and defaults at multiple levels.

    6.2.0release notes

  • Fixed nested if/then/else conditions losing values when liveOmit and omitExtraData are enabled.

    6.2.0release notes

  • Fixed defaults not being prefilled when an object with if/then is nested inside another object.

    6.2.0release notes

  • Refactored omitExtraData and its helpers from Form into @rjsf/utils, with the implementation moved to schema/omitExtraData.ts.

    6.2.0release notes

  • Fixed handling of schema arrays with nested dependent fixed-length.

    6.2.0release notes

  • Now always returns false when ui:options is false, and returns true for array and object types added via additionalProperties.

    6.1.0release notes

  • Added the directive to three hooks to support NextJS builds.

    6.1.0release notes

  • Does not save an undefined field value into an object when the type is null and excludeObjectChildren is provided.

    6.0.2release notes

@rjsf/core 53 changes

Breaking changes 2

New APIs and options 1

  • Added a function to support using indexes for enumOptions with object values.

    5.0.0release notes