Skip to content
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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 19, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@rjsf/core 4.2.3 -> 5.24.3 age adoption passing confidence

Release Notes

rjsf-team/react-jsonschema-form (@​rjsf/core)

v5.24.3

Compare Source

@​rjsf/utils

  • Rollback 4446 due to regression

Dev / docs / playground

  • Fixed issue with selector, where validator was getting refreshed on clicking on anything in selector. #​4472

v5.24.2

Compare Source

@​rjsf/utils

  • switch lodash.isEqualWith to fast-equals.createCustomEqual providing areFunctionsEqual assuming any functions are equal.
  • Fixed issue with oneOf selector can be modified in readonly mode, fixing #​4460
  • Fixed issue with fields inside an array can't be set to empty when a default is set, fixing #​4456
  • Fixed issue with file accept attribute, fixing #​4404.

@​rjsf/mui

  • Fixed issue with file accept attribute, fixing #​4404.

v5.24.1

Compare Source

@​rjsf/utils

  • Fixed documentation for getChangedFields()

Dev / docs / playground

  • Updated the peer dependencies for @rjsf/* to be 5.24.x
  • Added documentation for getChangedFields()

v5.24.0

Compare Source

@​rjsf/core

  • Fixed issue with schema if/then/else conditions where switching to then/else subschemas did not reflect the actual validation errors in the onChange event, fixing #​4249 and improving performance.
  • Fixed issue error message will not be cleared after the controlled Form formData is changed. Fixes #​4426

@​rjsf/utils

  • Fixed issue with formData not updating when dependencies change, fixing #​4325
  • Fixed issue with assigning default values to formData with deeply nested required properties, fixing #​4399
  • Fixed issue error message will not be cleared after the controlled Form formData is changed. Fixes #​4426
  • Fix for AJV $data reference in const property in schema treated as default/const value. The issue is mentioned in #​4361.
  • Switched uses of lodash.isEqual() to @rjsf/utils.deepEquals.

@​rjsf/validator-ajv8

  • Partially fixed issue where dependency errors do not show title or ui:title. This fix only applicable if we use an ajv-i18n localizer. Ref. #​4402.
  • Switched uses of lodash.isEqual() to @rjsf/utils.deepEquals at precompiledValidator.

v5.23.2

Compare Source

@​rjsf/core

  • Fix default value population when switching between options in MultiSchemaField #​4375. Fixes #​4367

@​rjsf/utils

  • Short-circuit File and Date constructor access in isObject to optimize performance in scenarios where globalThis is a Proxy that incurs overhead for each class constructor access (#​4413). Fixes #​4409

@​rjsf/validator-ajv8

  • Fixed issue where ui:title in anyOf/oneOf is not shown in error messages. Fixes #​4368

v5.23.1

Compare Source

@​rjsf/chakra-ui

  • Updated package.json to restrict @chakra-ui/react's peer dependency to be < 3.0.0, fixing #​4390

@​rjsf/core

  • Updated NumberField to properly pass through the errorSchema and id in the onChange handler, fixing #​4382

Dev / docs / playground

  • Updated the peer dependencies for @rjsf/* to be 5.23.x

v5.23.0

Compare Source

@​rjsf/core

  • Updated SchemaField to no longer make schema fields with const read-only by default, partially fixing #​4344

@​rjsf/utils

  • Updated Experimental_DefaultFormStateBehavior to add a new constAsDefaults option
  • Updated getDefaultFormState() to use the new constAsDefaults option to control how const is used for defaulting, fixing #​4344, #​4361 and #​4377
  • Use experimental_customMergeAllOf option in functions that have previously missed it.
  • Updated ErrorSchemaBuilder methods addErrors and setErrors to prevent duplicate error messages.

@​rjsf/validator-ajv8

  • Fixed issue where error messages do not have title or ui:title if a Localizer function is used. Fixes #​4387

Dev / docs / playground

  • Updated the playground to add a selector for the constAsDefaults option

v5.22.4

Compare Source

@​rjsf/utils

  • Fixed issue with array schema defaults not applying properly when formData is an empty array, fixing #​4335.

Dev / docs / playground

  • Fix issue 'Maximum call stack size exceeded' with playground share with large content.

v5.22.3

Compare Source

@​rjsf/utils

  • Fixed deep nested dependencies issue with assigning values to formData, fixing [#​4334]

v5.22.2

Compare Source

@​rjsf/core

  • Fix an issue where only the first file was uploaded when users selected multiple files for upload.
  • Fixed validation regression Form not revalidating after formData change, fixing #​4343

@​rjsf/validator-ajv8

  • Fixed AJV8Validator#transformRJSFValidationErrors to replace the error message field with either the uiSchema's ui:title field if one exists or the parentSchema title if one exists. Fixes #​4348

v5.22.1

Compare Source

Dev / docs / playground

  • Bumped peer dependencies to 5.22.x due to updated type definition and API changes in @​rjsf/utils

v5.22.0

Compare Source

@​rjsf/core

  • Updated MultiSchemaField to call the onChange handler after setting the new option, fixing #​3997 and #​4314

@​rjsf/utils

  • Added experimental_customMergeAllOf option to retrieveSchema() and getDefaultFormState() to allow custom merging of allOf schemas
  • Made fields with const property pre-filled and readonly, fixing #​2600
  • Added mergeDefaultsIntoFormData option to Experimental_DefaultFormStateBehavior type to control how to handle merging of defaults
  • Updated mergeDefaultsWithFormData() to add new optional defaultSupercedesUndefined that when true uses the defaults rather than undefined formData, fixing #​4322
  • Updated getDefaultFormState() to pass true to mergeDefaultsWithFormData for defaultSupercedesUndefined when mergeDefaultsIntoFormData has the value useDefaultIfFormDataUndefined, fixing #​4322
  • Updated getClosestMatchingOption() to improve the scoring of sub-property objects that are provided over ones that aren't, fixing #​3997 and #​4314

Dev / docs / playground

  • Updated the form-props.md to add documentation for the new experimental_customMergeAllOf props and the experimental_defaultFormStateBehavior.mergeDefaultsIntoFormData option
  • Updated the utility-functions.md to add documentation for the new optional defaultSupercedesUndefined parameter and the two missing optional fields on getDefaultFormState()
  • Updated the custom-templates.md to add a section header for wrapping BaseInputTemplate
  • Updated the playground to add controls for the new mergeDefaultsIntoFormData option
    • In the process, moved the Show Error List component over one column, making it inline radio buttons rather than a select

v5.21.2

Compare Source

@​rjsf/core

  • Updated SchemaField to pass required flag to _AnyOfField/_OneOfField
  • Updated Form to deal with null objects in filterErrorsBasedOnSchema(), fixing #​4306

@​rjsf/utils

  • Updated ErrorSchemaBuilder to support adding, updating, and removing paths that are numbers, fixing #​4297
  • Updated retrieveSchema to not merge contains properties in allOf schema lists, fixing #​2923

Dev / docs / playground

  • Updated the custom-widgets-fields.md to add examples of wrapping a widget/field

v5.21.1

Compare Source

@​rjsf/utils

  • Revert of updating deepEquals() from [#​4292]

@​validator-ajv8

  • Revert of using deepEquals() instead of lodash.isEqual() from [#​4292]

v5.21.0

Compare Source

@​rjsf/core

  • Updated Form to fix focusOnError() to support the ids that include dots, fixing #​4279

@​rjsf/mui

  • Updated the peer dependencies for @mui/material and @mui/icon-material, fixing 4283

@​rjsf/utils

  • Fixes an issue with dependencies computeDefaults to ensure we can get the dependencies defaults #​4271
  • Updated deepEquals() to use fast-equals.createCustomEqual() instead of lodash.isEqualWith(), fixing #​4291
    • Switched uses of lodash.isEqual() to deepEquals() in many of the utility functions as well

@​validator-ajv8

  • Use @rjsf/utils deepEquals() instead of lodash.isEqual() to improve performance, fixing #​4291

Dev / docs / playground

  • Updated the playground to use @mui/* version 6, changing the name of the dropdown from material-ui-5 to mui

v5.20.1

Compare Source

Dev / docs / playground

  • Updated the peer dependencies to 5.20.x due to types and API changes in @rjsf/utils

v5.20.0

Compare Source

@​rjsf/core

  • Support allowing raising errors from within a custom Widget #​2718
  • Updated ArrayField, BooleanField and StringField to call optionsList() with the additional UiSchema parameter, fixing #​4215 and #​4260

@​rjsf/utils

  • Updated the WidgetProps type to add es?: ErrorSchema<T>, id?: string to the params of the onChange handler function
  • Updated UIOptionsBaseType to add the new enumNames prop to support an alternate way to provide labels for enums in a schema, fixing #​4215
  • Updated optionsList() to take an optional uiSchema that is used to extract alternate labels for enums or oneOf/anyOf in a schema, fixing #​4215 and #​4260
    • NOTE: The generics for optionsList() were expanded from <S extends StrictRJSFSchema = RJSFSchema> to <S extends StrictRJSFSchema = RJSFSchema, T = any, F extends FormContextType = any> to support the UiSchema.

Dev / docs / playground

  • Update the custom-widget-fields.md to add documentation for how to raise errors from a custom widget or field

v5.19.4

Compare Source

@​rjsf/core

  • Fix XSS when rendering schema validation errors #​4254
    • NOTE: This will have potential consequences if you are using the translateString feature and are trying to render HTML. Switching to Markdown will solve your problems.

@​rjsf/utils

  • Updated the ValidatorType interface to add an optional reset?: () => void prop that can be implemented to reset a validator back to initial constructed state
    • Updated the ParserValidator to provide a reset() function that clears the schema map
  • Also updated the default translatable string to use Markdown rather than HTML tags since we now render them with Markdown

@​rjsf/validator-ajv8

  • Updated the AJV8Validator to implement the reset() function to remove cached schemas in the ajv instance

Dev / docs / playground

  • Updated the Validator dropdown to add AJV8 (discriminator) which sets the AJV validator discriminator option to true to support testing schemas with that option in them

v5.19.3

Compare Source

@​rjsf/antd

  • SelectWidget now displays an empty option when appropriate, fixing #​4197

@​rjsf/chakra-ui

  • SelectWidget now displays an empty option when appropriate, fixing #​4197

@​rjsf/fluentui-rc

  • SelectWidget now displays an empty option when appropriate, fixing #​4197

@​rjsf/material-ui

  • SelectWidget now displays an empty option when appropriate, fixing #​4197

@​rjsf/mui

  • SelectWidget now displays an empty option when appropriate, fixing #​4197

@​rjsf/semantic-ui

  • SelectWidget now displays an empty option when appropriate, fixing #​4197

v5.19.2

Compare Source

@​rjsf/core

  • Removed .only on tests that was accidentally added in 5.19.0

v5.19.1

Compare Source

Dev / docs / playground

  • Bumped the peer dependencies to 5.19.x due to use of new API in 5.19.0

v5.19.0

Compare Source

@​rjsf/antd

  • Updated AltDateWidget to use the new dateRangeOptions() function in utils to support relative Years and reversing the order of the Year choices

@​rjsf/chakra-ui

  • Updated AltDateWidget to use the new dateRangeOptions() function in utils to support relative Years and reversing the order of the Year choices

@​rjsf/core

  • Fixed case where readOnly from a JSON Schema was not applied in SchemaField (#​4236)
  • Updated AltDateWidget to use the new dateRangeOptions() function in utils to support relative Years and reversing the order of the Year choices

@​rjsf/utils

  • Added a new dateRangeOptions() function to implement relative Years in (via negative ranges) and reversing the order of the Year choices

Dev / docs / playground

  • Added documentation for the new dateRangeOptions() function as well as showing examples of using relative Years and reversed Year ordering

v5.18.6

Compare Source

@​rjsf/antd

  • Fix disabled property of options in CheckboxesWidget and RadioWidget (#​4216)

@​rjsf/core

@​rjsf/utils

  • Fix IdSchema and PathSchema types (#​4196)

@​rjsf/validator-ajv6

  • Fix IdSchema and PathSchema types (#​4196)

@​rjsf/validator-ajv8

  • Fix IdSchema and PathSchema types (#​4196)

v5.18.5

Compare Source

@​rjsf/antd

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@​rjsf/bootstrap4

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@​rjsf/chakra-ui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@​rjsf/core

@​rjsf/fluent-ui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@​rjsf/fluentui-rc

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@​rjsf/material-ui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@​rjsf/mui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@​rjsf/semantic-ui

  • Updated widgets to handle undefined target in onFocus and onBlur handlers

@​rjsf/validator-ajv6

  • Improved performance issues with large schema dependencies and oneOf conditions #​4203.

@​rjsf/validator-ajv8

  • Improved performance issues with large schema dependencies and oneOf conditions #​4203.

v5.18.4

Compare Source

Dev / docs / playground

  • Fixed typo in constants.ts, Form.tsx

v5.18.3

Compare Source

@​rjsf/semantic-ui

  • Added support for version 2 in the peerDependencies

Dev / docs / playground

  • Bumped devDependencies on react to 18.x
  • Fixed typo in custom-widgets-fields.md in the documentation
  • Updated the LICENSE.md to include the proper copyright dates and owner

v5.18.2

Compare Source

@​rjsf/core

  • Fixed Programmatic submit not working properly in Firefox #​3121

@​rjsf/utils

  • #​4116 Fix Maximum call stack size exceeded when encountering circular definitions (Link to PR)

v5.18.1: 5.18.1

Compare Source

  • Bumped peer dependencies since 5.18.0 introduced new features in @rjsf/utils that affect @rjsf/core

v5.18.0

Compare Source

@​rjsf/antd

  • Fix issue where the theme provided by the ConfigProvider under antd v5 wasn't respected thereby rendering the form items unusable under dark themes #​4129

@​rjsf/core

  • Fix Error state not resetting when schema changes #​4079

@​rjsf/mui

  • Fixed the SelectWidget and BaseInputTemplate to filter out errorSchema and autocomplete from the textFieldProps being spread onto the TextField, fixing #​4134

@​rjsf/utils

  • Added a new skipEmptyDefault option in emptyObjectFields, fixing #​3880
  • Added a new computeSkipPopulate option in arrayMinItems, allowing custom logic to skip populating arrays with default values, implementing #​4121.
  • Fixed bug where the string "\</strong>" would get printed next to filenames when uploading files, and restored intended bolding of filenames fixing #​4120.

Dev / docs / playground

  • Updated the documentation to describe how to use the skipEmptyDefault option.
  • Fixed missing import of Form in usage documentation - fixing #​4127

v5.17.1

Compare Source

@​rjsf/chakra-ui

  • Added support for UiSchema "ui:rows" option for textarea elements, fixing #​4070.

@​rjsf/core

  • #​4091 Added errorSchema to ArrayFieldTemplate props.

@​rjsf/utils

  • #​4080 - BREAKING CHANGE: Removed the base64 object from the @rjsf/utils package. Note that this is a breaking change if you relied on the base64 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.
  • #​4091 Added errorSchema to the ArrayFieldTemplateProps type.

Dev / docs / playground

  • #​4080 - Moved the base64 encoder/decoder object to the Playground package.
  • Added test configuration and script to the Playground.

v5.17.0

Compare Source

@​rjsf/core

  • Added support for anyOf/oneOf in uiSchemas in the MultiSchemaField, fixing #​4039
  • Fix potential XSS vulnerability in the preview button of FileWidget, fixing #​4057

@​rjsf/utils

  • #​4024 Added base64 to support encoding and decoding using the UTF-8 charset to support the characters out of the Latin1 range.
  • Updated enumOptionsValueForIndex() to fix issue that filtered enum options with a value that was 0, fixing #​4067
  • Changes the way of parsing the data URL, to fix #​4057

Dev / docs / playground

  • #​4024 Updated the base64 references from (atob and btoa) to invoke the functions from the new base64 object in @rjsf/utils.
  • Updated the uiSchema.md documentation to describe how to use the new anyOf/oneOf support

v5.16.1

Compare Source

Dev / docs / playground

  • Bumped peer dependencies due to new utils function

v5.16.0

Compare Source

@​rjsf/core

  • Pass indexed title from array into its items, adding enhancement asked in #​3983
  • Removed dateElementProps function implementation, and replaced it with getDateElementProps from @rjsf/utils.
  • Modify submit method to make it a public method, fixing #​4015
  • Support file deletion for format: "data-url" in FileWidget, fixing #​3957.

@​rjsf/antd

  • Removed dateElementProps function implementation, and replaced it with getDateElementProps from @rjsf/utils.

@​rjsf/chakra-ui

  • Removed dateElementProps function implementation, and replaced it with getDateElementProps from @rjsf/utils.

@​rjsf/mui

  • Updated the FieldErrorTemplate and FieldHelpTemplate to support html-based errors that cause <xxxx> cannot appear as a descendant of <p> browser warnings, fixing #​4031

@​rjsf/utils

  • Added getDateElementProps() to refactor duplicate function in core, antd & chakra-ui AltDateWidget's source code. The same function, implements the feature requested in #​297

Dev / docs / playground

  • Updated docs and playground with the implementation guide of newly added date re-order feature.

v5.15.1

Compare Source

@​rjsf/core

  • fix getFieldNames. Now correctly defines an array of primitives.

@​rjsf/validator-ajv6

  • Updated the AJV6Validator class to expose the internal ajv object, allowing access to support a fix related to #​3972

@​rjsf/validator-ajv8

  • Updated the AJV8Validator class to expose the internal ajv object, allowing access to support a fix related to #​3972

Dev / docs / playground

  • Updated the documentation to describe how to use the newly exposed ajv variable

v5.15.0

Compare Source

@​rjsf/mui

  • fix gap in text and select widget outlines when "ui:label": false is specified.

@​rjsf/utils

  • Updated resolveAllReferences() to use own recurse list for each object properties, fixing #​3961
  • Added an experimental flag allOf to experimental_defaultFormStateBehavior for populating defaults when using allOf schemas #​3969

Dev / playground

  • add missing typescript project reference for utils in validator-ajv6 and validator-ajv8 packages tsconfigs
  • Added a dropdown for changing the experimental_defaultFormStateBehavior.allOf behaviour in the playground

v5.14.3

Compare Source

@​rjsf/core

  • add retrieveSchema at Form state to memoize the result of schemUtils.retrieveSchema

@​rjsf/fluentui-rc

  • Updated README.md references
  • Fixed width of ArrayFieldItemTemplate items

Dev

  • update tsconfigs:
    • "importHelpers": false to remove need for tslib dependency #​3958
    • increase compilation target level from es6 to es2018 (so there are no need for transpiling object spread/rest feature)
    • add missing typescript project reference for snapshot-tests in a root tsconfig, update it to also use es modules

v5.14.2

Compare Source

@​rjsf/antd

  • Fixed the peerDependencies for @ant-design/icons to also support v5, fixing #​3507

@​rjsf/core

  • avoid call retrieveSchema twice during getStateFromProps and mustValidate is true #​3959

@​rjsf/mui

  • Resolve the React error caused by the propagation of the hideError property to the DOM element, fixing #​3945

@​rjsf/material-ui

  • Resolve the React error caused by the propagation of the hideError property to the DOM element, fixing #​3945

@​rjsf/utils

  • Update sanitizeDataForNewSchema() to avoid spreading strings and Arrays into the returned value when the old schema is of type string or array and the new schema is of type object. Fixing #​3922

v5.14.1

Compare Source

@​rjsf/utils

  • Update sanitizeDataForNewSchema() to avoid spreading strings and Arrays into the returned value when the old schema is of type string or array and the new schema is of type object. Fixing #​3922
  • update types for labelValue to have more granular return types, fixing #​3946

Dev / playground

  • Added Fluent UI v9 (React Components) theme to playground
  • Update Fluent UI v9 and playground project references
  • Update eslint ignores to exclude new typescript build output folders

v5.13.6

Compare Source

@​rjsf/core

  • Updated StringField to pass hideError prop to Widget so that all fields are consistent. Missed this file in previous patch

v5.13.5

Compare Source

@​rjsf/core

  • Updated StringField and BooleanField to pass hideError prop to Widget so that all fields are consistent

v5.13.4

Compare Source

@​rjsf/core

  • Updated SchemaField to show errors for anyOf/oneOf when being rendered as select control, fixing 3908

v5.13.3

Compare Source

@​rjsf/antd

  • Fixed the SelectWidget so that filtering works by reworking how options are passed to the underlying Select

@​rjsf/core

  • Replaced the deprecated UNSAFE_componentWillReceiveProps() method in the Form.tsx component with an improved solution utilizing the React lifecycle methods: getSnapshotBeforeUpdate() and componentDidUpdate(). Fixing #​1794
  • Fixed the ArrayField implementation to never pass an undefined schema for fixed arrays to other methods, fixing #​3924
  • Fixed a refresh issue in getSnapshotBeforeUpdate() caused by the fix for #​1794, fixing #​3927

@​rjsf/utils

  • Updated toPathSchemaInternal() util to generate correct path schemas for fixed arrays by picking up individual schemas in the items array, fixing #​3909

v5.13.2

Compare Source

@​rjsf/utils

  • Updated resolveAnyOrOneOfSchemas() to not take a recurseList anymore, and instead always pass an empty array down to resolveAllReferences(), fixing #​3902
    • Also updated parseSchema() and resolveDependencies() to no longer pass recurseList to resolveAnyOrOneOfSchemas()

@​rjsf/validator-ajv8

  • Updated AJV8PrecompiledValidator to add a new ensureSameRootSchema() function that is called in both rawValidation() and isValid()
    • This function adds an optimization to avoid resolving the root schema unless necessary

v5.13.1

Compare Source

@​rjsf/core

  • Updated ArrayField to move errors in the errorSchema when the position of array items changes for the insert and copy cases.

@​rjsf/material-ui

  • Removed an unnecessary Grid container component in the ArrayFieldTemplate component that wrapped the ArrayFieldItemTemplate, fixing #​3863
  • Fixed an issue where SelectWidget switches from controlled to uncontrolled when enumOptions does not include a value, fixing #​3844

@​rjsf/mui

  • Removed an unnecessary Grid container component in the ArrayFieldTemplate component that wrapped the ArrayFieldItemTemplate, fixing #​3863
  • Fixed an issue where SelectWidget switches from controlled to uncontrolled when enumOptions does not include a value, fixing #​3844

@​rjsf/utils

  • Added getOptionMatchingSimpleDiscriminator() function
  • getMatchingOption and getClosestMatchingOption now bypass validator.isValid() calls when simple discriminator is provided, fixing #​3692
  • Fix data type in FieldTemplateProps['onChange']
  • Updated retrieveSchema() to properly resolve references inside of properties and array items while also dealing with recursive $refs, fixing #​3761
    • Updated schemaParser() and getClosestMatchingOption() to pass the new recursiveRef parameter added to internal retrieveSchema() APIs
  • Added/updated all the necessary tests to restore the 100% test coverage that was lost when updating to Jest 29
    • Updated getDefaultFormState() to remove an unnecessary check for formData being an object since it is always guaranteed to be one, thereby allowing full testing coverage
  • Updated getSchemaType() to return the first schema type when it is an array not containing 'null', fixing #​3875

@​rjsf/validator-ajv8

  • Updated the validator and precompiledValidator tests to the restore 100% coverage that was lost when updating to Jest 29
    • Updated isValid() for the validator commenting out an if condition that was preventing 100% coverage, with a TODO to fix it later

Dev / docs / playground

  • Added the @types/jest as a global devDependency so that developer tools properly recognize the jest function types

v5.13.0

Compare Source

@​rjsf/antd

  • Bump Antd version from v4 to v5.
  • Intentionally kept peer dependencies to v4 so that this change doesn't make breaking change for @​rfjs/antd users.
  • However, if users of @​rjsf/antd want to use v5 styling, they need to wrap your application with the StyleProvider from @ant-design/cssinjs. They need not have to install this package, its a transitive package coming from antd.
import { StyleProvider } from '@&#8203;ant-design/cssinjs';

const Component = () => {
  return (
    <StyleProvider>
      <YourFormComponents />
    </StyleProvider>
  );
};

@​rjsf/core

  • Updated MultiSchemaField to only merge top level required field fixing duplicate field and description.
  • Fixed programmatic validation (validateForm()) removes previous errors if all data is now valid.

@​rjsf/chakra-ui

  • Fixed a faulty check of the isMultiple option in MultiSchemaField. It no longer offers multiple choice inside a select field in a oneOf case in Chakra UI, fixing #​3848

Dev / docs / playground

  • Fixed custom validation playground example (#​3856)

v5.12.1

Compare Source

@​rjsf/validator-ajv8

  • Updated AJV8PrecompiledValidator.rawValidation() to resolve root schema with formData when comparing input schema, fixing #​3825

@​rjsf/core

  • Updated MultiSchemaField to merge all top level fields except properties for anyOf/oneOf options, fixing #​3808 and #​3787

@​rjsf/antd

  • Updated CheckboxesWidget to not show duplicate title, fixing #​3815

@​rjsf/utils

  • Updated retrieveSchemaInternal allOf logic for precompiled schemas to resolve top level properties fixing #​3817

v5.12.0

Compare Source

@​rjsf/utils

  • Experimental feature:
    • Added experimental_defaultFormStateBehavior = { arrayMinItems: { populate: 'never' } } (feature #​3796)

@​rjsf/validator-ajv8

  • Exposing new function compileSchemaValidatorsCode to allow creating precompiled validator without a file. This is useful in case when precompiled validator is to be created dynamically. #​3793

Dev / docs / playground

  • update playground vite config to use sources directly, allowing to reload changes in it without additional build step
  • moving from dts-cli to use individual dev tools directly, updating package publish config
    • tsc for generating type definitions and esm modules
    • esbuild for CJS bundle
    • rollup for UMD bundle
  • Updated the form-props documentation arrayMinItems, added description for never.
  • Updated the playground to add the option for the new arrayMinItems.populate = 'never'.

v5.11.2

Compare Source

@​rjsf/material-ui

  • Removed unnecessary import of old @types/material-ui which can cause typescript issues in some situations

@​rjsf/utils

  • Updated the 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 #​3805

v5.11.1

Compare Source

@​rjsf/core

  • Updated SchemaField to ignore errors for anyOf/oneOf parent schema, fixing 1295

@​rjsf/utils

  • Created new resolveAllReferences() function to resolve all references within a schema's properties and array items.
  • Updated getClosestMatchingOption() to use resolveAllReferences() for all oneOf/anyOf schemas
  • Updated resolveAnyOrOneOfSchemas() to use resolveAllReferences() for all oneOf/anyOf schemas
  • Better handle the null case in withIdRefPrefix, fixing #​3792

v5.10.0

Compare Source

@​rjsf/core

  • Updated getFieldComponent() to support rendering a custom component by given schema id ($id). #​3740
  • Updated MultiSchemaField to merge the selected oneOf/anyOf value into base schema, fixing #​3744

@​rjsf/utils

  • Updated getClosestMatchingOption() to resolve refs in options before computing the closest matching option, fixing an issue with using precompiled validators
    • Also, added support for nested anyOf and discriminator support in the recursive calculateIndexScore()
  • Updated getDefaultFormState() to merge the remaining schema into anyOf/oneOf schema selected during the computation of values, fixing #​3744
  • Updated retrieveSchema() to merge the remaining schema into the anyOf/oneOf schema selected during the resolving of dependencies, fixing #​3744

Dev / docs / playground

  • Updated the custom-widgets-fields documentation to add the new added behaviour of getFieldComponent() 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Jun 19, 2023

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@vercel
Copy link

vercel bot commented Jun 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pokermate ❌ Failed (Inspect) Oct 30, 2023 3:13am

@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 90b5cb7 to c1ae619 Compare June 20, 2023 18:46
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from c1ae619 to 16bb770 Compare June 29, 2023 00:41
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 16bb770 to d802576 Compare July 3, 2023 00:19
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from d802576 to de82571 Compare July 13, 2023 22:59
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from de82571 to 1050b32 Compare July 31, 2023 01:20
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 1050b32 to 48e0a57 Compare August 2, 2023 01:41
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 48e0a57 to ca71ff0 Compare August 3, 2023 00:51
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from ca71ff0 to 954ec15 Compare August 7, 2023 01:36
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 954ec15 to f8072ce Compare August 9, 2023 14:18
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from f8072ce to dfda29c Compare August 9, 2023 19:10
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from dfda29c to c4216f8 Compare August 18, 2023 16:31
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from c4216f8 to 0bc84ca Compare August 21, 2023 04:03
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 0bc84ca to 59a697c Compare August 21, 2023 06:52
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 59a697c to f5160a0 Compare September 8, 2023 20:11
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch 2 times, most recently from 833c5b3 to 16f85f4 Compare July 2, 2024 21:29
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch 4 times, most recently from 6341a23 to 1d9d9b7 Compare July 9, 2024 22:15
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 1d9d9b7 to 4089afc Compare July 27, 2024 19:46
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 4089afc to f171c96 Compare August 8, 2024 19:47
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from f171c96 to 11f52bb Compare August 26, 2024 18:11
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch 2 times, most recently from 2dc46c8 to 1f99242 Compare September 13, 2024 21:11
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 1f99242 to 615389a Compare October 3, 2024 00:34
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch 2 times, most recently from b8d245e to caf8856 Compare October 28, 2024 19:47
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from caf8856 to 7e43a49 Compare October 30, 2024 22:50
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 7e43a49 to d7dfc39 Compare November 11, 2024 17:58
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch 2 times, most recently from c98b6fe to 4e8f641 Compare November 23, 2024 01:14
@renovate renovate bot changed the title Update dependency @rjsf/core to v5 Update dependency @rjsf/core to v5 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/major-rjsf-monorepo branch December 8, 2024 18:24
@renovate renovate bot changed the title Update dependency @rjsf/core to v5 - autoclosed Update dependency @rjsf/core to v5 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch 2 times, most recently from 4e8f641 to b68d61d Compare December 15, 2024 16:12
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch 2 times, most recently from 5ed6a1a to b7dc01f Compare January 11, 2025 01:46
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from b7dc01f to 2472c7e Compare January 28, 2025 04:46
@renovate renovate bot force-pushed the renovate/major-rjsf-monorepo branch from 2472c7e to e242f66 Compare February 4, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants