Skip to content

7.0.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@heath-freenome heath-freenome released this 01 Dec 00:27
· 2 commits to main since this release
6ede600

@rjsf/antd

  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)
  • Fix RangeWidget and the number input writing a number to a field with no type, or one that allows both, whose enum or const lists numeric strings (#5996)

@rjsf/bootstrap3

  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)

@rjsf/chakra-ui

  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)
  • Fix RangeWidget writing a number to a field with no type, or one that allows both, whose enum or const lists numeric strings (#5996)

@rjsf/core

  • BREAKING CHANGE: Change Form to offer each option of a field's own oneOf/anyOf merged with each option of a list its then or else holds, or a parent's then, else or dependencies schema declares for it, as for a property, a pattern or additional property or an array's items or additionalItems, labelled after both, or after the later alone, a branch's over an allOf entry'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 Form to label, render and fill each oneOf/anyOf option an allOf entry merges with the field's own list, in a LayoutMultiSchemaField and a select of constants too, by the uiSchema.oneOf/anyOf entry 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 LayoutMultiSchemaField showing and switching to the first of the oneOf/anyOf options 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 totalItems prop of ArrayFieldItemTemplate and ArrayFieldItemButtonsTemplate, 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 Form to start a control over a oneOf/anyOf of several constants with no default empty, as for an enum, 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 Form to start a required boolean whose oneOf/anyOf lists several constants, false among them, at false, as any required boolean, where it started at the first constant. See the upgrade guide (#5946, #5944)
  • BREAKING CHANGE: Change Form to leave a required boolean with no default empty, reported missing on submit, where the values its schema lists leave out false, such as enum: [true], where it started at false or the first constant. See the upgrade guide (#5946, #5944)
  • BREAKING CHANGE: Change Form to show neither branch of an if for a field holding no value, such as an empty number or string field, where it showed the branch {} picked, and to check the if against the value the field's defaults then give it. See the upgrade guide (#5916, #5895)
  • BREAKING CHANGE: Change Form to check the if of a field holding null, from its default, the user or the server, against null, where it showed the branch {} picked while the data held null. See the upgrade guide (#5916)
  • BREAKING CHANGE: Change Form to check the if of an anyOf/oneOf option 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 Form to show neither branch of an if for a number field holding NaN, as for an empty one, where it showed the branch the NaN picked. See the upgrade guide (#5916)
  • BREAKING CHANGE: Change Form to render an array whose primitive items get an enum from a then or else as a list of items rather than as a multi-select, unless the if is true, false, {} or a $ref to one. See the upgrade guide (#5916)
  • BREAKING CHANGE: Change Form to leave out a property that an allOf entry's unevaluatedProperties rejects, which no data could hold, from an anyOf/oneOf option it merges too. See the upgrade guide (#5972, #5958, #5967)
  • BREAKING CHANGE: Change Form to start without the default of a property that an allOf merges to false or leaves out, which it no longer renders. See the upgrade guide (#5972, #5958)
  • BREAKING CHANGE: Fix Form opening an anyOf/oneOf field on another option than reset() shows for the same data, where an option holds an if or dependencies. See the upgrade guide (#5995, #5990)
  • BREAKING CHANGE: Fix AnyOfField and OneOfField storing undefined in a property when the user picks a null option, which no required property could be submitted with: they store null, and nothing, however the option is written, where the property's own type leaves null out. See the upgrade guide (#5991, #5944)
  • BREAKING CHANGE: Change Form to start a required property with no data that shows a type: 'null' or enum: [null] option of its anyOf/oneOf at null, where it held nothing and failed validation until the user switched options and back. See the upgrade guide (#5991, #5944)
  • BREAKING CHANGE: Change Form to start an anyOf/oneOf field in the option that the value an enclosing object's default, or an object const of 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 Form dropping a value its field's new type holds, as where a branch, an option or a new schema prop makes a string field ['string', 'null']: it drops only a value the new type can't hold. See the upgrade guide (#5993, #5944)
  • BREAKING CHANGE: Fix AnyOfField and OneOfField dropping 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 Form submitting a string unseen where a branch, an option or a new schema prop gives its field a date or time format whose input can't show it: it drops the string. See the upgrade guide (#5994, #5944)
  • BREAKING CHANGE: Change Form to offer an option that both a field's own list and an allOf entry's, a then's or an else's hold, equal but for its annotations, paired with no other option under oneOf, and to leave out an anyOf option 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 an allOf entry narrows at the first option left. See the upgrade guide (#5977, #5953)
  • Fix AnyOfField and OneOfField ignoring a pick in the option selector of a field that declares a discriminator, which left the data and the selector on the option shown before, including a pick of an option that sets no discriminator value where the field gives that property a default (#5945)
  • Add a development warning, given once per form, when a form goes from being passed formData to being passed none, or the reverse (#5941)
  • Fix Form filling an anyOf/oneOf field on its first render or reset() from another option than the one it shows, where under additionalPropertiesWhenAbsent: 'allow' an option naming neither additionalProperties nor patternProperties takes the data's extra keys, or where an allOf holding options of its own merges each option with its own, so its defaults were added or dropped (#5926, #5886)
  • Fix Form hiding the add button and the extra keys of an object, or of an anyOf/oneOf option an allOf holding options of its own merges with, whose additionalProperties, or an allOf entry's, is true or {} and no other allOf entry's unevaluatedProperties closes, the keywords beside a $ref reading as the object's own rather than as an entry (#5926, #5886)
  • Fix Form lagging on an anyOf/oneOf switch that leaves many keys in an object taking extra keys, which ran a fill of the whole form for each key (#5924, #5836)
  • Fix Form dropping a value the user entered, on an anyOf/oneOf switch, from an object a patternProperties, additionalProperties or unevaluatedProperties subschema holding an if describes (#5924)
  • Fix Form dropping, under the default allOf: 'skipDefaults', each key of a nested field's default that only the oneOf/anyOf option its allOf offers declares, and taking that option's const from an option other than the one the field shows (#5939, #5930)
  • Fix Form labelling each oneOf/anyOf option that an allOf entry 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 $ref by its ui:definitions entry's ui:title or its definition's title, 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: Form computes the defaults and judges the values only of the items the edit changed (#5942, #3183)
  • Fix Form checking every if of a schema against the validator on every edit: one whose properties and required read only values the edit left alone is not checked again (#5942, #4051)
  • Fix Form keeping, on an anyOf/oneOf switch, a value it filled for an extra key from the object's default as if the user had typed it, where the key's extra-key subschema (additionalProperties, patternProperties or unevaluatedProperties) holds an allOf with a default (#5970, #5954)
  • Fix Form hiding the add button and the extra keys of an object property whose additionalProperties is true or {}, in an anyOf/oneOf option an allOf holding options of its own merges with (#5959, #5958)
  • Fix Form filling the oneOf beside an object's anyOf from the option at the index of the anyOf option it shows, rather than from the oneOf option its data matches (#5946)
  • Fix focusOnFirstError, a customValidate error and an error moved by renaming an additional property under a key holding a ., [ or ] reaching the field at the split path, such as a → b for a key a.b (#5938, #5922)
  • Fix Form leaving out the const of the then or else an if in a field's allOf picks under allOf: 'skipDefaults', and the const of the one option such a branch offers, so the field started with a value that failed validation (#5916, #5895)
  • Fix Form not offering the add button of an object under a pattern property or an additional property, or rendering its extra keys, where an allOf merges its additionalProperties: true with another declaration of it (#5972, #5958)
  • Fix Form showing the first of the oneOf/anyOf options that share the data's discriminator value, such as the options an allOf list 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 a LayoutGridField's cells too, and a LayoutGridField showing none of the options' cells where the value is pinned by an enum (#5975, #5957)
  • Fix a LayoutGridField's option selector dropping the discriminator value from the data, and showing none of the option's cells, when the user picks an option whose discriminator is pinned by an enum of one value rather than a const or default (#5983, #5981)
  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)
  • Fix RatingWidget writing a number to a field with no type, or one that allows both, whose enum or const lists numeric strings (#5996)
  • Fix Form switching a oneOf/anyOf field to another option as the user clears or retypes the discriminator the object declares beside its options, including while a field of the option's own is half-filled, and a LayoutGridField unmounting a discriminator cell as the user clears or retypes it, along with the option's other cells (#5984, #6004, #5982, #5999)

@rjsf/daisyui

  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)
  • Fix RatingWidget writing a number to a field with no type, or one that allows both, whose enum or const lists numeric strings (#5996)

@rjsf/fluentui-rc

  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)
  • Fix RangeWidget writing a number to a field with no type, or one that allows both, whose enum or const lists numeric strings (#5996)
  • Fix RangeWidget writing the field's label into a label attribute on its <input> with @fluentui/react-components 9.75.3 or later (#6015)

@rjsf/mantine

  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)
  • Fix RangeWidget and the number input writing a number to a field with no type, or one that allows both, whose enum or const lists numeric strings (#5996)

@rjsf/mui

  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)
  • Fix RangeWidget writing a number to a field with no type, or one that allows both, whose enum or const lists numeric strings (#5996)

@rjsf/react-bootstrap

  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)

@rjsf/shadcn

  • Fix BaseInputTemplate drawing no allowClearTextInputs clear button for a value of 0 (#5997)
  • Fix RangeWidget writing a number to a field with no type, or one that allows both, whose enum or const lists numeric strings (#5996)

@rjsf/utils

  • BREAKING CHANGE: Change retrieveSchema() to merge each option of a field's own oneOf/anyOf with each option of a list its then or else holds, or a parent's then, else or dependencies schema declares for it, as for a property, a pattern or additional property or an array's items or additionalItems, 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 totalItems from ArrayFieldItemTemplateProps and ArrayFieldItemButtonsTemplateProps. See the upgrade guide (#5942, #3183)
  • BREAKING CHANGE: Change getDefaultFormState() to leave a oneOf/anyOf of several constants with no value and no default empty, as an enum, 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 whose oneOf/anyOf lists several constants, false among them, with false, 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 no default empty where the values its schema lists leave out false, such as enum: [true], where it filled in false or 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 a property as ['a.b']. See the upgrade guide (#5938, #5922)
  • BREAKING CHANGE: Change getChangedFields() to write a key in a deep path that is empty or holds a ., [ or ] in brackets and single quotes, such as ['has.dot'].inner for has.dot.inner, so the path can be told apart from one through nested keys. See the upgrade guide (#5938, #5922)
  • BREAKING CHANGE: Change getDefaultFormState() and retrieveSchema() to apply neither branch of an if to a field holding no value, such as an empty number or string field, where they applied the branch {} picked, and getDefaultFormState() to check the if against the value the field's defaults then give it. See the upgrade guide (#5916, #5895)
  • BREAKING CHANGE: Change retrieveSchema() to check an if against null form data as null, where it checked it as {}, as getDefaultFormState() checks it. See the upgrade guide (#5916)
  • BREAKING CHANGE: Change retrieveSchema() and getDefaultFormState() to read an anyOf/oneOf option a retrieved schema handed out, or a copy of one, as part of the field offering it, applying neither branch of its if with no form data where that field holds no value, where it checked the if against {}. See the upgrade guide (#5916)
  • BREAKING CHANGE: Change retrieveSchema() to check an if against NaN form data as against none, as getDefaultFormState() does, so a field whose type allows neither an object nor an array applies neither branch, where it checked the if against the NaN. See the upgrade guide (#5916)
  • BREAKING CHANGE: Change isMultiSelect() and isSelect() to read no enum or options a then or else gives a schema whose type allows neither an object nor an array, unless the if is true, false, {} or a $ref to one, where they read the branch {} picked. See the upgrade guide (#5916)
  • BREAKING CHANGE: Change retrieveSchema() to read an allOf entry's unevaluatedProperties as the additionalProperties it equals, so the merge closes the keys that entry doesn't declare and leaves out a property it rejects, in each anyOf/oneOf option it merges too. See the upgrade guide (#5972, #5958, #5967)
  • BREAKING CHANGE: Change getDefaultFormState() to fill no default into a property that an allOf merges to false or 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() and getClosestMatchingOption() scoring an anyOf/oneOf option as written without the if or dependencies branch that applies to the data. See the upgrade guide (#5995, #5990)
  • BREAKING CHANGE: Change getDefaultFormState() to fill null into a required property with no data that shows a type: 'null' or enum: [null] option of its anyOf/oneOf, where it left it out. See the upgrade guide (#5991, #5944)
  • BREAKING CHANGE: Change getDefaultFormState() and getFilledDefault() to pick an anyOf/oneOf option by the value an enclosing object's default, or the field's own object const, gives it, as by the field's own default. See the upgrade guide (#5992, #5944)
  • BREAKING CHANGE: Fix sanitizeDataForNewSchema() clearing a value the new type holds, and dropping every item where number items narrow to integer rather than the fractions alone. See the upgrade guide (#5993, #5944)
  • BREAKING CHANGE: Change sanitizeDataForNewSchema() to return scalar data the new schema holds, where it returned undefined. See the upgrade guide (#5994, #5944)
  • BREAKING CHANGE: Change sanitizeDataForNewSchema() to clear a string a new date or time format can't show. See the upgrade guide (#5994, #5944)
  • BREAKING CHANGE: Change retrieveSchema() to offer an option that both a field's own list and an allOf entry's, a then's or an else's hold, equal but for its annotations, paired with no other option under oneOf, and to leave out an anyOf option 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 an allOf entry 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 an additionalProperties of true or {}, the object's own, an allOf entry's or an option's, when it merges the object's allOf, including the options it merges with those of an allOf entry, unless another entry's unevaluatedProperties other than true or {} closes the object to the keys it takes, the keywords beside a $ref reading 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 a patternProperties subschema its name matches holding an if, or for an extra key no pattern matches an additionalProperties or unevaluatedProperties one, can change, rather than filling the property by itself (#5924)
  • Fix getDefaultFormState() dropping, under the default allOf: 'skipDefaults', each key of a nested field's default that only the oneOf/anyOf option its allOf offers declares, and taking that option's const from an option other than the one the field shows (#5939, #5930)
  • Add renderedOptionsUiSchema(), which orders a field's uiSchema.oneOf/anyOf entries 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, and TranslatableString.MergedOptionTitle, which joins two of those names (#5939, #5930)
  • Fix getClosestMatchingOption(), and the option getDefaultFormState() fills, breaking a tie among options the data matches by their order alone, so data a later option's required keys hold, beside defaults 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 its properties or as extra keys, and a selected pair a merge of lists built, the form's or a customMergeAllOf's, keeps it only where it ranks as well, so reset() 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, which Form sets on its SchemaContext so getDefaultFormState(), 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() and getDefaultFormState() calling the validator for an if again when only a key its properties and required don't name changed (#5942, #4051)
  • Fix getDecimalSeparator() building an Intl.NumberFormat on every call, which every number field made on every render (#5942, #3183)
  • Fix getFilledDefault() reading an extra key of a schema retrieveSchema() returned by the default of an allOf its subschema holds, which the fill skips under allOf: 'skipDefaults', rather than the value the fill writes (#5970, #5954)
  • Fix retrieveSchema() dropping an additionalProperties of true or {} from a property, a patternProperties subschema, an additionalProperties subschema or an items describing every item, at any depth, when it merges an allOf or the options an allOf entry holds, unless another subschema describing it closes it with its unevaluatedProperties (updates @x0k/json-schema-merge to ^1.3.0) (#5959, #5972, #5958)
  • Add an offeredBy argument to getClosestMatchingOption() and its SchemaUtils method, the field offering the options, so under additionalPropertiesWhenAbsent: 'allow' a call over copied or definition options picks the option that field shows (#5960, #5958)
  • Deprecate the 'skipOneOf' value of DefaultFormStateBehavior's constAsDefaults, which now also leaves an anyOf of several constants empty: leave the option unset instead. See the upgrade guide (#5946, #5944)
  • Fix getDefaultFormState() filling the oneOf beside an object's anyOf from the option at the index of the anyOf option it picks, rather than from the oneOf option the data matches (#5946)
  • Add pathToProperty(), which writes a path as the property of a validation error, a key holding a ., [ or ] in brackets and single quotes, such as ['a.b'] (#5938, #5922)
  • Fix getDefaultFormState() leaving out the const of the then or else an if in a field's allOf picks under allOf: 'skipDefaults', and the const of 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, and createFieldTitleLookup(), 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 each then and else beside an if too, so precompiled validator code generated with 7.0.0-beta.1 has to be regenerated (#5916)
  • Fix getClosestMatchingOption(), getFirstMatchingOption(), findSelectedOptionInXxxOf() and findFieldInSchema() taking the first of the options that hold the data's discriminator value where several do, rather than the one the rest of the data matches, and findSelectedOptionInXxxOf() and findFieldInSchema() selecting no option where the discriminator's enum holds the value (#5975, #5957)
  • Fix optionsList() giving an anyOf/oneOf option read through a discriminator or ui:optionsSchemaSelector no value where that property is pinned by an enum of one value rather than a const or default; it now takes that value (#5983, #5981)
  • Change StrictRJSFSchema, and so RJSFSchema, to an interface extending JSONSchema7, so declarations that name it need no json-schema types of their own (#5998)
  • Add formatChangeClears(), which says whether a change of a field's format clears the value it holds (#5994, #5944)
  • Add optionPlace(), the place in the root of an option retrieveSchema() 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 one patternProperties pattern a key matches as it is, where it returned it as an allOf of one (#5977, #5953)
  • Add getScoringTarget(), the schema getFirstMatchingOption() scores an anyOf/oneOf option with: its place in the root, or a copy without the requireds and dependencies names 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; its property now writes such a key as ['a.b']. See the upgrade guide (#5938, #5922)
  • BREAKING CHANGE: Change an error's title and stack, and the property a required or dependency message names, to read the label the form shows the field with, so the three validators agree: the field's own title over an allOf, anyOf, oneOf or then branch's or a $ref target's, none at a root the form renders as an object or an array or on an extra key, and no title written in the uiSchema without ui:. 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 than required, and a required one when the item's schema is a $ref (#5938, #5922)
  • Fix the error for a missing property under a $ref to another property taking that property's ui:title (#5938, #5922)
  • Fix the error for a missing property of an item behind a $ref to the root taking the ui:title of 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; its property now writes such a key as ['a.b']. See the upgrade guide (#5938, #5922)
  • BREAKING CHANGE: Change an error's title and stack, and the property a required or dependency message names, to read the label the form shows the field with, so the three validators agree: the field's own title over an allOf, anyOf, oneOf or then branch's or a $ref target's, none at a root the form renders as an object or an array or on an extra key, and no title written in the uiSchema without ui:. See the upgrade guide (#5934, #5966, #5932, #5948)
  • Fix errors under a $ref not naming their property by its schema title (#5933, #5919)
  • Fix the error for a false property taking the schema of a sibling property named title as its title (#5933, #5919)
  • Fix an error other than required inside an array item ignoring the item field's ui: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; its property now writes such a key as ['a.b']. See the upgrade guide (#5938, #5922)
  • BREAKING CHANGE: Change an error's title and stack, and the property a required or dependency message names, to read the label the form shows the field with, so the three validators agree: the field's own title over an allOf, anyOf, oneOf or then branch's or a $ref target's, none at a root the form renders as an object or an array or on an extra key, and no title written in the uiSchema without ui:. 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; its property now ends in [''], and a dependentRequired or dependencies error 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, allOf or if/then, not naming their property by its schema title (#5933, #5919)
  • Fix errors naming a property that a branch redeclares with its own title by the title along properties rather than the redeclared one (#5933, #5919)
  • Fix an error inside an array item ignoring the item field's ui:title: any error other than required, and a required one 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-schema to ^4.1.7, which fixes a $ref resolving to an $anchor or $id declared 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/core and every theme, accepting any schema where the package manager doesn't hoist @types/json-schema, such as pnpm with hoist: false (#5998)

Dev / docs / playground

  • Upgraded the test tooling: @testing-library/jest-dom 7→8, which requires vitest 5