@rjsf/core
- Fixed schema-change handling so dependent enum updates sanitize invalid scalar field data without over-sanitizing root, object, array, readonly, or disabled field changes, fixing #3838
- Updated
Formtests to verify fix for #1357 and #2492- Also added
consolemessage suppression support to the tests to reduce noise
- Also added
- Updated
MultiSchemaFieldby skipping next option recalculation when a user selects an option, fixing #3833 - Updated
Form'svalidate()function to pass the original schema to AJV when no pre-resolved schema is provided, fixing #3368 - Improved performance of
IconButtonsin all themes,ArrayFieldcomponents andObjectFieldcomponents using memoization, partially fixing #3183 - Fixed
ObjectFieldso renaming anadditionalPropertieskey to an empty string is no longer silently dropped, usingObject.hasOwninstead of a falsy check (#5098)
@rjsf/utils
- Updated
sanitizeDataForNewSchema()to preserve valid enum values while replacing or clearing stale values across enum,oneOf, andanyOfschema changes, fixing #3838 - Updated
sanitizeDataForNewSchema()to filter out invalid enum values in arrays, fixing #1357 and #2492
Dev / docs / playground
- Upgraded
vitestandjsdomto the latest to remove deprecated package warnings - Fix a documentation error related to precedence when setting default values (#5089)