Repository navigation
7.0.0-beta.2
Pre-release
Pre-release
·
2 commits
to main
since this release
@rjsf/antd
- Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997) - Fix
RangeWidgetand the number input writing a number to a field with notype, or one that allows both, whoseenumorconstlists numeric strings (#5996)
@rjsf/bootstrap3
- Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997)
@rjsf/chakra-ui
- Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997) - Fix
RangeWidgetwriting a number to a field with notype, or one that allows both, whoseenumorconstlists numeric strings (#5996)
@rjsf/core
- BREAKING CHANGE: Change
Formto offer each option of a field's ownoneOf/anyOfmerged with each option of a list itsthenorelseholds, or a parent'sthen,elseordependenciesschema declares for it, as for a property, a pattern or additional property or an array'sitemsoradditionalItems, labelled after both, or after the later alone, a branch's over anallOfentry's, and once where it only relabels the other, where it offered the branch's options alone. See the upgrade guide (#5939, #5977, #5930, #5953) - BREAKING CHANGE: Change
Formto label, render and fill eachoneOf/anyOfoption anallOfentry merges with the field's own list, in aLayoutMultiSchemaFieldand a select of constants too, by theuiSchema.oneOf/anyOfentry of the field's own option it was built from, where it read the entry at the merged option's position. See the upgrade guide (#5939, #5977, #5930) - BREAKING CHANGE: Fix
LayoutMultiSchemaFieldshowing and switching to the first of theoneOf/anyOfoptions that share a selector value, as options a merge of lists built from one option do, or two or more options that don't pin it, and clearing the selection on a pick of the only option that doesn't pin it, where its widget now offers each such option by its index and writes its selector value, or clears the old option's where it pins none. See the upgrade guide (#5939, #5974, #5930, #5962) - BREAKING CHANGE: Remove the
totalItemsprop ofArrayFieldItemTemplateandArrayFieldItemButtonsTemplate, so adding or removing an array item no longer renders every other item's template again. See the upgrade guide (#5942, #3183) - BREAKING CHANGE: Change
Formto start a control over aoneOf/anyOfof several constants with nodefaultempty, as for anenum, where it took the first constant: a select shows its placeholder, and a checkbox or radio group starts unchecked. See the upgrade guide (#5946, #5944) - BREAKING CHANGE: Change
Formto start a required boolean whoseoneOf/anyOflists several constants,falseamong them, atfalse, as any required boolean, where it started at the first constant. See the upgrade guide (#5946, #5944) - BREAKING CHANGE: Change
Formto leave a required boolean with nodefaultempty, reported missing on submit, where the values its schema lists leave outfalse, such asenum: [true], where it started atfalseor the first constant. See the upgrade guide (#5946, #5944) - BREAKING CHANGE: Change
Formto show neither branch of aniffor a field holding no value, such as an empty number or string field, where it showed the branch{}picked, and to check theifagainst the value the field's defaults then give it. See the upgrade guide (#5916, #5895) - BREAKING CHANGE: Change
Formto check theifof a field holdingnull, from itsdefault, the user or the server, againstnull, where it showed the branch{}picked while the data heldnull. See the upgrade guide (#5916) - BREAKING CHANGE: Change
Formto check theifof ananyOf/oneOfoption as part of the field offering it, so the option selector's labels and the rendered option of a field holding no value, such as an empty string field, show neither branch, where they showed the branch{}picked. See the upgrade guide (#5916) - BREAKING CHANGE: Change
Formto show neither branch of aniffor a number field holdingNaN, as for an empty one, where it showed the branch theNaNpicked. See the upgrade guide (#5916) - BREAKING CHANGE: Change
Formto render an array whose primitiveitemsget anenumfrom athenorelseas a list of items rather than as a multi-select, unless theifistrue,false,{}or a$refto one. See the upgrade guide (#5916) - BREAKING CHANGE: Change
Formto leave out a property that anallOfentry'sunevaluatedPropertiesrejects, which no data could hold, from ananyOf/oneOfoption it merges too. See the upgrade guide (#5972, #5958, #5967) - BREAKING CHANGE: Change
Formto start without thedefaultof a property that anallOfmerges tofalseor leaves out, which it no longer renders. See the upgrade guide (#5972, #5958) - BREAKING CHANGE: Fix
Formopening ananyOf/oneOffield on another option thanreset()shows for the same data, where an option holds anifordependencies. See the upgrade guide (#5995, #5990) - BREAKING CHANGE: Fix
AnyOfFieldandOneOfFieldstoringundefinedin a property when the user picks anulloption, which no required property could be submitted with: they storenull, and nothing, however the option is written, where the property's owntypeleavesnullout. See the upgrade guide (#5991, #5944) - BREAKING CHANGE: Change
Formto start a required property with no data that shows atype: 'null'orenum: [null]option of itsanyOf/oneOfatnull, where it held nothing and failed validation until the user switched options and back. See the upgrade guide (#5991, #5944) - BREAKING CHANGE: Change
Formto start ananyOf/oneOffield in the option that the value an enclosing object'sdefault, or an objectconstof its own, gives it matches, where it started in the first option and could drop that value. See the upgrade guide (#5992, #5944) - BREAKING CHANGE: Fix
Formdropping a value its field's newtypeholds, as where a branch, an option or a newschemaprop makes astringfield['string', 'null']: it drops only a value the newtypecan't hold. See the upgrade guide (#5993, #5944) - BREAKING CHANGE: Fix
AnyOfFieldandOneOfFielddropping a string, number or boolean the new option holds when the user switches options, as they already kept an array. See the upgrade guide (#5994, #5944) - BREAKING CHANGE: Fix
Formsubmitting a string unseen where a branch, an option or a newschemaprop gives its field a date or timeformatwhose input can't show it: it drops the string. See the upgrade guide (#5994, #5944) - BREAKING CHANGE: Change
Formto offer an option that both a field's own list and anallOfentry's, athen's or anelse's hold, equal but for its annotations, paired with no other option underoneOf, and to leave out ananyOfoption built from every option another was built from and more, where it offered every pair, so a repeated list offers its options once, and to start a field with no value whose list anallOfentry narrows at the first option left. See the upgrade guide (#5977, #5953) - Fix
AnyOfFieldandOneOfFieldignoring a pick in the option selector of a field that declares adiscriminator, which left the data and the selector on the option shown before, including a pick of an option that sets nodiscriminatorvalue where the field gives that property adefault(#5945) - Add a development warning, given once per form, when a form goes from being passed
formDatato being passed none, or the reverse (#5941) - Fix
Formfilling ananyOf/oneOffield on its first render orreset()from another option than the one it shows, where underadditionalPropertiesWhenAbsent: 'allow'an option naming neitheradditionalPropertiesnorpatternPropertiestakes the data's extra keys, or where anallOfholding options of its own merges each option with its own, so its defaults were added or dropped (#5926, #5886) - Fix
Formhiding the add button and the extra keys of an object, or of ananyOf/oneOfoption anallOfholding options of its own merges with, whoseadditionalProperties, or anallOfentry's, istrueor{}and no otherallOfentry'sunevaluatedPropertiescloses, the keywords beside a$refreading as the object's own rather than as an entry (#5926, #5886) - Fix
Formlagging on ananyOf/oneOfswitch that leaves many keys in an object taking extra keys, which ran a fill of the whole form for each key (#5924, #5836) - Fix
Formdropping a value the user entered, on ananyOf/oneOfswitch, from an object apatternProperties,additionalPropertiesorunevaluatedPropertiessubschema holding anifdescribes (#5924) - Fix
Formdropping, under the defaultallOf: 'skipDefaults', each key of a nested field'sdefaultthat only theoneOf/anyOfoption itsallOfoffers declares, and taking that option'sconstfrom an option other than the one the field shows (#5939, #5930) - Fix
Formlabelling eachoneOf/anyOfoption that anallOfentry holding a list beside the field's own merges with it after only one of the options it was built from, so two of them read alike, where it now names it after each, as "B, C", an option written as a$refby itsui:definitionsentry'sui:titleor its definition'stitle, and an untitled one by its place in its list (#5939, #5930) - Fix an edit in a long array taking longer the more items it holds:
Formcomputes the defaults and judges the values only of the items the edit changed (#5942, #3183) - Fix
Formchecking everyifof a schema against the validator on every edit: one whosepropertiesandrequiredread only values the edit left alone is not checked again (#5942, #4051) - Fix
Formkeeping, on ananyOf/oneOfswitch, a value it filled for an extra key from the object'sdefaultas if the user had typed it, where the key's extra-key subschema (additionalProperties,patternPropertiesorunevaluatedProperties) holds anallOfwith adefault(#5970, #5954) - Fix
Formhiding the add button and the extra keys of an object property whoseadditionalPropertiesistrueor{}, in ananyOf/oneOfoption anallOfholding options of its own merges with (#5959, #5958) - Fix
Formfilling theoneOfbeside an object'sanyOffrom the option at the index of theanyOfoption it shows, rather than from theoneOfoption its data matches (#5946) - Fix
focusOnFirstError, acustomValidateerror and an error moved by renaming an additional property under a key holding a.,[or]reaching the field at the split path, such asa→bfor a keya.b(#5938, #5922) - Fix
Formleaving out theconstof thethenorelseanifin a field'sallOfpicks underallOf: 'skipDefaults', and theconstof the one option such a branch offers, so the field started with a value that failed validation (#5916, #5895) - Fix
Formnot offering the add button of an object under a pattern property or an additional property, or rendering its extra keys, where anallOfmerges itsadditionalProperties: truewith another declaration of it (#5972, #5958) - Fix
Formshowing the first of theoneOf/anyOfoptions that share the data'sdiscriminatorvalue, such as the options anallOflist merges with the field's own, where the data matches a later one, hiding the fields the data fills, or where the user picks a later one, in aLayoutGridField's cells too, and aLayoutGridFieldshowing none of the options' cells where the value is pinned by anenum(#5975, #5957) - Fix a
LayoutGridField's option selector dropping thediscriminatorvalue from the data, and showing none of the option's cells, when the user picks an option whose discriminator is pinned by anenumof one value rather than aconstordefault(#5983, #5981) - Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997) - Fix
RatingWidgetwriting a number to a field with notype, or one that allows both, whoseenumorconstlists numeric strings (#5996) - Fix
Formswitching aoneOf/anyOffield to another option as the user clears or retypes thediscriminatorthe object declares beside its options, including while a field of the option's own is half-filled, and aLayoutGridFieldunmounting a discriminator cell as the user clears or retypes it, along with the option's other cells (#5984, #6004, #5982, #5999)
@rjsf/daisyui
- Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997) - Fix
RatingWidgetwriting a number to a field with notype, or one that allows both, whoseenumorconstlists numeric strings (#5996)
@rjsf/fluentui-rc
- Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997) - Fix
RangeWidgetwriting a number to a field with notype, or one that allows both, whoseenumorconstlists numeric strings (#5996) - Fix
RangeWidgetwriting the field's label into alabelattribute on its<input>with@fluentui/react-components9.75.3 or later (#6015)
@rjsf/mantine
- Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997) - Fix
RangeWidgetand the number input writing a number to a field with notype, or one that allows both, whoseenumorconstlists numeric strings (#5996)
@rjsf/mui
- Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997) - Fix
RangeWidgetwriting a number to a field with notype, or one that allows both, whoseenumorconstlists numeric strings (#5996)
@rjsf/react-bootstrap
- Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997)
@rjsf/shadcn
- Fix
BaseInputTemplatedrawing noallowClearTextInputsclear button for a value of0(#5997) - Fix
RangeWidgetwriting a number to a field with notype, or one that allows both, whoseenumorconstlists numeric strings (#5996)
@rjsf/utils
- BREAKING CHANGE: Change
retrieveSchema()to merge each option of a field's ownoneOf/anyOfwith each option of a list itsthenorelseholds, or a parent'sthen,elseordependenciesschema declares for it, as for a property, a pattern or additional property or an array'sitemsoradditionalItems, each pair a relabelling makes equal once, where it replaced the field's options with the branch's. See the upgrade guide (#5939, #5977, #5930, #5953) - BREAKING CHANGE: Remove
totalItemsfromArrayFieldItemTemplatePropsandArrayFieldItemButtonsTemplateProps. See the upgrade guide (#5942, #3183) - BREAKING CHANGE: Change
getDefaultFormState()to leave aoneOf/anyOfof several constants with no value and nodefaultempty, as anenum, where it took the first constant;constAsDefaults: 'always'still picks it. See the upgrade guide (#5946, #5944) - BREAKING CHANGE: Change
getDefaultFormState()to fill a required boolean whoseoneOf/anyOflists several constants,falseamong them, withfalse, as it fills any required boolean, where it filled in the first constant. See the upgrade guide (#5946, #5944) - BREAKING CHANGE: Change
getDefaultFormState()to leave a required boolean with nodefaultempty where the values its schema lists leave outfalse, such asenum: [true], where it filled infalseor the first constant. See the upgrade guide (#5946, #5944) - BREAKING CHANGE: Fix
toErrorList()splitting a key holding a.,[or]into several keys; it now writes such a key in apropertyas['a.b']. See the upgrade guide (#5938, #5922) - BREAKING CHANGE: Change
getChangedFields()to write a key in adeeppath that is empty or holds a.,[or]in brackets and single quotes, such as['has.dot'].innerforhas.dot.inner, so the path can be told apart from one through nested keys. See the upgrade guide (#5938, #5922) - BREAKING CHANGE: Change
getDefaultFormState()andretrieveSchema()to apply neither branch of anifto a field holding no value, such as an empty number or string field, where they applied the branch{}picked, andgetDefaultFormState()to check theifagainst the value the field's defaults then give it. See the upgrade guide (#5916, #5895) - BREAKING CHANGE: Change
retrieveSchema()to check anifagainstnullform data asnull, where it checked it as{}, asgetDefaultFormState()checks it. See the upgrade guide (#5916) - BREAKING CHANGE: Change
retrieveSchema()andgetDefaultFormState()to read ananyOf/oneOfoption a retrieved schema handed out, or a copy of one, as part of the field offering it, applying neither branch of itsifwith no form data where that field holds no value, where it checked theifagainst{}. See the upgrade guide (#5916) - BREAKING CHANGE: Change
retrieveSchema()to check anifagainstNaNform data as against none, asgetDefaultFormState()does, so a field whosetypeallows neither an object nor an array applies neither branch, where it checked theifagainst theNaN. See the upgrade guide (#5916) - BREAKING CHANGE: Change
isMultiSelect()andisSelect()to read noenumor options athenorelsegives a schema whosetypeallows neither an object nor an array, unless theifistrue,false,{}or a$refto one, where they read the branch{}picked. See the upgrade guide (#5916) - BREAKING CHANGE: Change
retrieveSchema()to read anallOfentry'sunevaluatedPropertiesas theadditionalPropertiesit equals, so the merge closes the keys that entry doesn't declare and leaves out a property it rejects, in eachanyOf/oneOfoption it merges too. See the upgrade guide (#5972, #5958, #5967) - BREAKING CHANGE: Change
getDefaultFormState()to fill no default into a property that anallOfmerges tofalseor leaves out, which no field renders and no data can hold, so the starting data no longer holds it. See the upgrade guide (#5972, #5958) - BREAKING CHANGE: Fix
getDefaultFormState()andgetClosestMatchingOption()scoring ananyOf/oneOfoption as written without theifordependenciesbranch that applies to the data. See the upgrade guide (#5995, #5990) - BREAKING CHANGE: Change
getDefaultFormState()to fillnullinto a required property with no data that shows atype: 'null'orenum: [null]option of itsanyOf/oneOf, where it left it out. See the upgrade guide (#5991, #5944) - BREAKING CHANGE: Change
getDefaultFormState()andgetFilledDefault()to pick ananyOf/oneOfoption by the value an enclosing object'sdefault, or the field's own objectconst, gives it, as by the field's owndefault. See the upgrade guide (#5992, #5944) - BREAKING CHANGE: Fix
sanitizeDataForNewSchema()clearing a value the newtypeholds, and dropping every item wherenumberitems narrow tointegerrather than the fractions alone. See the upgrade guide (#5993, #5944) - BREAKING CHANGE: Change
sanitizeDataForNewSchema()to return scalar data the new schema holds, where it returnedundefined. See the upgrade guide (#5994, #5944) - BREAKING CHANGE: Change
sanitizeDataForNewSchema()to clear a string a new date or timeformatcan't show. See the upgrade guide (#5994, #5944) - BREAKING CHANGE: Change
retrieveSchema()to offer an option that both a field's own list and anallOfentry's, athen's or anelse's hold, equal but for its annotations, paired with no other option underoneOf, and to leave out ananyOfoption built from every option another was built from and more, where it returned every pair, so a repeated list is returned as written;getDefaultFormState()starts a field with no value whose list anallOfentry narrows at the first option left, leaving a list narrowed to several constants unpicked and filling a single one, as a list of one does. See the upgrade guide (#5977, #5953) - Fix
retrieveSchema()dropping anadditionalPropertiesoftrueor{}, the object's own, anallOfentry's or an option's, when it merges the object'sallOf, including the options it merges with those of anallOfentry, unless another entry'sunevaluatedPropertiesother thantrueor{}closes the object to the keys it takes, the keywords beside a$refreading as the object's own rather than as an entry (#5926, #5886) - Fix
getFilledDefault()reading a property's default off its parent's fill, which apatternPropertiessubschema its name matches holding anif, or for an extra key no pattern matches anadditionalPropertiesorunevaluatedPropertiesone, can change, rather than filling the property by itself (#5924) - Fix
getDefaultFormState()dropping, under the defaultallOf: 'skipDefaults', each key of a nested field'sdefaultthat only theoneOf/anyOfoption itsallOfoffers declares, and taking that option'sconstfrom an option other than the one the field shows (#5939, #5930) - Add
renderedOptionsUiSchema(), which orders a field'suiSchema.oneOf/anyOfentries as the options it renders, so an option a merge of lists rebuilt reads the entry of the field's own option it was built from, for an additional or pattern property too (#5939, #5977, #5930) - Add
renderedOptionTitles(), which titles each option a merge of lists built after the options it was built from, andTranslatableString.MergedOptionTitle, which joins two of those names (#5939, #5930) - Fix
getClosestMatchingOption(), and the optiongetDefaultFormState()fills, breaking a tie among options the data matches by their order alone, so data a later option's required keys hold, besidedefaults every option scores alike, opened on and filled the first; the tie now goes to the option holding each key it requires and taking the most keys the data holds, through itspropertiesor as extra keys, and a selected pair a merge of lists built, the form's or acustomMergeAllOf's, keeps it only where it ranks as well, soreset()after a switch restores the pair the data fills, while a selected option written in the list keeps it as before (#5939, #5930, #5964, #5961) - Add
REUSES_DEFAULTS_FLAG, whichFormsets on itsSchemaContextsogetDefaultFormState(), called with the state it returned and one item edited, computes the defaults of that item alone rather than of every item of an array (#5942, #3183) - Fix
retrieveSchema()andgetDefaultFormState()calling the validator for anifagain when only a key itspropertiesandrequireddon't name changed (#5942, #4051) - Fix
getDecimalSeparator()building anIntl.NumberFormaton every call, which every number field made on every render (#5942, #3183) - Fix
getFilledDefault()reading an extra key of a schemaretrieveSchema()returned by thedefaultof anallOfits subschema holds, which the fill skips underallOf: 'skipDefaults', rather than the value the fill writes (#5970, #5954) - Fix
retrieveSchema()dropping anadditionalPropertiesoftrueor{}from a property, apatternPropertiessubschema, anadditionalPropertiessubschema or anitemsdescribing every item, at any depth, when it merges anallOfor the options anallOfentry holds, unless another subschema describing it closes it with itsunevaluatedProperties(updates@x0k/json-schema-mergeto^1.3.0) (#5959, #5972, #5958) - Add an
offeredByargument togetClosestMatchingOption()and itsSchemaUtilsmethod, the field offering the options, so underadditionalPropertiesWhenAbsent: 'allow'a call over copied or definition options picks the option that field shows (#5960, #5958) - Deprecate the
'skipOneOf'value ofDefaultFormStateBehavior'sconstAsDefaults, which now also leaves ananyOfof several constants empty: leave the option unset instead. See the upgrade guide (#5946, #5944) - Fix
getDefaultFormState()filling theoneOfbeside an object'sanyOffrom the option at the index of theanyOfoption it picks, rather than from theoneOfoption the data matches (#5946) - Add
pathToProperty(), which writes a path as thepropertyof a validation error, a key holding a.,[or]in brackets and single quotes, such as['a.b'](#5938, #5922) - Fix
getDefaultFormState()leaving out theconstof thethenorelseanifin a field'sallOfpicks underallOf: 'skipDefaults', and theconstof the one option such a branch offers, so the field got a value that validation rejects (#5916, #5895) - Add
getFieldTitle(), which returns the title the form labels the field at a data path with, andcreateFieldTitleLookup(), which returns those titles for the errors of one validation, walking to each field once (#5966, #5948) - Fix
findFieldInSchema()not finding a property keyed''that a list of keys names (#5966, #5948) - Change
getValidationSchemas()to list eachthenandelsebeside aniftoo, so precompiled validator code generated with 7.0.0-beta.1 has to be regenerated (#5916) - Fix
getClosestMatchingOption(),getFirstMatchingOption(),findSelectedOptionInXxxOf()andfindFieldInSchema()taking the first of the options that hold the data'sdiscriminatorvalue where several do, rather than the one the rest of the data matches, andfindSelectedOptionInXxxOf()andfindFieldInSchema()selecting no option where the discriminator'senumholds the value (#5975, #5957) - Fix
optionsList()giving ananyOf/oneOfoption read through a discriminator orui:optionsSchemaSelectorno value where that property is pinned by anenumof one value rather than aconstordefault; it now takes that value (#5983, #5981) - Change
StrictRJSFSchema, and soRJSFSchema, to an interface extendingJSONSchema7, so declarations that name it need nojson-schematypes of their own (#5998) - Add
formatChangeClears(), which says whether a change of a field'sformatclears the value it holds (#5994, #5944) - Add
optionPlace(), the place in the root of an optionretrieveSchema()handed out, or for an option it built by merging lists, the places of the options it was built from (#5977, #5953) - Change
getAdditionalPropertySchema()to return the subschema of the onepatternPropertiespattern a key matches as it is, where it returned it as anallOfof one (#5977, #5953) - Add
getScoringTarget(), the schemagetFirstMatchingOption()scores ananyOf/oneOfoption with: its place in the root, or a copy without therequireds anddependenciesnames in its scope (#6004, #5999)
@rjsf/validator-ajv8
- BREAKING CHANGE: Fix an error under a key holding a
.,[or]being filed on the field at the split path and losing its title or taking that field's; itspropertynow writes such a key as['a.b']. See the upgrade guide (#5938, #5922) - BREAKING CHANGE: Change an error's
titleandstack, and the property arequiredor dependency message names, to read the label the form shows the field with, so the three validators agree: the field's owntitleover anallOf,anyOf,oneOforthenbranch's or a$reftarget's, none at a root the form renders as an object or an array or on an extra key, and notitlewritten in the uiSchema withoutui:. See the upgrade guide (#5934, #5966, #5932, #5948) - Fix an error inside an array item ignoring the item field's
ui:title: any error other thanrequired, and arequiredone when the item's schema is a$ref(#5938, #5922) - Fix the error for a missing property under a
$refto another property taking that property'sui:title(#5938, #5922) - Fix the error for a missing property of an item behind a
$refto the root taking theui:titleof the root's field of that name (#5938, #5922) - Fix the default validator's types accepting any schema where the package manager doesn't hoist
@types/json-schema(#5998)
@rjsf/validator-ata
- BREAKING CHANGE: Fix an error under a key holding a
.,[or]being filed on the field at the split path and losing its title or taking that field's; itspropertynow writes such a key as['a.b']. See the upgrade guide (#5938, #5922) - BREAKING CHANGE: Change an error's
titleandstack, and the property arequiredor dependency message names, to read the label the form shows the field with, so the three validators agree: the field's owntitleover anallOf,anyOf,oneOforthenbranch's or a$reftarget's, none at a root the form renders as an object or an array or on an extra key, and notitlewritten in the uiSchema withoutui:. See the upgrade guide (#5934, #5966, #5932, #5948) - Fix errors under a
$refnot naming their property by its schematitle(#5933, #5919) - Fix the error for a
falseproperty taking the schema of a sibling property namedtitleas its title (#5933, #5919) - Fix an error other than
requiredinside an array item ignoring the item field'sui:title(#5938, #5922) - Fix the default validator's types accepting any schema where the package manager doesn't hoist
@types/json-schema(#5998)
@rjsf/validator-cfworker
- BREAKING CHANGE: Fix an error under a key holding a
.,[or]being filed on the field at the split path and losing its title or taking that field's; itspropertynow writes such a key as['a.b']. See the upgrade guide (#5938, #5922) - BREAKING CHANGE: Change an error's
titleandstack, and the property arequiredor dependency message names, to read the label the form shows the field with, so the three validators agree: the field's owntitleover anallOf,anyOf,oneOforthenbranch's or a$reftarget's, none at a root the form renders as an object or an array or on an extra key, and notitlewritten in the uiSchema withoutui:. See the upgrade guide (#5934, #5966, #5932, #5948) - BREAKING CHANGE: Fix the error for a missing property keyed
''being filed on the object that requires it and named by that object's title; itspropertynow ends in[''], and adependentRequiredordependencieserror whose present key is''is filed on the missing property. See the upgrade guide (#5980) - Fix errors inside an array item, or under a
$ref,allOforif/then, not naming their property by its schematitle(#5933, #5919) - Fix errors naming a property that a branch redeclares with its own
titleby thetitlealongpropertiesrather than the redeclared one (#5933, #5919) - Fix an error inside an array item ignoring the item field's
ui:title: any error other thanrequired, and arequiredone when the item's schema is a$ref(#5938, #5922) - Fix the default validator's types accepting any schema where the package manager doesn't hoist
@types/json-schema(#5998) - Change
@cfworker/json-schemato^4.1.7, which fixes a$refresolving to an$anchoror$iddeclared inside a subschema that has its own$id, as if the enclosing schema declared it (#6015)
All packages
- Fix the types of
Form, in@rjsf/coreand every theme, accepting anyschemawhere the package manager doesn't hoist@types/json-schema, such as pnpm withhoist: false(#5998)
Dev / docs / playground
- Upgraded the test tooling:
@testing-library/jest-dom7→8, which requiresvitest5