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.6.2
->5.12.1
5.6.2
->5.12.1
5.6.2
->5.12.1
5.6.2
->5.12.1
Release Notes
rjsf-team/react-jsonschema-form (@rjsf/core)
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. #3740playground
to add an example of the new added behaviour ofgetFieldComponent()
function. #3740v5.9.0
Compare Source
@rjsf/utils
getDefaultFormState()
to fix a bug whereexperimental_defaultFormStateBehavior: { emptyObjectFields: 'populateRequiredDefaults' }
wasn't working for object properties with$ref
sexperimental_defaultFormStateBehavior.arrayMinItems
from simple flag to an object containing two optional fields,populate
andmergeExtraDefaults
arrayMinItems.mergeExtraDefaults
flag, when "true", allows users to merge defaults onto the end offormData
arrays whenminItems
is specifiedexperimental_defaultFormStateBehavior
as{ arrayMinItems = 'requiredOnly }
on theForm
, now you would pass{ arrayMinItems: { populate: 'requiredOnly' } }
mergeExtraArrayDefaults=false
flag to themergeDefaultWithFormData()
utility function to support the newarrayMinItems.mergeExtraDefaults
experimental featureDev / docs / playground
utility-functions
documentation to add the newmergeExtraArrayDefaults
flag for themergeDefaultWithFormData()
functionform-props
documentation to update thearrayMinItems
documentation for the new object behaviorplayground
to add a checkbox for the newarrayMinItems.mergeExtraDefaults
flagv5.8.2
Compare Source
@rjsf/validator-ajv8
v5.8.1
Compare Source
Dev / docs / playground
^5.8.x
v5.8.0
Compare Source
@rjsf/bootstrap-4
@rjsf/chakra-ui
@rjsf/core
MultiSchemaField.getMatchingOption
to use option index fromgetClosestMatchingOption
, fixing #3693 and#3705
@rjsf/fluent-ui
@rjsf/material-ui
@rjsf/mui
@rjsf/semantic-ui
@rjsf/utils
getClosestMatchingOption
to return selected option if all options score the same, fixing #3693 and #3705resolveCondition
to default formData as empty object when evaluating if expression, fixing #3706retrieveSchemaInternal
to return failed merged allOf sub schemas for expandAllBranches flag, fixing #3689hashForSchema
to sort schema fields in consistent order before stringify to prevent different hash ids for the same schemaenumOptionsSelectValue
to allow picking falsy enumOptions, fixing #3716@rjsf/validator-ajv8
AJV8PrecompiledValidator.rawValidation()
to use resolve root schema when comparing input schema, fixing #3708Dev / docs / playground
RJSFSchema
descriptionv5.7.3
Compare Source
@rjsf/utils
getClosestMatchingOption
JUNK_OPTION
schema with a well known $idschemaParser
to resolve array items field, fixing #3689@rjsf/validator-ajv8
AJV8PrecompiledValidator.isValid()
to return false for junk schema option, fixing #3677v5.7.2
Compare Source
@rjsf/validator-ajv8
ajv
types by simplifying theCompiledValidateFunction
type to avoid a bunch of Typescript errors encountered by users of the packagev5.7.1
Compare Source
@rjsf/validator-ajv8
cjs
development version, to not export thecompileSchemaValidators()
function to avoid "Module not found: Can't resolve 'fs' error" issues, fixing #3668@rjsf/core
field
in thefocusOnError
method inForm
Dev / docs / playground
validation
documentation to add a note with a web-resource to help folks work around the "Module not found: Can't resolve 'fs' error" issue for development environmentspackage-lock.json
files to bump peer-dependencies to5.7.x
, fixing #3669v5.7.0
Compare Source
@rjsf/antd
SelectWidget
and description forCheckboxWidget
@rjsf/core
MultiSchemaField
to use the newgetDiscriminatorFieldFromSchema()
APIexperimental_defaultFormStateBehavior
prop toForm
minItems
is set but field is notrequired
(fixes #3363) (#3602)emptyObjectFields
supporting required fields only and skipping defaults entirely, fixing #2980FileWidget
to again support adding multiple files to arrays@rjsf/fluent-ui
additionalProperties
to fluent-ui theme, fixing #2777.8.x
version of@fluentui/react
maintaining backwards compatibility to version 7, fixing #3463@rjsf/utils
getDiscriminatorFieldFromSchema()
(a refactor of code fromMultiSchemaField
) andhashForSchema()
getDefaultFormState()
andtoPathSchema()
to usegetDiscriminatorFieldFromSchema()
to provide a discriminator field togetClosestMatchingOption()
calls.retrieveSchema()
internal API functions to support implementing an internalschemaParser()
API for use in precompiling schemas, in support of #3543toPathSchema()
to handleproperties
in an object along withanyOf
/oneOf
, fixing #3628 and #1628computeDefaults()
into destructured props object to reduce clutter when only specifying later of the optional argument, fixing #3602computeDefaults()
to handle$ref
in an object along withanyOf
/oneOf
, fixing #3633@rjsf/validator-ajv8
compileSchemaValidators()
andcreatePrecompiledValidator()
implemented to support using precompiled validators build with AJV 8, fixing #3543Dev / docs / playground
custom-templates
describing how to extend theBaseInputTemplate
8.x
version of@fluentui/react
, fixing #3463validation
describing the new precompiled validators featurevalidator-ajv8.md
documentation to theapi-reference
directory as well as putting it into thesidebar.js
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.