| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 6.10.1 source code.tar.gz | < 17 hours ago | 5.5 MB | |
| 6.10.1 source code.zip | < 17 hours ago | 6.3 MB | |
| README.md | < 17 hours ago | 5.4 kB | |
| Totals: 3 Items | 11.8 MB | 0 | |
@rjsf/core
- Fixed a
dependencies/ifbranch switch nested inside an object property never sanitizing a sibling field's now-invalid value. The check gating sanitization only compared the root retrieved schema, which never reflects a conditional resolved deeper in the tree, so it always skipped sanitizing in that case, fixing (#5250) - Fixed
NumberFieldlosing or misinterpreting decimal input in comma-decimal locales, and passing a locale-formatted string instead of anumberto custom and format-registered widgets, fixing #5199 and #5241 - Fixed
NumberFieldstill comma-formatting the displayed value for atextwidget with an explicitui:options.inputTypeoverride in a comma-decimal locale;getInputProps()gives that override priority over the locale-basedtextfallback, so it rendered a native, locale-unaware<input type="number">that rejected the comma-formatted string
@rjsf/mantine
- Fixed
BaseInputTemplatepassing anundefinedvalue straight through toNumberInput/TextInput, which let the DOM input fall out of sync with React's controlled value and retain a stray digit after clearing a multi-digit number field (#5269) - Backported the
fluidContainerlayout fix from the v7 Mantine 9 upgrade (#5260):GridTemplate's andObjectFieldTemplate's rootContainernow use Mantine'sfluidprop so forms fill their available width instead of centering at Mantine's default 960px max-width
@rjsf/shadcn
- Fixed the documented
import '@rjsf/shadcn/dist/[theme].css'failing to resolve. The prebuilt stylesheets were in the published tarball but noexportsentry matched them, so Node and every bundler that honours the exports map rejected the path
@rjsf/utils
- Fixed
sanitizeDataForNewSchema()to resolvedependencies,if/then/elseandallOf(not just$ref) on each property's old/new schema before comparing them, so a conditional nested inside an object property is taken into account when sanitizing its data, fixing (#5250) - Added
schemaHasNestedConditional(), whichFormuses to detect adependencies/ifnested below a schema's top level (behind a$ref,patternProperties, tupleitems,additionalPropertiesorallOf/anyOf/oneOf) so sanitization isn't skipped just because the root retrieved schema looks unchanged (#5250) - Fixed
getInputProps()defaultingtype: numberschemas to a nativenumberinput in locales whose decimal separator isn't., where the browser rejects the localized value; it now defaults to atextinput in those locales unless an explicitinputTypeis set - Added
resolveDefaultWidget(), extracting the widget-name/enumOptionsfallback logic shared by@rjsf/core'sStringFieldandNumberFieldso the two can no longer drift out of sync - Upgraded
@x0k/json-schema-mergeto^1.0.6, which now preserves Symbol-keyed properties (e.g.Symbol(__rjsf_ref)) when mergingallOfschemas and no longer collapses distinctallOf.containsbranches into one over-constrained schema; removed the corresponding Symbol-preservation andcontains-extraction workarounds fromretrieveSchemaInternal(), fixing (#5146) - Fixed defaults from a dependency subschema being omitted when
getDefaultFormState()is called without form data or with an empty object, fixing #5198 - Fixed
computeDefaults()to merge a non-object schema'sallOfwhenexperimental_defaultFormStateBehavior.allOfis set topopulateDefaults, so a$refwrapped in a single-elementallOfnow populates the same defaults as the bare$refdoes, fixing #5177
Dev / docs / playground
- Fixed the size-limit report never being posted on a pull request from a fork. The comment workflow resolved the PR from its head sha, which the base repository cannot associate with a fork's commit, so it warned and skipped — leaving a green check and no comment. The measuring job now records the PR number in its artifact, and the comment workflow looks that PR up directly, accepts it only if its head sha matches the run's trusted
workflow_runhead sha, and fails loudly rather than skipping when the PR cannot be found - Extended the size-limit checks to cover every released package rather than just
@rjsf/core,@rjsf/utilsand@rjsf/validator-ajv8. The checks are derived from each package's ownpackage.json, so a new package or a dependency change needs no config edit; only the packages that already had budgets enforce one, the rest are measured and reported - Moved
size-limitand its preset out of the rootdevDependenciesinto their own pnpm project under.github/size-limit, so they are installed only by the size-limit workflow