@graphql-tools/wrap
11.2.6 · 12 Nov 2026MIT15.3M / weekRepositorynpmAtom feed
204 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 9.x
9.2.12 – 9.2.165 releases with no change for you2 dependency updates, 3 without a note@graphql-tools/utils 9.1.1@graphql-tools/delegate 9.0.17@graphql-tools/schema 9.0.10Show each
- 9.2.1617 Nov 2022no note
- 9.2.1517 Nov 2022no note
- 9.2.1416 Nov 2022no note
- 9.2.1314 Nov 2022@graphql-tools/utils 9.1.1@graphql-tools/delegate 9.0.17@graphql-tools/schema 9.0.10
- 9.2.1211 Nov 2022@graphql-tools/delegate 9.0.16
9.2.11
7 Nov 2022#4825
1270b75aThanks @NullScope! - Fixed __typename being added more than once in TransformCompositeFields
Patch Changes
#4825
1270b75aThanks @NullScope! - Fixed __typename being added more than once in TransformCompositeFields
9.2.2 – 9.2.98 releases that only update dependencies@graphql-tools/utils 9.0.1@graphql-tools/delegate 9.0.14@graphql-tools/schema 9.0.8Show each
- 9.2.92 Nov 2022@graphql-tools/utils 9.0.1@graphql-tools/delegate 9.0.14@graphql-tools/schema 9.0.8
- 9.2.82 Nov 2022@graphql-tools/delegate 9.0.13
- 9.2.71 Nov 2022@graphql-tools/delegate 9.0.12
- 9.2.61 Nov 2022@graphql-tools/utils 9.0.0@graphql-tools/delegate 9.0.11@graphql-tools/schema 9.0.7
- 9.2.531 Oct 2022@graphql-tools/utils 8.13.1@graphql-tools/delegate 9.0.10@graphql-tools/schema 9.0.6
- 9.2.427 Oct 2022@graphql-tools/delegate 9.0.9@graphql-tools/utils 8.13.0@graphql-tools/schema 9.0.5
- 9.2.329 Sep 2022@graphql-tools/delegate 9.0.8
- 9.2.229 Sep 2022@graphql-tools/delegate 9.0.7
9.0.6
5 Sep 2022Only updates dependencies:@graphql-tools/utils 8.11.0@graphql-tools/delegate 9.0.5@graphql-tools/schema 9.0.3
9.0.5
26 Aug 2022#4676
4e4fac0aThanks @NullScope! - Fix transforming/renaming Wrapped GraphQL Arguments
9.0.3
12 Aug 2022Only updates a dependency:@graphql-tools/delegate 9.0.3
9.0.1
10 Aug 2022Only updates dependencies:@graphql-tools/utils 8.10.0@graphql-tools/schema 9.0.1@graphql-tools/delegate 9.0.1
9.0.0
9 Aug 2022- Breaking
#4566
d8dc67aaThanks @ardatan! - ## Breaking changesSchema generation optimization by removing
transfomedSchemaparameterPreviously we were applying the transforms multiple times. We needed to introduced some breaking changes to improve the initial wrapped/stitched schema generation performance;
stitchSchemasdoesn't take nested arrays of subschemasstitchSchemasno longer accepts an array of arrays of subschema configuration objects. Instead, it accepts an array of subschema configuration objects or schema objects directly.stitchSchemasno longer prunes the schema withpruningOptionsYou can use
pruneSchemafrom@graphql-tools/utilsto prune the schema instead.stitchSchemasno longer respect "@computed" directive if stitchingDirectivesTransformer isn't appliedAlso
@graphql-tools/stitchno longer exportscomputedDirectiveTransformeranddefaultSubschemaConfigTransforms. Instead, use@graphql-tools/stitching-directivespackage for@computeddirective. Learn more about setting it upcomputedFieldshas been removed from the merged type configurationMergeTypeConfig.computedFieldssetting has been removed in favor of new computed field configuration written as:merge: { MyType: { fields: { myComputedField: { selectionSet: '{ weight }', computed: true, } } } }A field-level
selectionSetspecifies field dependencies while thecomputedsetting structures the field in a way that assures it is always selected with this data provided. TheselectionSetis intentionally generic to support possible future uses. This new pattern organizes all field-level configuration (includingcanonical) into a single structure.
Major Changes
- Breaking
#4566
d8dc67aaThanks @ardatan! - ## Breaking changesSchema generation optimization by removing
transfomedSchemaparameterPreviously we were applying the transforms multiple times. We needed to introduced some breaking changes to improve the initial wrapped/stitched schema generation performance;
Transform.transformSchemano longer acceptstransformedSchemawhich can easily be created withapplySchemaTransforms(schema, subschemaConfig)instead.Proxying resolver factory function that is passed as
createProxyingResolvertoSubschemaConfigno longer takestransformedSchemawhich can easily be created withapplySchemaTransforms(schema, subschemaConfig)instead.
stitchSchemasdoesn't take nested arrays of subschemasstitchSchemasno longer accepts an array of arrays of subschema configuration objects. Instead, it accepts an array of subschema configuration objects or schema objects directly.stitchSchemasno longer prunes the schema withpruningOptionsYou can use
pruneSchemafrom@graphql-tools/utilsto prune the schema instead.stitchSchemasno longer respect "@computed" directive if stitchingDirectivesTransformer isn't appliedAlso
@graphql-tools/stitchno longer exportscomputedDirectiveTransformeranddefaultSubschemaConfigTransforms. Instead, use@graphql-tools/stitching-directivespackage for@computeddirective. Learn more about setting it upcomputedFieldshas been removed from the merged type configurationMergeTypeConfig.computedFieldssetting has been removed in favor of new computed field configuration written as:merge: { MyType: { fields: { myComputedField: { selectionSet: '{ weight }', computed: true, } } } }A field-level
selectionSetspecifies field dependencies while thecomputedsetting structures the field in a way that assures it is always selected with this data provided. TheselectionSetis intentionally generic to support possible future uses. This new pattern organizes all field-level configuration (includingcanonical) into a single structure.
Patch Changes
- 8.x
8.5.1
27 Jul 2022Only updates dependencies:@graphql-tools/utils 8.9.0@graphql-tools/delegate 8.8.1@graphql-tools/schema 8.5.1
8.5.0
27 Jun 2022Support TypeScript module resolution.
Minor Changes
Support TypeScript module resolution.
8.4.21
23 Jun 2022Only updates dependencies:@graphql-tools/delegate 8.7.12@graphql-tools/schema 8.4.0@graphql-tools/utils 8.7.0
8.4.20
7 Jun 2022Use caret range for the tslib dependency
Patch Changes
Use caret range for the tslib dependency
8.4.19
20 May 2022wrap: Wrapped types and fields should be non null
Patch Changes
wrap: Wrapped types and fields should be non null
8.4.14 – 8.4.185 releases that only update dependencies@graphql-tools/utils 8.6.11@graphql-tools/delegate 8.7.9@graphql-tools/schema 8.3.12Show each
- 8.4.1820 May 2022@graphql-tools/utils 8.6.11@graphql-tools/delegate 8.7.9@graphql-tools/schema 8.3.12
- 8.4.179 May 2022@graphql-tools/utils 8.6.10@graphql-tools/delegate 8.7.8@graphql-tools/schema 8.3.11
- 8.4.1619 Apr 2022@graphql-tools/utils 8.6.9@graphql-tools/delegate 8.7.7@graphql-tools/schema 8.3.10
- 8.4.1515 Apr 2022@graphql-tools/delegate 8.7.6
- 8.4.1415 Apr 2022@graphql-tools/utils 8.6.8@graphql-tools/delegate 8.7.5@graphql-tools/schema 8.3.9
8.4.13
13 Apr 2022Refine generic typings using
extends Xwhen appropriateTypescript 4.7 has stricter requirements around generics which is explained well in the related PR: #48366
These changes resolve the errors that these packages will face when attempting to upgrade to TS 4.7 (still in beta at the time of writing this). Landing these changes now will allow other TS libraries which depend on these packages to experiment with TS 4.7 in the meantime.
Patch Changes
Refine generic typings using
extends Xwhen appropriateTypescript 4.7 has stricter requirements around generics which is explained well in the related PR: #48366
These changes resolve the errors that these packages will face when attempting to upgrade to TS 4.7 (still in beta at the time of writing this). Landing these changes now will allow other TS libraries which depend on these packages to experiment with TS 4.7 in the meantime.
8.4.7 – 8.4.126 releases that only update dependencies@graphql-tools/delegate 8.7.3@graphql-tools/utils 8.6.6@graphql-tools/schema 8.3.7Show each
- 8.4.1213 Apr 2022@graphql-tools/delegate 8.7.3
- 8.4.117 Apr 2022@graphql-tools/utils 8.6.6@graphql-tools/delegate 8.7.2@graphql-tools/schema 8.3.7
- 8.4.1030 Mar 2022@graphql-tools/schema 8.3.6@graphql-tools/delegate 8.7.1
- 8.4.924 Mar 2022@graphql-tools/delegate 8.7.0
- 8.4.822 Mar 2022@graphql-tools/utils 8.6.5@graphql-tools/delegate 8.6.1@graphql-tools/schema 8.3.5
- 8.4.722 Mar 2022@graphql-tools/delegate 8.6.0@graphql-tools/utils 8.6.4@graphql-tools/schema 8.3.4
8.4.6
16 Mar 2022Fix - align versions
Patch Changes
Fix - align versions
8.4.5
16 Mar 2022Fix - align versions
Patch Changes
Fix - align versions
8.4.4
14 Mar 2022url-loader: Get dynamic endpoint value correctly
8.4.3
3 Mar 2022wrap: RenameObjectFieldArguments transform
8.4.2
24 Feb 2022Reading the note…
8.4.1
24 Feb 2022Reading the note…
8.4.0
16 Feb 2022Add better type support for stitchSchemas using subschema transformations
Minor Changes
Add better type support for stitchSchemas using subschema transformations
8.3.3
6 Jan 2022Reading the note…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.