-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency @rjsf/core to v5 #18
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/major-rjsf-monorepo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
90b5cb7
to
c1ae619
Compare
c1ae619
to
16bb770
Compare
16bb770
to
d802576
Compare
d802576
to
de82571
Compare
de82571
to
1050b32
Compare
1050b32
to
48e0a57
Compare
48e0a57
to
ca71ff0
Compare
ca71ff0
to
954ec15
Compare
954ec15
to
f8072ce
Compare
f8072ce
to
dfda29c
Compare
dfda29c
to
c4216f8
Compare
c4216f8
to
0bc84ca
Compare
0bc84ca
to
59a697c
Compare
59a697c
to
f5160a0
Compare
833c5b3
to
16f85f4
Compare
6341a23
to
1d9d9b7
Compare
1d9d9b7
to
4089afc
Compare
4089afc
to
f171c96
Compare
f171c96
to
11f52bb
Compare
2dc46c8
to
1f99242
Compare
1f99242
to
615389a
Compare
b8d245e
to
caf8856
Compare
caf8856
to
7e43a49
Compare
7e43a49
to
d7dfc39
Compare
c98b6fe
to
4e8f641
Compare
4e8f641
to
b68d61d
Compare
5ed6a1a
to
b7dc01f
Compare
b7dc01f
to
2472c7e
Compare
2472c7e
to
e242f66
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
4.2.3
->5.24.3
Release Notes
rjsf-team/react-jsonschema-form (@rjsf/core)
v5.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
@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
supportv5.16.1
Compare Source
Dev / docs / playground
v5.16.0
Compare Source
@rjsf/core
dateElementProps
function implementation, and replaced it withgetDateElementProps
from@rjsf/utils
.format: "data-url"
inFileWidget
, fixing #3957.@rjsf/antd
dateElementProps
function implementation, and replaced it withgetDateElementProps
from@rjsf/utils
.@rjsf/chakra-ui
dateElementProps
function implementation, and replaced it withgetDateElementProps
from@rjsf/utils
.@rjsf/mui
FieldErrorTemplate
andFieldHelpTemplate
to support html-based errors that cause<xxxx> cannot appear as a descendant of <p>
browser warnings, fixing #4031@rjsf/utils
getDateElementProps()
to refactor duplicate function incore
,antd
&chakra-ui
AltDateWidget's source code. The same function, implements the feature requested in #297Dev / docs / playground
v5.15.1
Compare Source
@rjsf/core
getFieldNames
. Now correctly defines an array of primitives.@rjsf/validator-ajv6
AJV6Validator
class to expose the internalajv
object, allowing access to support a fix related to #3972@rjsf/validator-ajv8
AJV8Validator
class to expose the internalajv
object, allowing access to support a fix related to #3972Dev / docs / playground
ajv
variablev5.15.0
Compare Source
@rjsf/mui
"ui:label": false
is specified.@rjsf/utils
resolveAllReferences()
to use own recurse list for each object properties, fixing #3961allOf
toexperimental_defaultFormStateBehavior
for populating defaults when usingallOf
schemas #3969Dev / playground
utils
invalidator-ajv6
andvalidator-ajv8
packages tsconfigsexperimental_defaultFormStateBehavior.allOf
behaviour in the playgroundv5.14.3
Compare Source
@rjsf/core
retrieveSchema
atForm
state to memoize the result ofschemUtils.retrieveSchema
@rjsf/fluentui-rc
ArrayFieldItemTemplate
itemsDev
"importHelpers": false
to remove need for tslib dependency #3958snapshot-tests
in a root tsconfig, update it to also use es modulesv5.14.2
Compare Source
@rjsf/antd
peerDependencies
for@ant-design/icons
to also support v5, fixing #3507@rjsf/core
retrieveSchema
twice duringgetStateFromProps
andmustValidate
is true #3959@rjsf/mui
hideError
property to the DOM element, fixing #3945@rjsf/material-ui
hideError
property to the DOM element, fixing #3945@rjsf/utils
sanitizeDataForNewSchema()
to avoid spreading strings and Arrays into the returned value when the old schema is of typestring
orarray
and the new schema is of typeobject
. Fixing #3922v5.14.1
Compare Source
@rjsf/utils
sanitizeDataForNewSchema()
to avoid spreading strings and Arrays into the returned value when the old schema is of typestring
orarray
and the new schema is of typeobject
. Fixing #3922labelValue
to have more granular return types, fixing #3946Dev / playground
v5.13.6
Compare Source
@rjsf/core
StringField
to passhideError
prop toWidget
so that all fields are consistent. Missed this file in previous patchv5.13.5
Compare Source
@rjsf/core
StringField
andBooleanField
to passhideError
prop toWidget
so that all fields are consistentv5.13.4
Compare Source
@rjsf/core
SchemaField
to show errors foranyOf
/oneOf
when being rendered as select control, fixing 3908v5.13.3
Compare Source
@rjsf/antd
SelectWidget
so that filtering works by reworking howoptions
are passed to the underlyingSelect
@rjsf/core
UNSAFE_componentWillReceiveProps()
method in the Form.tsx component with an improved solution utilizing the React lifecycle methods:getSnapshotBeforeUpdate()
andcomponentDidUpdate()
. Fixing #1794ArrayField
implementation to never pass an undefined schema for fixed arrays to other methods, fixing #3924getSnapshotBeforeUpdate()
caused by the fix for #1794, fixing #3927@rjsf/utils
toPathSchemaInternal()
util to generate correct path schemas for fixed arrays by picking up individual schemas in theitems
array, fixing #3909v5.13.2
Compare Source
@rjsf/utils
resolveAnyOrOneOfSchemas()
to not take arecurseList
anymore, and instead always pass an empty array down toresolveAllReferences()
, fixing #3902parseSchema()
andresolveDependencies()
to no longer passrecurseList
toresolveAnyOrOneOfSchemas()
@rjsf/validator-ajv8
AJV8PrecompiledValidator
to add a newensureSameRootSchema()
function that is called in bothrawValidation()
andisValid()
v5.13.1
Compare Source
@rjsf/core
ArrayField
to move errors in the errorSchema when the position of array items changes for the insert and copy cases.@rjsf/material-ui
Grid
container component in theArrayFieldTemplate
component that wrapped theArrayFieldItemTemplate
, fixing #3863SelectWidget
switches from controlled to uncontrolled whenenumOptions
does not include a value, fixing #3844@rjsf/mui
Grid
container component in theArrayFieldTemplate
component that wrapped theArrayFieldItemTemplate
, fixing #3863SelectWidget
switches from controlled to uncontrolled whenenumOptions
does not include a value, fixing #3844@rjsf/utils
getOptionMatchingSimpleDiscriminator()
functiongetMatchingOption
andgetClosestMatchingOption
now bypassvalidator.isValid()
calls when simple discriminator is provided, fixing #3692FieldTemplateProps['onChange']
retrieveSchema()
to properly resolve references inside ofproperties
and arrayitems
while also dealing with recursive$ref
s, fixing #3761schemaParser()
andgetClosestMatchingOption()
to pass the newrecursiveRef
parameter added to internalretrieveSchema()
APIs100%
test coverage that was lost when updating to Jest 29getDefaultFormState()
to remove an unnecessary check forformData
being an object since it is always guaranteed to be one, thereby allowing full testing coveragegetSchemaType()
to return the first schematype
when it is an array not containing'null'
, fixing #3875@rjsf/validator-ajv8
validator
andprecompiledValidator
tests to the restore100%
coverage that was lost when updating to Jest 29isValid()
for thevalidator
commenting out an if condition that was preventing100%
coverage, with a TODO to fix it laterDev / docs / playground
@types/jest
as a globaldevDependency
so that developer tools properly recognize the jest function typesv5.13.0
Compare Source
@rjsf/antd
StyleProvider
from@ant-design/cssinjs
. They need not have to install this package, its a transitive package coming from antd.@rjsf/core
MultiSchemaField
to only merge top level required field fixing duplicate field and description.validateForm()
) removes previous errors if all data is now valid.@rjsf/chakra-ui
isMultiple
option inMultiSchemaField
. It no longer offers multiple choice inside a select field in aoneOf
case in Chakra UI, fixing #3848Dev / docs / playground
v5.12.1
Compare Source
@rjsf/validator-ajv8
AJV8PrecompiledValidator.rawValidation()
to resolve root schema with formData when comparing input schema, fixing #3825@rjsf/core
MultiSchemaField
to merge all top level fields except properties for anyOf/oneOf options, fixing #3808 and #3787@rjsf/antd
@rjsf/utils
retrieveSchemaInternal
allOf logic for precompiled schemas to resolve top level properties fixing #3817v5.12.0
Compare Source
@rjsf/utils
experimental_defaultFormStateBehavior = { arrayMinItems: { populate: 'never' } }
(feature #3796)@rjsf/validator-ajv8
compileSchemaValidatorsCode
to allow creating precompiled validator without a file. This is useful in case when precompiled validator is to be created dynamically. #3793Dev / docs / playground
dts-cli
to use individual dev tools directly, updating package publish configform-props
documentationarrayMinItems
, added description fornever
.playground
to add the option for the newarrayMinItems.populate = 'never'
.v5.11.2
Compare Source
@rjsf/material-ui
@types/material-ui
which can cause typescript issues in some situations@rjsf/utils
resolveAllReferences()
function to use object spreading to update properties and items in a schema rather than directly modifying the schema to avoid issues with frozen object, fixing #3805v5.11.1
Compare Source
@rjsf/core
SchemaField
to ignore errors foranyOf
/oneOf
parent schema, fixing 1295@rjsf/utils
resolveAllReferences()
function to resolve all references within a schema's properties and array items.getClosestMatchingOption()
to useresolveAllReferences()
for all oneOf/anyOf schemasresolveAnyOrOneOfSchemas()
to useresolveAllReferences()
for all oneOf/anyOf schemasnull
case inwithIdRefPrefix
, fixing #3792v5.10.0
Compare Source
@rjsf/core
getFieldComponent()
to support rendering a custom component by given schema id ($id). #3740MultiSchemaField
to merge the selectedoneOf/anyOf
value into baseschema
, fixing #3744@rjsf/utils
getClosestMatchingOption()
to resolve refs in options before computing the closest matching option, fixing an issue with using precompiled validatorsanyOf
anddiscriminator
support in the recursivecalculateIndexScore()
getDefaultFormState()
to merge the remaining schema intoanyOf/oneOf
schema selected during the computation of values, fixing #3744retrieveSchema()
to merge the remaining schema into theanyOf/oneOf
schema selected during the resolving of dependencies, fixing #3744Dev / docs / playground
custom-widgets-fields
documentation to add the new added behaviour ofgetFieldComponent()
function. [#&Configuration
📅 Schedule: Branch creation - "before 2am on monday" (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 this update again.
This PR was generated by Mend Renovate. View the repository job log.