chore: 🤖 update rjsf monorepo to v5.24.1 #1503
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.16.1
->5.24.1
5.16.1
->5.24.1
5.16.1
->5.24.1
Release Notes
rjsf-team/react-jsonschema-form (@rjsf/core)
v5.24.1
Compare Source
@rjsf/utils
getChangedFields()
Dev / docs / playground
@rjsf/*
to be5.24.x
getChangedFields()
v5.24.0
Compare Source
@rjsf/core
@rjsf/utils
lodash.isEqual()
to@rjsf/utils.deepEquals
.@rjsf/validator-ajv8
title
orui:title
. This fix only applicable if we use an ajv-i18n localizer. Ref. #4402.lodash.isEqual()
to@rjsf/utils.deepEquals
at precompiledValidator.v5.23.2
Compare Source
@rjsf/core
MultiSchemaField
#4375. Fixes #4367@rjsf/utils
File
andDate
constructor access in isObject to optimize performance in scenarios whereglobalThis
is aProxy
that incurs overhead for each class constructor access (#4413). Fixes #4409@rjsf/validator-ajv8
ui:title
in anyOf/oneOf is not shown in error messages. Fixes #4368v5.23.1
Compare Source
@rjsf/chakra-ui
package.json
to restrict@chakra-ui/react
's peer dependency to be < 3.0.0, fixing #4390@rjsf/core
NumberField
to properly pass through theerrorSchema
andid
in the onChange handler, fixing #4382Dev / docs / playground
@rjsf/*
to be5.23.x
v5.23.0
Compare Source
@rjsf/core
SchemaField
to no longer make schema fields with const read-only by default, partially fixing #4344@rjsf/utils
Experimental_DefaultFormStateBehavior
to add a newconstAsDefaults
optiongetDefaultFormState()
to use the newconstAsDefaults
option to control how const is used for defaulting, fixing #4344, #4361 and #4377experimental_customMergeAllOf
option in functions that have previously missed it.ErrorSchemaBuilder
methodsaddErrors
andsetErrors
to prevent duplicate error messages.@rjsf/validator-ajv8
title
orui:title
if aLocalizer
function is used. Fixes #4387Dev / docs / playground
constAsDefaults
optionv5.22.4
Compare Source
@rjsf/utils
Dev / docs / playground
v5.22.3
Compare Source
@rjsf/utils
v5.22.2
Compare Source
@rjsf/core
@rjsf/validator-ajv8
AJV8Validator#transformRJSFValidationErrors
to replace the error message field with either theuiSchema
'sui:title
field if one exists or theparentSchema
title if one exists. Fixes #4348v5.22.1
Compare Source
Dev / docs / playground
v5.22.0
Compare Source
@rjsf/core
MultiSchemaField
to call theonChange
handler after setting the new option, fixing #3997 and #4314@rjsf/utils
experimental_customMergeAllOf
option toretrieveSchema()
andgetDefaultFormState()
to allow custom merging ofallOf
schemasmergeDefaultsIntoFormData
option toExperimental_DefaultFormStateBehavior
type to control how to handle merging of defaultsmergeDefaultsWithFormData()
to add new optionaldefaultSupercedesUndefined
that when true uses the defaults rather thanundefined
formData, fixing #4322getDefaultFormState()
to pass true tomergeDefaultsWithFormData
fordefaultSupercedesUndefined
whenmergeDefaultsIntoFormData
has the valueuseDefaultIfFormDataUndefined
, fixing #4322getClosestMatchingOption()
to improve the scoring of sub-property objects that are provided over ones that aren't, fixing #3997 and #4314Dev / docs / playground
form-props.md
to add documentation for the newexperimental_customMergeAllOf
props and theexperimental_defaultFormStateBehavior.mergeDefaultsIntoFormData
optionutility-functions.md
to add documentation for the new optionaldefaultSupercedesUndefined
parameter and the two missing optional fields ongetDefaultFormState()
custom-templates.md
to add a section header for wrappingBaseInputTemplate
mergeDefaultsIntoFormData
optionShow Error List
component over one column, making it inline radio buttons rather than a selectv5.21.2
Compare Source
@rjsf/core
SchemaField
to passrequired
flag to_AnyOfField
/_OneOfField
Form
to deal with null objects infilterErrorsBasedOnSchema()
, fixing #4306@rjsf/utils
ErrorSchemaBuilder
to support adding, updating, and removing paths that are numbers, fixing #4297retrieveSchema
to not mergecontains
properties inallOf
schema lists, fixing #2923Dev / docs / playground
custom-widgets-fields.md
to add examples of wrapping a widget/fieldv5.21.1
Compare Source
@rjsf/utils
deepEquals()
from [#4292]@validator-ajv8
deepEquals()
instead oflodash.isEqual()
from [#4292]v5.21.0
Compare Source
@rjsf/core
Form
to fixfocusOnError()
to support the ids that include dots, fixing #4279@rjsf/mui
@mui/material
and@mui/icon-material
, fixing 4283@rjsf/utils
deepEquals()
to usefast-equals.createCustomEqual()
instead oflodash.isEqualWith()
, fixing #4291lodash.isEqual()
todeepEquals()
in many of the utility functions as well@validator-ajv8
@rjsf/utils
deepEquals()
instead oflodash.isEqual()
to improve performance, fixing #4291Dev / docs / playground
@mui/*
version 6, changing the name of the dropdown frommaterial-ui-5
tomui
v5.20.1
Compare Source
Dev / docs / playground
5.20.x
due to types and API changes in@rjsf/utils
v5.20.0
Compare Source
@rjsf/core
ArrayField
,BooleanField
andStringField
to calloptionsList()
with the additionalUiSchema
parameter, fixing #4215 and #4260@rjsf/utils
WidgetProps
type to addes?: ErrorSchema<T>, id?: string
to the params of theonChange
handler functionUIOptionsBaseType
to add the newenumNames
prop to support an alternate way to provide labels forenum
s in a schema, fixing #4215optionsList()
to take an optionaluiSchema
that is used to extract alternate labels forenum
s oroneOf
/anyOf
in a schema, fixing #4215 and #4260optionsList()
were expanded from<S extends StrictRJSFSchema = RJSFSchema>
to<S extends StrictRJSFSchema = RJSFSchema, T = any, F extends FormContextType = any>
to support theUiSchema
.Dev / docs / playground
custom-widget-fields.md
to add documentation for how to raise errors from a custom widget or fieldv5.19.4
Compare Source
@rjsf/core
@rjsf/utils
ValidatorType
interface to add an optionalreset?: () => void
prop that can be implemented to reset a validator back to initial constructed stateParserValidator
to provide areset()
function that clears the schema mapMarkdown
rather than HTML tags since we now render them withMarkdown
@rjsf/validator-ajv8
AJV8Validator
to implement thereset()
function to remove cached schemas in theajv
instanceDev / docs / playground
Validator
dropdown to addAJV8 (discriminator)
which sets the AJV validator discriminator option totrue
to support testing schemas with that option in themv5.19.3
Compare Source
@rjsf/antd
@rjsf/chakra-ui
@rjsf/fluentui-rc
@rjsf/material-ui
@rjsf/mui
@rjsf/semantic-ui
v5.19.2
Compare Source
@rjsf/core
.only
on tests that was accidentally added in5.19.0
v5.19.1
Compare Source
Dev / docs / playground
5.19.x
due to use of new API in5.19.0
v5.19.0
Compare Source
@rjsf/antd
AltDateWidget
to use the newdateRangeOptions()
function inutils
to support relative Years and reversing the order of the Year choices@rjsf/chakra-ui
AltDateWidget
to use the newdateRangeOptions()
function inutils
to support relative Years and reversing the order of the Year choices@rjsf/core
readOnly
from a JSON Schema was not applied in SchemaField (#4236)AltDateWidget
to use the newdateRangeOptions()
function inutils
to support relative Years and reversing the order of the Year choices@rjsf/utils
dateRangeOptions()
function to implement relative Years in (via negative ranges) and reversing the order of the Year choicesDev / docs / playground
dateRangeOptions()
function as well as showing examples of using relative Years and reversed Year orderingv5.18.6
Compare Source
@rjsf/antd
@rjsf/core
omitExtraData
not working inonSubmit
andvalidateForm
; fixing #4187, #4165 and #4109@rjsf/utils
@rjsf/validator-ajv6
@rjsf/validator-ajv8
v5.18.5
Compare Source
@rjsf/antd
target
inonFocus
andonBlur
handlers@rjsf/bootstrap4
target
inonFocus
andonBlur
handlers@rjsf/chakra-ui
target
inonFocus
andonBlur
handlers@rjsf/core
target
inonFocus
andonBlur
handlers@rjsf/fluent-ui
target
inonFocus
andonBlur
handlers@rjsf/fluentui-rc
target
inonFocus
andonBlur
handlers@rjsf/material-ui
target
inonFocus
andonBlur
handlers@rjsf/mui
target
inonFocus
andonBlur
handlers@rjsf/semantic-ui
target
inonFocus
andonBlur
handlers@rjsf/validator-ajv6
@rjsf/validator-ajv8
v5.18.4
Compare Source
Dev / docs / playground
constants.ts
,Form.tsx
v5.18.3
Compare Source
@rjsf/semantic-ui
peerDependencies
Dev / docs / playground
react
to18.x
custom-widgets-fields.md
in the documentationLICENSE.md
to include the proper copyright dates and ownerv5.18.2
Compare Source
@rjsf/core
@rjsf/utils
v5.18.1
: 5.18.1Compare Source
5.18.0
introduced new features in@rjsf/utils
that affect@rjsf/core
v5.18.0
Compare Source
@rjsf/antd
@rjsf/core
@rjsf/mui
SelectWidget
andBaseInputTemplate
to filter outerrorSchema
andautocomplete
from thetextFieldProps
being spread onto theTextField
, fixing #4134@rjsf/utils
skipEmptyDefault
option inemptyObjectFields
, fixing #3880computeSkipPopulate
option inarrayMinItems
, allowing custom logic to skip populating arrays with default values, implementing #4121."\</strong>"
would get printed next to filenames when uploading files, and restored intended bolding of filenames fixing #4120.Dev / docs / playground
skipEmptyDefault
option.Form
in usage documentation - fixing #4127v5.17.1
Compare Source
@rjsf/chakra-ui
UiSchema
"ui:rows"
option fortextarea
elements, fixing #4070.@rjsf/core
errorSchema
toArrayFieldTemplate
props.@rjsf/utils
base64
object from the@rjsf/utils
package. Note that this is a breaking change if you relied on thebase64
object exported by@rjsf/utils
. Since this change caused #4080, and was only internally used by playground code, we are shipping this change in a patch release.errorSchema
to theArrayFieldTemplateProps
type.Dev / docs / playground
base64
encoder/decoder object to the Playground package.v5.17.0
Compare Source
@rjsf/core
anyOf
/oneOf
inuiSchema
s in theMultiSchemaField
, fixing #4039@rjsf/utils
base64
to supportencoding
anddecoding
using theUTF-8
charset to support the characters out of theLatin1
range.enumOptionsValueForIndex()
to fix issue that filtered enum options with a value that was 0, fixing #4067Dev / docs / playground
atob
andbtoa
) to invoke the functions from the newbase64
object in@rjsf/utils
.uiSchema.md
documentation to describe how to use the newanyOf
/oneOf
supportConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.