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 Node dependencies (major) #667

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ggrossetie
Copy link
Collaborator

@ggrossetie ggrossetie commented Nov 24, 2022

This PR contains the following updates:

Package Type Update Change
@graphql-tools/schema dependencies major ^9.0.12 -> ^10.0.0
@rjsf/core dependencies major ^3.2.1 -> ^5.0.0
@vitejs/plugin-legacy dependencies major ^3.0.1 -> ^5.0.0
@vitejs/plugin-react dependencies major ^3.0.0 -> ^4.0.0
@welldone-software/why-did-you-render devDependencies major ^6.2.3 -> ^8.0.0
archiver dependencies major 5.3.2 -> 7.0.1
biblatex-csl-converter dependencies major ^1.11.0 -> ^2.0.0
clsx dependencies major ^1.2.1 -> ^2.0.0
concurrently devDependencies major ^7.6.0 -> ^8.0.0
connect-mongo dependencies major ^3.2.0 -> ^5.0.0
dompurify dependencies major ^2.4.3 -> ^3.0.0
dotenv-cli devDependencies major ^5.1.0 -> ^7.0.0
downshift (source) dependencies major ^6.1.3 -> ^9.0.0
eslint (source) devDependencies major ^8.2.0 -> ^9.0.0
eslint-plugin-jest devDependencies major ^27.2.0 -> ^28.0.0
eslint-plugin-jest devDependencies major ^25.2.4 -> ^28.0.0
eslint-plugin-security devDependencies major ^1.5.0 -> ^3.0.0
graphql-request dependencies major ^3.7.0 -> ^7.0.0
i18next (source) dependencies major ^22.4.15 -> ^23.0.0
i18next-browser-languagedetector dependencies major ^7.0.1 -> ^8.0.0
jsdom dependencies major ^21.0.0 -> ^24.0.0
markdown-it dependencies major ^13.0.2 -> ^14.0.0
markdown-it-anchor dependencies major ^8.6.7 -> ^9.0.0
mongodb-memory-server devDependencies major ^8.11.0 -> ^9.0.0
mongoose (source) dependencies major ^5.11.1 -> ^8.0.0
pino (source) dependencies major ^7.11.0 -> ^9.0.0
pino-http dependencies major ^7.0.0 -> ^10.0.0
prettier (source) devDependencies major ^2.3.0 -> ^3.0.0
react (source) dependencies major ^16.13.1 -> ^18.0.0
react-dom (source) dependencies major ^16.13.1 -> ^18.0.0
react-i18next dependencies major ^12.2.2 -> ^14.0.0
react-redux dependencies major ^7.2.4 -> ^9.0.0
react-router-dom dependencies major ^5.2.0 -> ^6.0.0
redux (source) dependencies major ^4.1.0 -> ^5.0.0
vite (source) dependencies major ^4.0.1 -> ^5.0.0
vite-plugin-handlebars dependencies major ^1.6.0 -> ^2.0.0
y-websocket dependencies major ^1.5.0 -> ^2.0.0

Release Notes

ardatan/graphql-tools

v10.0.4

Compare Source

Patch Changes

v10.0.3

Compare Source

Patch Changes

v10.0.2

Compare Source

Patch Changes

v10.0.1

Compare Source

Patch Changes

v10.0.0

Compare Source

Major Changes
Patch Changes
rjsf-team/react-jsonschema-form

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

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. #​3740
  • Updated the playground to add an example of the new added behaviour of getFieldComponent() function. #​3740

v5.9.0

Compare Source

@​rjsf/utils

  • Updated getDefaultFormState() to fix a bug where experimental_defaultFormStateBehavior: { emptyObjectFields: 'populateRequiredDefaults' } wasn't working for object properties with $refs
  • Experimental feature breaking change:
    • Updated the experimental_defaultFormStateBehavior.arrayMinItems from simple flag to an object containing two optional fields, populate and mergeExtraDefaults
      • The new arrayMinItems.mergeExtraDefaults flag, when "true", allows users to merge defaults onto the end of formData arrays when minItems is specified
    • If you were previously passing experimental_defaultFormStateBehavior as { arrayMinItems = 'requiredOnly } on the Form, now you would pass { arrayMinItems: { populate: 'requiredOnly' } }
  • Added a new, optional mergeExtraArrayDefaults=false flag to the mergeDefaultWithFormData() utility function to support the new arrayMinItems.mergeExtraDefaults experimental feature

Dev / docs / playground

  • Updated the utility-functions documentation to add the new mergeExtraArrayDefaults flag for the mergeDefaultWithFormData() function
  • Updated the form-props documentation to update the arrayMinItems documentation for the new object behavior
  • Updated the playground to add a checkbox for the new arrayMinItems.mergeExtraDefaults flag

v5.8.2

Compare Source

@​rjsf/validator-ajv8

  • Explicitly cache schemas by their hash when checking data is valid to avoid multiple compilations for schemas without IDs leading to poor performance #​3721

v5.8.1

Compare Source

Dev / docs / playground

  • Updated peer dependencies in all packages to ^5.8.x

v5.8.0

Compare Source

@​rjsf/bootstrap-4

  • Updated FieldTemplate Component to display description from SchemaField and make it consistent for all the available themes

@​rjsf/chakra-ui

  • Updated FieldTemplate Component to display description from SchemaField and make it consistent for all the available themes

@​rjsf/core

  • Updated SchemaField to be able to render markdown in the description field
  • Updated MultiSchemaField.getMatchingOption to use option index from getClosestMatchingOption, fixing #​3693 and
    #​3705

@​rjsf/fluent-ui

  • Updated FieldTemplate Component to display description from SchemaField and make it consistent for all the available themes

@​rjsf/material-ui

  • Updated FieldTemplate Component to display description from SchemaField and make it consistent for all the available themes

@​rjsf/mui

  • Updated FieldTemplate Component to display description from SchemaField and make it consistent for all the available themes

@​rjsf/semantic-ui

  • Updated FieldTemplate Component to display description from SchemaField and make it consistent for all the available themes

@​rjsf/utils

  • Updated getClosestMatchingOption to return selected option if all options score the same, fixing #​3693 and #​3705
  • Updated resolveCondition to default formData as empty object when evaluating if expression, fixing #​3706
  • Updated retrieveSchemaInternal to return failed merged allOf sub schemas for expandAllBranches flag, fixing #​3689
  • Updated hashForSchema to sort schema fields in consistent order before stringify to prevent different hash ids for the same schema
  • Updated enumOptionsSelectValue to allow picking falsy enumOptions, fixing #​3716

@​rjsf/validator-ajv8

  • Updated AJV8PrecompiledValidator.rawValidation() to use resolve root schema when comparing input schema, fixing #​3708

Dev / docs / playground

  • Updated sample data and documentation about the markdown in RJSFSchema description
  • Fixed broken playground examples (#​3696)
  • Added experimental_defaultFormStateBehavior.emptyObjectFields control to Playground
  • Fixed bug where subthemes would not appear in Playground

v5.7.3

Compare Source

@​rjsf/utils

  • Updated getClosestMatchingOption JUNK_OPTION schema with a well known $id
  • Updated schemaParser to resolve array items field, fixing #​3689

@​rjsf/validator-ajv8

  • Updated AJV8PrecompiledValidator.isValid() to return false for junk schema option, fixing #​3677

v5.7.2

Compare Source

@​rjsf/validator-ajv8

  • Removed the importing of internal ajv types by simplifying the CompiledValidateFunction type to avoid a bunch of Typescript errors encountered by users of the package

v5.7.1

Compare Source

@​rjsf/validator-ajv8

  • Updated the build for all but the cjs development version, to not export the compileSchemaValidators() function to avoid "Module not found: Can't resolve 'fs' error" issues, fixing #​3668

@​rjsf/core

  • Added protection against a null field in the focusOnError method in Form

Dev / docs / playground

  • Updated the 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 environments
  • Updated all of the package-lock.json files to bump peer-dependencies to 5.7.x, fixing #​3669

v5.7.0

Compare Source

@​rjsf/antd

  • Fix #​3608 by ensuring the root field is always wrapped in Form.Item
  • Fix #​3594 by removing the duplicate title for SelectWidget and description for CheckboxWidget

@​rjsf/core

  • Updated the MultiSchemaField to use the new getDiscriminatorFieldFromSchema() API
  • Added new experimental_defaultFormStateBehavior prop to Form
    • to specify alternate behavior when dealing with the rendering of array fields where minItems is set but field is not required (fixes #​3363) (#​3602)
    • to handle setting object defaults based on the value of emptyObjectFields supporting required fields only and skipping defaults entirely, fixing #​2980
  • Fixed regression #​3650 in FileWidget to again support adding multiple files to arrays

@​rjsf/fluent-ui

  • Added support for additionalProperties to fluent-ui theme, fixing #​2777.
  • Upgraded to 8.x version of @fluentui/react maintaining backwards compatibility to version 7, fixing #​3463

@​rjsf/utils

  • Added two new APIs getDiscriminatorFieldFromSchema() (a refactor of code from MultiSchemaField) and hashForSchema()
    • Updated getDefaultFormState() and toPathSchema() to use getDiscriminatorFieldFromSchema() to provide a discriminator field to getClosestMatchingOption() calls.
  • Refactored the retrieveSchema() internal API functions to support implementing an internal schemaParser() API for use in precompiling schemas, in support of #​3543
  • Fixed toPathSchema() to handle properties in an object along with anyOf/oneOf, fixing #​3628 and #​1628
  • Refactored optional parameters for computeDefaults() into destructured props object to reduce clutter when only specifying later of the optional argument, fixing #​3602
  • Fixed computeDefaults() to handle $ref in an object along with anyOf/oneOf, fixing #​3633

@​rjsf/validator-ajv8

  • Added two new APIs compileSchemaValidators() and createPrecompiledValidator() implemented to support using precompiled validators build with AJV 8, fixing #​3543

Dev / docs / playground

  • Added documentation to custom-templates describing how to extend the BaseInputTemplate
  • Added minItems behavior for array field live setting, fixing #​3602
  • Upgraded playground to 8.x version of @fluentui/react, fixing #​3463
  • Added documentation to validation describing the new precompiled validators feature
  • Added new validator-ajv8.md documentation to the api-reference directory as well as putting it into the sidebar.js

v5.6.2

Compare Source

Dev / docs / playground

  • Fixed issues with post-versioning that caused the 5.6.1 branch to not be publishable

v5.6.0

Compare Source

@​rjsf/antd

  • Treat multiple as a boolean rather than comparing against undefined in the SelectWidget, fixing #​3595

@​rjsf/core

  • Switched Form to use the new validatorDataMerge() and toErrorList() functions instead of the now deprecated schemaUtils.mergeValidatorData() and schemaUtils.getValidator().toErrorList()
  • Added option to provide a callback function to focusOnFirstError (3590)
  • Updated MultiSchemaField to handle the OpenAPI discriminator extension on anyOf/oneOf fields by passing it into getClosestMatchingOption() if it exists, fixing #​3512
  • Updated SchemaField function to use getSchemaType rather than schema.type to set the proper class name.

@​rjsf/utils

  • Refactored the createErrorHandler(), toErrorList(), toErrorSchema() and unwrapErrorHandler() functions from the @rjsf/validator-ajv6 and @rjsf/validator-ajv8 implementations since they were identical
    • As a result, the mergeValidationData() function was deprecated in favor of the new validationDataMerge() function that uses the refactored toErrorList() function
    • Refactored the ROOT_SCHEMA_PREFIX constant as well
  • Updated ValidatorType and SchemaUtilsType to deprecate the toErrorList() and mergeValidationData() functions, respectively
  • Updated the getClosestMatchingOption() and getFirstMatchingOption() to pass the new discriminatorField to the getMatchingOption() function
  • Updated getMatchingOption() to use discriminatorField when it is present in the options object properties to drill into the object to detect if that one field is valid
  • Updated SchemaUtilsType and the associated forward functions in createSchemaUtils to add the new discriminatorField?: string optional parameter
  • Updated toIdSchema() function to use getSchemaType(schema) === 'object' rather than schema.type === 'object' to get the proper pathing for ids, fixing #​2044

@​rjsf/validator-ajv6

  • Removed the refactored functions and constant from the AJV6Validator in favor of using the new functions and constant from @rjsf/utils

@​rjsf/validator-ajv8

  • Removed the refactored functions and constant from the AJV8Validator in favor of using the new functions and constant from @rjsf/utils

Dev / docs / playground

  • Updated the utility-functions documentation to describe the new refactored functions as well as deprecating the mergeValidationData() function
  • Updated the playground to properly restore liveSettings from shared links and added a switch for noHtml5Validation in the live settings rather than having it set to true always
    • Also added a new Blank example to help users easily paste their code

v5.5.2

Compare Source

@​rjsf/material-ui

  • Switched to using TextField for the WrapIfAdditionalTemplate label key input to match the @rjsf/mui fix

@​rjsf/mui

  • Switched to using TextField for the WrapIfAdditionalTemplate label key input, fixing #​3578

Dev / docs / playground

  • Updated the templates passed into the main Form to not include undefined values, fixing #​3576 and #​3579

v5.5.1

Compare Source

@​rjsf/core

  • Updated Form to include the top disabled property in the ui:submitButtonOptions so the submit button will be disabled when the whole form is disabled. Fixes #​3264.

@​rjsf/utils

  • Added protections against infinite recursion of $refs for the toIdSchema(), toPathSchema() and getDefaultFormState() functions, fixing #​3560
  • Updated getDefaultFormState() to handle object-based additionalProperties with defaults using formData in addition to values contained in a default object, fixing #​2593
  • Updated internal helper withExactlyOneSubschema() inside of retrieveSchema() to use the isValid() function rather than validateFormData() when determining the one-of branch

Dev / docs / playground

  • Refactored some parts of playground to make it cleaner
    • This includes fixing the spelling of the disabled flag being passed into the Form from the incorrect disable spelling
  • Formatted the ent

Configuration

📅 Schedule: 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@ggrossetie
Copy link
Collaborator Author

Avant de pouvoir faire les montées de version il faudra migrer de express-graphql à https://github.com/graphql/graphql-http

This library is deprecated
express-graphql was the first official reference implementation of using GraphQL with HTTP. It has existed since 2015 and was mostly unmaintained in recent years.

The official GraphQL over HTTP work group is standardizing the way you transport GraphQL over HTTP and it made great progress bringing up the need for a fresh reference implementation.

Please read the GraphQL over HTTP spec for detailed implementation information.

Say hello to graphql-http
graphql-http is now the GraphQL official reference implementation of the GraphQL over HTTP spec.

@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 2b805d9 to 0afbc97 Compare December 10, 2022 02:29
@ggrossetie ggrossetie changed the title Update Node dependencies (major) chore(deps): update node dependencies (major) Dec 13, 2022
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 0afbc97 to a37bd4f Compare December 15, 2022 02:34
@ggrossetie ggrossetie changed the title chore(deps): update node dependencies (major) Update Node dependencies (major) Dec 15, 2022
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 5 times, most recently from 58a3ab4 to 046a055 Compare December 22, 2022 02:27
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 3 times, most recently from 5491f48 to 12b68b8 Compare January 13, 2023 02:33
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 3 times, most recently from 2e2a435 to fe6276b Compare January 20, 2023 02:35
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 2 times, most recently from 790a5a2 to 3c106d0 Compare March 29, 2023 02:33
@ggrossetie ggrossetie changed the title Update Node dependencies (major) chore(deps): update node dependencies (major) Apr 12, 2023
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 2 times, most recently from 342a986 to 9c29545 Compare April 14, 2023 02:30
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 9c29545 to 0dd4dcd Compare April 21, 2023 02:34
@ggrossetie ggrossetie changed the title chore(deps): update node dependencies (major) Update Node dependencies (major) Apr 29, 2023
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 2 times, most recently from 22a2e20 to caebe28 Compare May 6, 2023 02:26
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from caebe28 to b1f82e7 Compare May 20, 2023 02:26
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from b1f82e7 to e02fe03 Compare June 16, 2023 02:32
@netlify
Copy link

netlify bot commented Jun 16, 2023

Deploy Preview for stylo-docs ready!

Name Link
🔨 Latest commit 147519a
🔍 Latest deploy log https://app.netlify.com/sites/stylo-docs/deploys/6646bef69673660008c9e04d
😎 Deploy Preview https://deploy-preview-667--stylo-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 2 times, most recently from acc6ef5 to cbeb785 Compare June 21, 2023 02:31
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 3dfcd85 to 7bedc9b Compare August 19, 2023 02:16
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 7bedc9b to f0f4d32 Compare November 2, 2023 14:34
@ggrossetie ggrossetie changed the title Update Node dependencies (major) chore(deps): update node dependencies (major) Nov 2, 2023
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from f0f4d32 to 524837b Compare November 6, 2023 02:20
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 524837b to 30b9f70 Compare November 17, 2023 02:23
@ggrossetie ggrossetie changed the title chore(deps): update node dependencies (major) Update Node dependencies (major) Nov 25, 2023
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 2 times, most recently from 864eaf1 to f67e76f Compare November 27, 2023 02:21
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 2 times, most recently from c81d507 to fd8e830 Compare December 8, 2023 02:23
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from fd8e830 to a0015cd Compare December 14, 2023 02:22
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 3 times, most recently from 0dfb44f to b6f54d6 Compare December 28, 2023 02:18
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from b6f54d6 to a1aa90b Compare January 13, 2024 09:10
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from a1aa90b to 3bdfb5c Compare January 22, 2024 02:22
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 2 times, most recently from f2fd20b to 645a738 Compare February 29, 2024 02:12
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 645a738 to b2a14f0 Compare March 11, 2024 02:14
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from b2a14f0 to 2ff849d Compare March 21, 2024 02:16
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 2ff849d to 931e65c Compare April 6, 2024 02:14
@ggrossetie
Copy link
Collaborator Author

ggrossetie commented Apr 6, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: front/package-lock.json
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @typescript-eslint/[email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^9.0.0" from the root project
npm WARN   4 more (@eslint-community/eslint-utils, eslint-compat-utils, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0" from @typescript-eslint/[email protected]
npm WARN node_modules/@typescript-eslint/experimental-utils
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN   peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0" from @typescript-eslint/[email protected]
npm WARN   node_modules/@typescript-eslint/experimental-utils
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @typescript-eslint/[email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^9.0.0" from the root project
npm WARN   4 more (@eslint-community/eslint-utils, eslint-compat-utils, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0" from @typescript-eslint/[email protected]
npm WARN node_modules/@typescript-eslint/utils
npm WARN   @typescript-eslint/utils@"5.62.0" from @typescript-eslint/[email protected]
npm WARN   node_modules/@typescript-eslint/experimental-utils
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN   peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0" from @typescript-eslint/[email protected]
npm WARN   node_modules/@typescript-eslint/utils
npm WARN     @typescript-eslint/utils@"5.62.0" from @typescript-eslint/[email protected]
npm WARN     node_modules/@typescript-eslint/experimental-utils
npm WARN ERESOLVE overriding peer dependency
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^9.0.0" from the root project
npm ERR!   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/[email protected]
npm ERR!   node_modules/@eslint-community/eslint-utils
npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from @typescript-eslint/[email protected]
npm ERR!     node_modules/@typescript-eslint/utils
npm ERR!       @typescript-eslint/utils@"5.62.0" from @typescript-eslint/[email protected]
npm ERR!       node_modules/@typescript-eslint/experimental-utils
npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from [email protected]
npm ERR!     node_modules/eslint-plugin-jsonc
npm ERR!       dev eslint-plugin-jsonc@"^2.5.0" from the root project
npm ERR!     1 more (eslint)
npm ERR!   3 more (eslint-compat-utils, eslint-plugin-jsonc, eslint-plugin-jest)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8" from [email protected]
npm ERR! node_modules/eslint-plugin-react
npm ERR!   dev eslint-plugin-react@"^7.27.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8" from [email protected]
npm ERR!   node_modules/eslint-plugin-react
npm ERR!     dev eslint-plugin-react@"^7.27.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-05-17T02_20_22_627Z-debug-0.log

@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 2 times, most recently from f56eb80 to 78e88ba Compare April 11, 2024 02:19
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 78e88ba to 9dbce04 Compare April 25, 2024 02:18
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch 3 times, most recently from a081cf9 to 3d6ae0c Compare May 13, 2024 02:21
@ggrossetie ggrossetie force-pushed the renovate/major-node-dependencies branch from 3d6ae0c to 147519a Compare May 17, 2024 02:20
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.

None yet

1 participant