fix(deps): update graphql-tools monorepo #15
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:
6.0.18->6.6.16.0.18->6.2.176.0.18->6.2.4Release Notes
ardatan/graphql-tools (@graphql-tools/load-files)
v6.6.1Compare Source
Patch Changes
e3167edcThanks @n1ru4l! - Fix CommonJS TypeScript resolution with
moduleResolutionnode16ornodenextv6.6.0Compare Source
Minor Changes
d76a299: Support TypeScript module resolution.v6.5.4Compare Source
Patch Changes
041c5ba: Use caret range for the tslib dependencyv6.5.3Compare Source
Patch Changes
525e391: fix(load-files): use createRequire in case of ESMv6.5.2Compare Source
Patch Changes
4bfb342: enhance: use ^ for tslib dependencyv6.5.1Compare Source
Patch Changes
1043219: fix implicit dependenciesv6.5.0Compare Source
Minor Changes
eb80821: enhance(load-files): return DocumentNode if it is an SDLv6.4.0Compare Source
Minor Changes
c5b0719: feat: GraphQL v16 supportv6.3.2Compare Source
Patch Changes
7c6e008: Remove duplicate codev6.3.1Compare Source
Patch Changes
61889f2: fix(load-files): respect ignoredExtensions even if there is a specific file globv6.3.0Compare Source
Minor Changes
efe8b8a: feat(load-files): ability to provide a custom extractExportsv6.2.7Compare Source
Patch Changes
a2e7ff7: Allow extensions and ignoredExtensions options to have a trailing dotv6.2.6Compare Source
Patch Changes
5c7a20d: fix(load-files): fix ignored file bug when filename finishes with extensionv6.2.5Compare Source
Patch Changes
eacf0dc: Replace fs-extra with native methodsv6.2.4Compare Source
Patch Changes
533d6d5: Bump all packages to allow adjustmentsv6.2.3Compare Source
What’s Changed
🚀 Features
v6.2.2Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.1Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.0Compare Source
What’s Changed
🚀 Features
🐛 Bug Fixes
v6.1.0Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
ardatan/graphql-tools (@graphql-tools/merge)
v6.2.17Compare Source
Patch Changes
0483004]v6.2.16Compare Source
Patch Changes
b823dba]v6.2.15Compare Source
Patch Changes
a31f959: fix(merge): handle schema definitions correctlyaf9a78d]9c26b84]7d3e300]7d3e300]dae6dc7]6877b91]7d3e300]c42e811]7d3e300]8c8d4fc]7d3e300]7d3e300]7d3e300]74581cf]c0ca319]7d3e300]982c8f5]7d3e300]7d3e300]7d3e300]v6.2.14Compare Source
Patch Changes
eae2879: fix(merge): handle undefined interfaces array on ObjectTypeDefinitionNode #2629v6.2.13Compare Source
Patch Changes
60a9c9a: fix(merge): handle arrays correctlyv6.2.12Compare Source
Patch Changes
6894666: fix(merge): fix handling schema definitions with convertExtensions flagv6.2.11Compare Source
Patch Changes
43da6b5: enhance(merge): reduce number of iterations58fd4b2]43da6b5]v6.2.10Compare Source
Patch Changes
0194118: Introduces a suite of stitched schema validations that enforce the integrity of mergedschemas. This includes validations for:
Validations may be adjusted by setting
validationLeveltooff|warn|errorglobally or scopedfor specific types and fields. In this initial v7 release, all validations are introduced at the
warnthreshold for backwards compatibility. Most of these validations will become automaticerrors in v8. To enable validation errors now, set
validationLevel: 'error'. Full configurationoptions look like this:
v6.2.9Patch Changes
219ed39: enhance(load/module-loader/merge): use getDocumentNodeFromSchema instead of parse andprintSchemaWithDirectives together
219ed39]219ed39]219ed39]v6.2.8Patch Changes
8f331aa: enhance(load/module-loader/merge): use getDocumentNodeFromSchema instead of parse andprintSchemaWithDirectives together
8f331aa]8f331aa]v6.2.7Compare Source
Patch Changes
d9b82a2: fix(merge/stitch) consistent enum value merged9b82a2: enhance(stitch) canonical merged type and field definitions. Use the @canonicaldirective to promote preferred type and field descriptions into the combined gateway schema.
v6.2.6Compare Source
Patch Changes
878c36b: enhance(stitch): use mergeScalar from mergev6.2.5Compare Source
Patch Changes
be1a157: ## Breaking Changes:Schema Generation and Decoration API (
@graphql-tools/schema)Resolver validation options should now be set to
error,warnorignorerather thantrueor
false. In previous versions, some of the validators caused errors to be thrown, while someissued warnings. This changes brings consistency to validator behavior.
The
allowResolversNotInSchemahas been renamed torequireResolversToMatchSchema, toharmonize the naming convention of all the validators. The default setting of
requireResolversToMatchSchemaiserror, matching the previous behavior.Schema Delegation (
delegateToSchema&@graphql-tools/delegate)The
delegateToSchemareturn value has matured and been formalized as anExternalObject, inwhich all errors are integrated into the GraphQL response, preserving their initial path. Those
advanced users accessing the result directly will note the change in error handling. This also
allows for the deprecation of unnecessary helper functions including
slicedError,getErrors,getErrorsByPathSegmentfunctions. Only external errors with missing or invalid paths muststill be preserved by annotating the remote object with special properties. The new
getUnpathedErrorsfunction is therefore necessary for retrieving only these errors. Note alsothe new
annotateExternalObjectandmergeExternalObjectsfunctions, as well as the renamingof
handleResulttoresolveExternalValue.Transform types and the
applySchemaTransformsare now relocated to thedelegatepackage;applyRequestTransforms/applyResultTransformsfunctions have been deprecated, however, asthis functionality has been replaced since v6 by the
Transformerabstraction.The
transformRequest/transformResultmethods are now provided additionaldelegationContextand
transformationContextarguments -- these were introduced in v6, but previously optional.The
transformSchemamethod may wish to create additional delegating resolvers and so it is nowprovided the
subschemaConfigand final (non-executable)transformedSchemaparameters. As inv6, the
transformSchemais kicked off once to produce the non-executable version, and then, ifa wrapping schema is being generated, proxying resolvers are created with access to the
(non-executable) initial result. In v7, the individual
transformSchemamethods also get accessto the result of the first run, if necessary, they can create additional wrapping schema
proxying resolvers.
applySchemaTransformsparameters have been updated to match and support thetransformSchemaparameters above.
Remote Schemas & Wrapping (
wrapSchema,makeRemoteExecutableSchema, and@graphql-tools/wrap)wrapSchemaandgenerateProxyingResolversnow only take a single options argument with namedproperties of type
SubschemaConfig. The previously possible shorthand version with firstargument consisting of a
GraphQLSchemaand second argument representing the transforms shouldbe reworked as a
SubschemaConfigobject.Similarly, the
ICreateProxyingResolverOptionsinterface that provides the options for thecreateProxyingResolverproperty ofSubschemaConfigoptions has been adjusted. Theschemaproperty previously could be set to a
GraphQLSchemaor aSubschemaConfigobject. Thisproperty has been removed in favor of a
subschemaConfigproperty that will always be aSubschemaConfigobject. Thetransformsproperty has been removed; transforms should beincluded within the
SubschemaConfigobject.`The format of the wrapping schema has solidified. All non-root fields are expected to use
identical resolvers, either
defaultMergedResolveror a custom equivalent, with root fieldsdoing the hard work of proxying. Support for custom merged resolvers throught
createMergedResolverhas been deprecated, as custom merging resolvers conflicts when usingstitching's type merging, where resolvers are expected to be identical across subschemas.
The
WrapFieldstransform'swrappingResolveroption has been removed, as this complicatesmultiple wrapping layers, as well as planned functionality to wrap subscription root fields in
potentially multiple layers, as the wrapping resolvers may be different in different layers.
Modifying resolvers can still be performed by use of an additional transform such as
TransformRootFieldsorTransformObjectFields.The
ExtendSchematransform has been removed, as it is conceptually simpler just to usestitchSchemaswith one subschema.The
ReplaceFieldsWithFragment,AddFragmentsByField,AddSelectionSetsByField, andAddMergedTypeSelectionSetstransforms has been removed, as they are superseded by theAddSelectionSetsandVisitSelectionSetstransforms. TheAddSelectionSetspurposely takesparsed SDL rather than strings, to nudge end users to parse these strings at build time (when
possible), rather than at runtime. Parsing of selection set strings can be performed using the
parseSelectionSetfunction from@graphql-tools/utils.Schema Stitching (
stitchSchemas&@graphql-tools/stitch)stitchSchemas'smergeTypesoption is now true by default! This causes theonTypeConflictoption to be ignored by default. To use
onTypeConflictto select a specific type instead ofsimply merging, simply set
mergeTypesto false.schemasargument has been deprecated, usesubschemas,typeDefs, ortypes, depending onwhat you are stitching.
When using batch delegation in type merging, the
argsFromKeysfunction is now set only via theargsFromKeysproperty. Previously, ifargsFromKeyswas absent, it could be read fromargs.Support for fragment hints has been removed in favor of selection set hints.
stitchSchemasnow processes allGraphQLSchemaandSubschemaConfigsubschema input into newSubschemaobjects, handling schema config directives such aso@computedas well as generatingthe final transformed schema, stored as the
transformedSchemaproperty, if transforms areused. Signatures of the
onTypeConflict,fieldConfigMerger, andinputFieldConfigMergerhavebeen updated to include metadata related to the original and transformed subschemas. Note the
property name change for
onTypeConflictfromschematosubschema.Mocking (
addMocksToSchemaand@graphql-tools/mock)graphql-js convention, i.e. these functions take three arguments,
args,context, andinfowith
parentavailable asthisrather than as the first argument.Other Utilities (
@graphql-tools/utils)filterSchema'sfieldFilterwill now filter all fields across Object, Interface, and Inputtypes. For the previous Object-only behavior, switch to the
objectFieldFilteroption.fieldNodesutility functions have been removed.typeContainsSelectionSetfunction has been removed, andtypesContainSelectionSethasbeen moved to the
stitchpackage.Operationtype has been removed in favor ofOperationTypeNodefrom upstreamgraphql-js.
applySchemaTransforms/applyRequestTransforms/applyResultTransformshave beenremoved from the
utilspackage, as they are implemented elsewhere or no longer necessary.v6.2.4Compare Source
Patch Changes
32c3c4f: Fix duplication of scalar directives in merge32c3c4f: Support scalar extensions by merging directives533d6d5: Bump all packages to allow adjustments32c3c4f]533d6d5]v6.2.3Compare Source
What’s Changed
🚀 Features
v6.2.2What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.1Patch Changes
0483004]v6.2.0Compare Source
What’s Changed
🚀 Features
🐛 Bug Fixes
v6.1.0Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
ardatan/graphql-tools (@graphql-tools/schema)
v6.2.4Compare Source
Patch Changes
533d6d5: Bump all packages to allow adjustments32c3c4f]533d6d5]v6.2.3Compare Source
What’s Changed
🚀 Features
v6.2.2Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.1Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.0Compare Source
What’s Changed
🚀 Features
🐛 Bug Fixes
v6.1.0Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.