You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed processPendingChange() using originalErrorSchema (which already contains merged extraErrors) as the base for mergeErrors(), causing sibling-field extraErrors to accumulate duplicate entries on every array mutation, fixing #5041
Added ObjectField test for renaming a nested additionalProperties key using userEvent and reset() via a form ref, verifying fix for #4948
Updated ArrayField's change handling to only null out data for paths that are directly an array indexed value and not object properties within them, fixing #4952
@rjsf/mui
Added computeSxProp() helper to utils.ts, ran the MUI v9.0.0/system-props codemod on the directory and then updated the sx changes to use computeSxProps()
Also transformed the use of style blocks for margins or explicit marginTop or marginBottom in MUI into sx values within DescriptionField, FieldHelpTemplate, ObjectFieldTemplate and SubmitButton,
Updated snapshots accordingly
Upgraded the peerDependencies to add support for MUI v9
@rjsf/utils
Switched deepEquals from lodash.isEqualWith to fast-equals.createCustomEqual with cycle detection enabled, and replaced direct lodash.isEqual usage in useDeepCompareMemo, isRootSchema, and findSelectedOptionInXxxOf with deepEquals, fixing #4291
Fixed getObjectDefaults re-injecting stale schema-level default keys into an additionalProperties object when formData already contains its own keys (e.g. after a key rename), preventing ghost entries from reappearing, fixing #4948
@rjsf/validator-ajv8
Cached the most recent rootSchema reference in handleSchemaUpdate so repeated isValid calls with the same root schema skip the deep-equality check and Ajv re-registration, fixing #4291
Dev / docs / playground
Cleaned up testing to make registry mocks simpler using getTestRegistry() function
Refactored antd specific test setup out of testing/testSetup.ts