graphql-tools
9.0.18
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.23
9.0.17
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.22
9.0.16
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.21
9.0.15
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.20
9.0.14
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.19
9.0.13
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.18
9.0.12
Patch Changes
- Updated dependencies
[
357b2ee]:- @graphql-tools/schema@10.0.17
9.0.11
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.16
9.0.10
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.15
9.0.9
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.14
9.0.8
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.13
9.0.7
Patch Changes
- Updated dependencies
[
020b9e4]:- @graphql-tools/schema@10.0.12
9.0.6
Patch Changes
- #6662
696a0d5Thanks @renovate ! - dependencies updates:- Updated dependency
@graphql-tools/schema@^10.0.10↗︎ (from^10.0.9, independencies)
- Updated dependency
- Updated dependencies
[
696a0d5]:- @graphql-tools/schema@10.0.11
9.0.5
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.10
9.0.4
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.9
9.0.3
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.8
9.0.2
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@10.0.7
9.0.1
Patch Changes
- #5913
83c0af0Thanks @enisdenjo ! - dependencies updates:- Updated dependency
@graphql-tools/schema@^10.0.2↗︎ (from^10.0.0, independencies)
- Updated dependency
- Updated dependencies
[
83c0af0]:- @graphql-tools/schema@10.0.3
9.0.0
Major Changes
Patch Changes
- Updated dependencies
[
944a68e8]:- @graphql-tools/schema@10.0.0
8.3.20
Patch Changes
-
1c95368aThanks @ardatan ! - Use ranged versions for dependencies -
Updated dependencies [
1c95368a]:- @graphql-tools/schema@9.0.18
8.3.19
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.17
8.3.18
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.16
8.3.17
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.15
8.3.16
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.14
8.3.15
Patch Changes
- Updated dependencies
[
a4d36fcc]:- @graphql-tools/schema@9.0.13
8.3.14
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.12
8.3.13
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.11
8.3.12
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.10
8.3.11
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.9
8.3.10
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.8
8.3.9
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.7
8.3.8
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.6
8.3.7
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.5
8.3.6
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.4
8.3.5
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.3
8.3.4
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@9.0.2
8.3.3
Patch Changes
- Updated dependencies
[
2609d71f]:- @graphql-tools/schema@9.0.1
8.3.2
Patch Changes
-
#4624
e3167edcThanks @n1ru4l ! - Fix CommonJS TypeScript resolution withmoduleResolutionnode16ornodenext -
Updated dependencies [
8cc8721f,e3167edc]:- @graphql-tools/schema@9.0.0
8.3.1
Patch Changes
- @graphql-tools/schema@8.5.1
8.3.0
Minor Changes
- d76a299c: Support TypeScript module resolution.
Patch Changes
- Updated dependencies [d76a299c]
- @graphql-tools/schema@8.5.0
8.2.13
Patch Changes
- Updated dependencies [4914970b]
- @graphql-tools/schema@8.4.0
8.2.12
Patch Changes
- 041c5ba1: Use caret range for the tslib dependency
- Updated dependencies [041c5ba1]
- @graphql-tools/schema@8.3.14
8.2.11
Patch Changes
- @graphql-tools/schema@8.3.13
8.2.10
Patch Changes
- @graphql-tools/schema@8.3.12
8.2.9
Patch Changes
- @graphql-tools/schema@8.3.11
8.2.8
Patch Changes
- @graphql-tools/schema@8.3.10
8.2.7
Patch Changes
- @graphql-tools/schema@8.3.9
8.2.6
Patch Changes
- @graphql-tools/schema@8.3.8
8.2.5
Patch Changes
- @graphql-tools/schema@8.3.7
8.2.4
Patch Changes
- Updated dependencies [722abad7]
- @graphql-tools/schema@8.3.6
8.2.3
Patch Changes
- @graphql-tools/schema@8.3.5
8.2.2
Patch Changes
- @graphql-tools/schema@8.3.4
8.2.1
Patch Changes
- 0c0c6857: fix - align versions
- Updated dependencies [0c0c6857]
- @graphql-tools/schema@8.3.3
8.2.0
Minor Changes
- c5b0719c: feat: GraphQL v16 support
Patch Changes
- Updated dependencies [c5b0719c]
- @graphql-tools/schema@8.2.0
8.1.0
Minor Changes
-
b39588ce: Deprecate
graphql-toolswith a more clear message;This package has been deprecated and now it only exports makeExecutableSchema. It will no longer receive updates. We strongly recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc. Check out https://www.graphql-tools.com to learn which packages you should use instead!
8.0.0
Major Changes
- 7d3e3006: BREAKING CHANGE
- Now it only exports
makeExecutableSchemafrom@graphql-tools/schema - Please migrate to scoped packages(
@graphql-tools/*) because this npm package will no longer get updated
- Now it only exports
Patch Changes
- Updated dependencies [7d3e3006]
- Updated dependencies [7d3e3006]
- Updated dependencies [7d3e3006]
- Updated dependencies [7d3e3006]
- Updated dependencies [7d3e3006]
- @graphql-tools/schema@8.0.0
7.0.5
Patch Changes
- 52971f4e: fix(graphql-tools): provide @apollo/client as an optional package
- Updated dependencies [eae28793]
- @graphql-tools/merge@6.2.14
7.0.4
Patch Changes
- Revert mock package to v7 to avoid breaking changes
7.0.3
Patch Changes
- Updated dependencies [24926654]
- Updated dependencies [24926654]
- Updated dependencies [24926654]
- @graphql-tools/delegate@7.0.10
- @graphql-tools/stitch@7.3.0
- @graphql-tools/links@7.0.4
- @graphql-tools/mock@8.0.0
7.0.2
Patch Changes
- fb14cd28: Added export from new optimize package
- Updated dependencies [fb14cd28]
- @graphql-tools/optimize@1.0.1
7.0.1
Patch Changes
- Updated dependencies [294dedda]
- Updated dependencies [294dedda]
- Updated dependencies [2b6c813e]
- Updated dependencies [8133a907]
- Updated dependencies [2b6c813e]
- @graphql-tools/delegate@7.0.1
- @graphql-tools/url-loader@6.3.2
- @graphql-tools/links@7.0.0
- @graphql-tools/utils@7.0.1
7.0.0
Major Changes
-
a9254491: - Resolver validation options should now be set to
error,warnorignorerather thantrueorfalse. In previous versions, some of the validators caused errors to be thrown, while some issued warnings. This changes brings consistency to validator behavior.- The
allowResolversNotInSchemahas been renamed torequireResolversToMatchSchema, to harmonize the naming convention of all the validators. The default setting ofrequireResolversToMatchSchemaiserror, matching the previous behavior.
-
The
delegateToSchemareturn value has matured and been formalized as anExternalObject, in which 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 includingslicedError,getErrors,getErrorsByPathSegmentfunctions. Only external errors with missing or invalid paths must still be preserved by annotating the remote object with special properties. The newgetUnpathedErrorsfunction is therefore necessary for retrieving only these errors. Note also the newannotateExternalObjectandmergeExternalObjectsfunctions, as well as the renaming ofhandleResulttoresolveExternalValue. -
Transform types and the
applySchemaTransformsare now relocated to thedelegatepackage;applyRequestTransforms/applyResultTransformsfunctions have been deprecated, however, as this functionality has been replaced since v6 by theTransformerabstraction. -
The
transformRequest/transformResultmethods are now provided additionaldelegationContextandtransformationContextarguments — these were introduced in v6, but previously optional. -
The
transformSchemamethod may wish to create additional delegating resolvers and so it is now provided thesubschemaConfigand final (non-executable)transformedSchemaparameters. As in v6, thetransformSchemais kicked off once to produce the non-executable version, and then, if a wrapping schema is being generated, proxying resolvers are created with access to the (non-executable) initial result. In v7, the individualtransformSchemamethods also get access to 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.
-
wrapSchemaandgenerateProxyingResolversnow only take a single options argument with named properties of typeSubschemaConfig. The previously possible shorthand version with first argument consisting of aGraphQLSchemaand second argument representing the transforms should be reworked as aSubschemaConfigobject. -
Similarly, the
ICreateProxyingResolverOptionsinterface that provides the options for thecreateProxyingResolverproperty ofSubschemaConfigoptions has been adjusted. Theschemaproperty previously could be set to aGraphQLSchemaor aSubschemaConfigobject. This property has been removed in favor of asubschemaConfigproperty that will always be aSubschemaConfigobject. Thetransformsproperty has been removed; transforms should be included within theSubschemaConfigobject.` -
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 fields doing the hard work of proxying. Support for custom merged resolvers throughtcreateMergedResolverhas been deprecated, as custom merging resolvers conflicts when using stitching’s type merging, where resolvers are expected to be identical across subschemas. -
The
WrapFieldstransform’swrappingResolveroption has been removed, as this complicates multiple 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 asTransformRootFieldsorTransformObjectFields. -
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 takes parsed 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 theparseSelectionSetfunction from@graphql-tools/utils.
-
stitchSchemas’smergeTypesoption is now true by default! This causes theonTypeConflictoption to be ignored by default. To useonTypeConflictto select a specific type instead of simply merging, simply setmergeTypesto false. -
schemasargument has been deprecated, usesubschemas,typeDefs, ortypes, depending on what 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 generating the final transformed schema, stored as thetransformedSchemaproperty, if transforms are used. Signatures of theonTypeConflict,fieldConfigMerger, andinputFieldConfigMergerhave been updated to include metadata related to the original and transformed subschemas. Note the property name change foronTypeConflictfromschematosubschema.
- Mocks returning objects with fields set as functions are now operating according to upstream
graphql-js convention, i.e. these functions take three arguments,
args,context, andinfowithparentavailable asthisrather than as the first argument.
filterSchema’sfieldFilterwill now filter all fields across Object, Interface, and Input types. For the previous Object-only behavior, switch to theobjectFieldFilteroption.- Unused
fieldNodesutility functions have been removed. - Unused
typeContainsSelectionSetfunction has been removed, andtypesContainSelectionSethas been moved to thestitchpackage. - Unnecessary
Operationtype has been removed in favor ofOperationTypeNodefrom upstream graphql-js. - As above,
applySchemaTransforms/applyRequestTransforms/applyResultTransformshave been removed from theutilspackage, as they are implemented elsewhere or no longer necessary.
- The
Patch Changes
- Updated dependencies [a9254491]
- @graphql-tools/batch-delegate@7.0.0
- @graphql-tools/stitch@7.0.1
6.2.6
Patch Changes
-
96a7555d: Fix release
Last PATCH release actually transitively updated graphql-tools and @graphql-tools/delegate to use latest MAJOR version of dependencies.
-
Updated dependencies [96a7555d]
- @graphql-tools/batch-delegate@6.2.6
6.2.5
Patch Changes
- Updated dependencies [be1a1575]
- @graphql-tools/batch-execute@7.0.0
- @graphql-tools/delegate@7.0.0
- @graphql-tools/mock@7.0.0
- @graphql-tools/schema@7.0.0
- @graphql-tools/stitch@7.0.0
- @graphql-tools/utils@7.0.0
- @graphql-tools/wrap@7.0.0
- @graphql-tools/links@6.2.5
- @graphql-tools/merge@6.2.5
- @graphql-tools/batch-delegate@6.2.5
- @graphql-tools/url-loader@6.3.1
- @graphql-tools/graphql-tag-pluck@6.2.6
- @graphql-tools/load@6.2.5
- @graphql-tools/code-file-loader@6.2.5
- @graphql-tools/git-loader@6.2.5
- @graphql-tools/github-loader@6.2.5
- @graphql-tools/graphql-file-loader@6.2.5
- @graphql-tools/json-file-loader@6.2.5
- @graphql-tools/module-loader@6.2.5
- @graphql-tools/relay-operation-optimizer@6.2.5
- @graphql-tools/resolvers-composition@6.2.5
6.2.4
Patch Changes
- 533d6d53: Bump all packages to allow adjustments
- Updated dependencies [32c3c4f8]
- Updated dependencies [32c3c4f8]
- Updated dependencies [32c3c4f8]
- Updated dependencies [32c3c4f8]
- Updated dependencies [32c3c4f8]
- Updated dependencies [533d6d53]
- @graphql-tools/stitch@6.2.4
- @graphql-tools/wrap@6.2.4
- @graphql-tools/import@6.2.4
- @graphql-tools/merge@6.2.4
- @graphql-tools/utils@6.2.4
- @graphql-tools/delegate@6.2.4
- @graphql-tools/batch-delegate@6.2.4
- @graphql-tools/graphql-tag-pluck@6.2.4
- @graphql-tools/links@6.2.4
- @graphql-tools/load@6.2.4
- @graphql-tools/code-file-loader@6.2.4
- @graphql-tools/git-loader@6.2.4
- @graphql-tools/github-loader@6.2.4
- @graphql-tools/graphql-file-loader@6.2.4
- @graphql-tools/json-file-loader@6.2.4
- @graphql-tools/module-loader@6.2.4
- @graphql-tools/url-loader@6.2.4
- @graphql-tools/mock@6.2.4
- @graphql-tools/relay-operation-optimizer@6.2.4
- @graphql-tools/resolvers-composition@6.2.4
- @graphql-tools/schema@6.2.4
- @graphql-tools/load-files@6.2.4