Update RJSF to v5.24.13 #621
Open
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.19.3
->5.24.13
5.19.3
->5.24.13
5.19.3
->5.24.13
Release Notes
rjsf-team/react-jsonschema-form (@rjsf/core)
v5.24.13
: 5.24.13Compare Source
@rjsf/core
ArrayField
to stop usingnanoid
and instead uselodash/uniqueId
to fix #4762@rjsf/semantic-ui
ArrayField
to stop usingnanoid
and instead uselodash/uniqueId
to fix #4762Dev / docs / playground
nanoid
from the build system andjest.config.js
filesv5.24.12
Compare Source
@rjsf/utils
v5.24.11
Compare Source
@rjsf/utils
Full Changelog: rjsf-team/react-jsonschema-form@v5.24.10...v5.24.11
v5.24.10
Compare Source
Dev / docs / playground
package.json
files in thepackages
directories to remove theexports
blocks, fixing #4537v5.24.9
Compare Source
@rjsf/antd
@rjsf/chakra-ui
@rjsf/core
@rjsf/mui
slotProps.htmlInput
, which does not work in MUI v5.@rjsf/utils
Dev / docs / playground
onCopyIndexClick
, fixing #4507v5.24.8
Compare Source
@rjsf/antd
RadioWidget
, fixing #4481@rjsf/validator-ajv8
compileSchemaValidatorsCode()
by adding a newajvReplacer.ts
and using itDev / docs / playground
snapshot-tests
to add validation of disableRadioWidget
via theForm
prop as well asuiSchema
v5.24.7
Compare Source
Dev / docs / playground
core/src/tsconfig.json
and improvements to theexports
for ESM supportv5.24.5
Compare Source
@rjsf/utils
package.json
to removenode
from theexports
block to fix ESM supportv5.24.4
Compare Source
@rjsf/utils
experimental_customMergeAllOf
argument toensureFormDataMatchingSchema
introduced by 4388Dev / docs / playground
exports
to each publicpackage.json
tsc-alias
to add.js
onto all ESM importsv5.24.3
Compare Source
@rjsf/utils
Dev / docs / playground
v5.24.2
Compare Source
@rjsf/utils
lodash.isEqualWith
tofast-equals.createCustomEqual
providingareFunctionsEqual
assuming any functions are equal.@rjsf/mui
v5.24.1
Compare Source
Dev / docs / playground
package.json
files in thepackages
directories to remove theexports
blocks, fixing #4537v5.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 themConfiguration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), 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.