@graphql-tools/graphql-tag-pluck
9.0.7 · 22 Oct 2026MIT5.8M / weekRepositoryHomepagenpmAtom feed
139 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 9.x · latest line
9.0.2 – 9.0.76 releases that only update dependencies@graphql-tools/utils 13.1.3Show each
- 9.0.722 Oct 2026@graphql-tools/utils 13.1.3
- 9.0.622 Oct 2026@graphql-tools/utils 13.1.2
- 9.0.520 Oct 2026@graphql-tools/utils 13.1.1
- 9.0.420 Oct 2026@graphql-tools/utils 13.1.0
- 9.0.319 Oct 2026@graphql-tools/utils 13.0.2
- 9.0.219 Oct 2026@graphql-tools/utils 13.0.1
9.0.1
19 Oct 2026Deduplicate dual-marker template plucks and convert Babel's 0-based columns to GraphQL
Source1-based offsets so standalone#graphqltemplates at column 0 no longer throw.
9.0.0
19 Oct 2026- breaking
Drop GraphQL v14/v15 support and require Node.js >= 22.18.
On Node.js ≥26.1 (and ≥24.16 where backported),
fs.globfollowSymlinksis used.On older engines, symlink directories are discovered only under each pattern’s literal prefix (not the whole
cwd) and patterns are re-rooted.
Major Changes
- breaking
Drop GraphQL v14/v15 support and require Node.js >= 22.18.
graphqlpeer range is now^16.0.0 || ^17.0.0.engines.nodeis now>=22.18.0(Nodefs.glob+ Babel 8).Dev tooling and
@graphql-tools/graphql-tag-pluckmove to Babel 8 (@babel/core/ parser / traverse / types).The standalone
cross-inspectpackage is discontinued. Useinspectfrom@graphql-tools/utilsinstead (Nodeutil.inspectviaprocess.getBuiltinModule, with a smallJSON.stringify/Stringfallback).
Removed
@graphql-tools/utilsexportsRemoved Use instead getArgumentValuesimport { getArgumentValues } from 'graphql'coerceInputs/graphqlJSCompatgraphql@16+ APIs ( getArgumentValues, etc.)createDeferred/createDeferredPromiseconst { promise, resolve, reject } = Promise.withResolvers()createGraphQLErrornew GraphQLError(message, options)fromgraphqlmapMaybePromisehandleMaybePromisefrom@whatwg-node/promise-helpersisPromise/fakePromise/mapAsyncIterator/MaybePromise@whatwg-node/promise-helpersregisterAbortSignalListener/getAbortPromiseAbortSignalAPIs (throwIfAborted,addEventListener('abort', …, { once: true }),AbortSignal.any, …)withCancel/getAsyncIterableWithCancel/getAsyncIteratorWithCancelHandle cancellation on the async iterator’s return()(or your transport abort path)debugTimerStart/debugTimerEndYour own timing / console.timeif neededPromiseWithResolvers(type)Built-in PromiseWithResolvers<T>/ return type ofPromise.withResolvers()inspectand the WeakMapmemoize1…memoize2of5helpers remain on@graphql-tools/utils(inspect is no longer re-exported fromcross-inspect).File matching (
globby→fs.glob)Loaders and
@graphql-tools/load-filesnow use Node’sfs.globthrough:import { matchFiles, matchFilesSync } from '@graphql-tools/load-files';Directory symlinks are followed for recursive (
**) patterns:On Node.js ≥26.1 (and ≥24.16 where backported),
fs.globfollowSymlinksis used.On older engines, symlink directories are discovered only under each pattern’s literal prefix (not the whole
cwd) and patterns are re-rooted.Non-recursive / literal patterns skip the symlink walk entirely.
@graphql-tools/executorhot-path caches (collectSubfields, argument coercion,@streamdetection) usememoize2/memoize3from utils.collectSubFieldsin utils stays unmemoized so the executor can own a single memoize3 layer.Errors and other cleanup
Prefer
new GraphQLError(message, options)fromgraphql. Experimental schemacoordinatesupport remains onlocatedError/relocatedError/getSchemaCoordinate.Removed GraphQL versions older than 16 compatibility branches (error construction, validation rule name suffixes,
URL.canParsefallback).Promise helpers should be imported from
@whatwg-node/promise-helpers(handleMaybePromise,isPromise,fakePromise,mapAsyncIterator,MaybePromise) rather than re-exported from utils.
Minor Changes
Recognize
#graphqlat the start of template literals by default.Until now, untagged template literals were only plucked when they had a leading block comment such as
/* GraphQL */(gqlMagicComment). Many setups instead use a#graphqlmarker inside the string:export const typeDefs = `#graphql type Query { hello: String } `That marker is GraphQL source text, not a JavaScript leading comment, so
gqlMagicCommentcould never see it. Without extraction, loaders fall back to importing the module, which stays cached under GraphQL Codegen--watchand leaves generated types stale.This release adds
gqlHashComment(default:'graphql'):#graphqlis recognized out of the boxset
gqlHashComment: 'gql'(or any other value) for markers like#gqlset
gqlHashComment: ''to disable hash-comment detection
/* GraphQL */viagqlMagicCommentand theisGqlTemplateLiteral/pluckStringFromFilehooks keep working as before.
Patch Changes
dependencies updates:
Updated dependency
@babel/core@^8.0.7↗︎ (from^7.29.7, independencies)Updated dependency
@babel/parser@^8.0.7↗︎ (from^7.29.3, independencies)Updated dependency
@babel/traverse@^8.0.7↗︎ (from^7.26.10, independencies)Updated dependency
@babel/types@^8.0.6↗︎ (from^7.26.10, independencies)Updated dependency
graphql@^16.0.0 || ^17.0.0↗︎ (from^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0, inpeerDependencies)
- 8.x
8.3.41
15 Oct 2026dependencies updates:
Patch Changes
dependencies updates:
Updated dependency
@graphql-tools/utils@^12.0.4↗︎ (from^12.0.3, independencies)
8.3.38 – 8.3.403 releases that only update dependencies@graphql-tools/utils 12.0.4Show each
- 8.3.4012 Oct 2026@graphql-tools/utils 12.0.4
- 8.3.3930 Sep 2026@graphql-tools/utils 12.0.3
- 8.3.3830 Sep 2026@graphql-tools/utils 12.0.2
8.3.37
7 Sep 2026dependencies updates:
Parse with Babel
importAttributes(anddeprecatedAssertSyntaxso existingassert { … }files still work), and drop the unused@babel/plugin-syntax-import-assertionsdependency. Fixes #5454.
Patch Changes
dependencies updates:
Removed dependency
@babel/plugin-syntax-import-assertions@^7.26.0↗︎ (fromdependencies)
Parse with Babel
importAttributes(anddeprecatedAssertSyntaxso existingassert { … }files still work), and drop the unused@babel/plugin-syntax-import-assertionsdependency. Fixes #5454.
8.3.36
12 Aug 2026Only updates a dependency:@graphql-tools/utils 12.0.0
8.3.35
17 Jul 2026Reading the note…
8.3.34
17 Jul 2026Reading the note…
8.3.33
6 Jul 2026Reading the note…
8.3.32
28 Jun 2026Reading the note…
8.3.31
23 Apr 2026Reading the note…
8.3.30
9 Apr 2026Reading the note…
8.3.29
3 Apr 2026Reading the note…
8.3.28
22 Jan 2026Reading the note…
8.3.27
7 Jan 2026Reading the note…
8.3.26
28 Nov 2025Reading the note…
8.3.25
12 Nov 2025Reading the note…
8.3.24
11 Nov 2025Reading the note…
8.3.23
4 Nov 2025Reading the note…
8.3.22
30 Oct 2025Reading the note…
8.3.21
21 Jul 2025Reading the note…
8.3.20
17 Jul 2025Reading the note…
8.3.19
13 Mar 2025Reading the note…
8.3.18
13 Mar 2025Reading the note…
8.3.17
3 Mar 2025Reading the note…
8.3.16
25 Feb 2025Reading the note…
8.3.15
21 Feb 2025Reading the note…
8.3.14
10 Feb 2025Reading the note…
8.3.13
10 Feb 2025Reading the note…
8.3.12
6 Jan 2025Reading the note…
8.3.11
2 Jan 2025Reading the note…
8.3.10
24 Dec 2024Reading the note…
8.3.9
14 Dec 2024Reading the note…
8.3.8
13 Dec 2024Reading the note…
8.3.7
4 Dec 2024Reading the note…
8.3.6
27 Nov 2024Reading the note…
8.3.5
22 Nov 2024Reading the note…
8.3.4
13 Nov 2024Reading the note…
8.3.3
15 Oct 2024Reading the note…
8.3.2
3 Aug 2024Reading the note…
8.3.1
14 May 2024Reading the note…
8.3.0
21 Feb 2024Reading the note…