Skip to Content
GraphQL Tools
ChangelogsLoadersapollo-engine

@graphql-tools/apollo-engine-loader

9.0.7

Patch Changes

  • #8598  38e7800 Thanks @ardatan ! - ApolloEngineLoader now sends operationName: "GetSchemaByTag" in the GraphQL request body.

    The query was already named GetSchemaByTag, but the POST body only had query and variables. Servers and Apollo Server plugins that require an operation name on the request (and read it from the JSON body, not the document) rejected this introspection call. The GitHub loader already sends operationName the same way.

  • Updated dependencies [6da2904, 7770067, f956bfe]:

    • @graphql-tools/utils@13.2.0

9.0.6

Patch Changes

  • Updated dependencies [7fbc6e7, 5ceed9d]:
    • @graphql-tools/utils@13.1.3

9.0.5

Patch Changes

  • Updated dependencies [501109b]:
    • @graphql-tools/utils@13.1.2

9.0.4

Patch Changes

  • Updated dependencies [f87bdf4]:
    • @graphql-tools/utils@13.1.1

9.0.3

Patch Changes

  • Updated dependencies [4db5750]:
    • @graphql-tools/utils@13.1.0

9.0.2

Patch Changes

  • Updated dependencies [34b740b]:
    • @graphql-tools/utils@13.0.2

9.0.1

Patch Changes

  • Updated dependencies [15efe55]:
    • @graphql-tools/utils@13.0.1

9.0.0

Major Changes

  • #8515  1d70c62 Thanks @ardatan ! - Drop GraphQL v14/v15 support and require Node.js >= 22.18.

    • graphql peer range is now ^16.0.0 || ^17.0.0.
    • engines.node is now >=22.18.0 (Node fs.glob + Babel 8).
    • Dev tooling and @graphql-tools/graphql-tag-pluck move to Babel 8 (@babel/core / parser / traverse / types).
    • The standalone cross-inspect package is discontinued. Use inspect from @graphql-tools/utils instead (Node util.inspect via process.getBuiltinModule, with a small JSON.stringify / String fallback).

    Removed @graphql-tools/utils exports

    RemovedUse instead
    getArgumentValuesimport { getArgumentValues } from 'graphql'
    coerceInputs / graphqlJSCompatgraphql@16+ APIs (getArgumentValues, etc.)
    createDeferred / createDeferredPromiseconst { promise, resolve, reject } = Promise.withResolvers()
    createGraphQLErrornew GraphQLError(message, options) from graphql
    mapMaybePromisehandleMaybePromise from @whatwg-node/promise-helpers
    isPromise / fakePromise / mapAsyncIterator / MaybePromise@whatwg-node/promise-helpers
    registerAbortSignalListener / getAbortPromiseAbortSignal APIs (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.time if needed
    PromiseWithResolvers (type)Built-in PromiseWithResolvers<T> / return type of Promise.withResolvers()

    inspect and the WeakMap memoize1…memoize2of5 helpers remain on @graphql-tools/utils (inspect is no longer re-exported from cross-inspect).

    File matching (globby → fs.glob)

    Loaders and @graphql-tools/load-files now use Node’s fs.glob through:

    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.glob followSymlinks is 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/executor hot-path caches (collectSubfields, argument coercion, @stream detection) use memoize2 / memoize3 from utils. collectSubFields in utils stays unmemoized so the executor can own a single memoize3 layer.

    Errors and other cleanup

    • Prefer new GraphQLError(message, options) from graphql. Experimental schema coordinate support remains on locatedError / relocatedError / getSchemaCoordinate.
    • Removed GraphQL versions older than 16 compatibility branches (error construction, validation rule name suffixes, URL.canParse fallback).
    • Promise helpers should be imported from @whatwg-node/promise-helpers (handleMaybePromise, isPromise, fakePromise, mapAsyncIterator, MaybePromise) rather than re-exported from utils.

Patch Changes

8.0.40

Patch Changes

8.0.39

Patch Changes

  • Updated dependencies [fd95dc9]:
    • @graphql-tools/utils@12.0.4

8.0.38

Patch Changes

  • Updated dependencies [19f5b33]:
    • @graphql-tools/utils@12.0.3

8.0.37

Patch Changes

8.0.36

Patch Changes

8.0.35

Patch Changes

  • Updated dependencies [2273c21]:
    • @graphql-tools/utils@12.0.0

8.0.34

Patch Changes

  • Updated dependencies [e90719b]:
    • @graphql-tools/utils@11.2.2

8.0.33

Patch Changes

  • Updated dependencies [615c1a2]:
    • @graphql-tools/utils@11.2.1

8.0.32

Patch Changes

  • Updated dependencies [2609c94]:
    • @graphql-tools/utils@11.2.0

8.0.31

Patch Changes

  • Updated dependencies [981d461]:
    • @graphql-tools/utils@11.1.1

8.0.30

Patch Changes

  • Updated dependencies [a4b7dce]:
    • @graphql-tools/utils@11.1.0

8.0.29

Patch Changes

  • Updated dependencies [ae36a0e]:
    • @graphql-tools/utils@11.0.1

8.0.28

Patch Changes

8.0.27

Patch Changes

  • Updated dependencies [2118a80]:
    • @graphql-tools/utils@10.11.0

8.0.26

Patch Changes

  • Updated dependencies [2fe123a]:
    • @graphql-tools/utils@10.10.3

8.0.25

Patch Changes

  • Updated dependencies [dddc5f6]:
    • @graphql-tools/utils@10.10.2

8.0.24

Patch Changes

  • Updated dependencies [fbb58b5]:
    • @graphql-tools/utils@10.10.1

8.0.23

Patch Changes

8.0.22

Patch Changes

  • Updated dependencies [32d0457]:
    • @graphql-tools/utils@10.9.1

8.0.21

Patch Changes

  • Updated dependencies [22af985, 53db005]:
    • @graphql-tools/utils@10.9.0

8.0.20

Patch Changes

  • Updated dependencies [d123e26]:
    • @graphql-tools/utils@10.8.6

8.0.19

Patch Changes

  • Updated dependencies [90a717e, 26518de]:
    • @graphql-tools/utils@10.8.5

8.0.18

Patch Changes

  • Updated dependencies [155944b]:
    • @graphql-tools/utils@10.8.4

8.0.17

Patch Changes

  • Updated dependencies [4a2eb14]:
    • @graphql-tools/utils@10.8.3

8.0.16

Patch Changes

  • Updated dependencies [3547bba]:
    • @graphql-tools/utils@10.8.2

8.0.15

Patch Changes

  • Updated dependencies [651a5dc]:
    • @graphql-tools/utils@10.8.1

8.0.14

Patch Changes

  • Updated dependencies [0a3e193, 357b2ee]:
    • @graphql-tools/utils@10.8.0

8.0.13

Patch Changes

8.0.12

Patch Changes

  • Updated dependencies [53bb601, 53bb601]:
    • @graphql-tools/utils@10.7.2

8.0.11

Patch Changes

  • Updated dependencies [4912f19]:
    • @graphql-tools/utils@10.7.1

8.0.10

Patch Changes

  • Updated dependencies [2c70d27]:
    • @graphql-tools/utils@10.7.0

8.0.9

Patch Changes

  • Updated dependencies [6a8123b]:
    • @graphql-tools/utils@10.6.4

8.0.8

Patch Changes

  • Updated dependencies [020b9e4]:
    • @graphql-tools/utils@10.6.3

8.0.7

Patch Changes

8.0.6

Patch Changes

  • Updated dependencies [1e02935]:
    • @graphql-tools/utils@10.6.1

8.0.5

Patch Changes

  • Updated dependencies [414e404]:
    • @graphql-tools/utils@10.6.0

8.0.4

Patch Changes

  • Updated dependencies [dc5043b]:
    • @graphql-tools/utils@10.5.6

8.0.3

Patch Changes

8.0.2

Patch Changes

  • Updated dependencies [cf2ce5e]:
    • @graphql-tools/utils@10.5.5

8.0.1

Patch Changes

8.0.0

Major Changes

Patch Changes

7.3.26

Patch Changes

7.3.25

Patch Changes

7.3.24

Patch Changes

7.3.23

Patch Changes

7.3.22

Patch Changes

7.3.21

Patch Changes

  • Updated dependencies [904fe770]:
    • @graphql-tools/utils@9.1.3

7.3.20

Patch Changes

  • Updated dependencies [13c24883]:
    • @graphql-tools/utils@9.1.2

7.3.19

Patch Changes

  • Updated dependencies [7411a5e7]:
    • @graphql-tools/utils@9.1.1

7.3.18

Patch Changes

  • Updated dependencies [c0639dd0]:
    • @graphql-tools/utils@9.1.0

7.3.17

Patch Changes

  • Updated dependencies [d83b1960]:
    • @graphql-tools/utils@9.0.1

7.3.16

Patch Changes

7.3.15

Patch Changes

  • Updated dependencies [f7daf777]:
    • @graphql-tools/utils@8.13.1

7.3.14

Patch Changes

7.3.13

Patch Changes

  • Updated dependencies [43c736bd]:
    • @graphql-tools/utils@8.12.0

7.3.12

Patch Changes

7.3.11

Patch Changes

7.3.10

Patch Changes

7.3.9

Patch Changes

7.3.8

Patch Changes

  • Updated dependencies [2609d71f]:
    • @graphql-tools/utils@8.10.0

7.3.7

Patch Changes

  • #4624  e3167edc Thanks @n1ru4l ! - Fix CommonJS TypeScript resolution with moduleResolution node16 or nodenext

  • Updated dependencies [e3167edc]:

    • @graphql-tools/utils@8.9.1

7.3.6

Patch Changes

  • 3c8fb360: chore(deps): update @whatwg-node/fetch to fix vulnerability

7.3.5

Patch Changes

  • Updated dependencies [2a3b45e3]
    • @graphql-tools/utils@8.9.0

7.3.2

Patch Changes

  • eda0da95: Replace ‘cross-undici-fetch’ with ‘@whatwg-node/fetch’ since the previous one is deprecated

7.3.1

Patch Changes

  • ead60ca3: Upgrade cross-undici-fetch to the latest that uses undici@5.5.1 as pinned dependency until the issues with 5.6.0 fixed

7.3.0

Minor Changes

  • d76a299c: Support TypeScript module resolution.

Patch Changes

  • Updated dependencies [a0abbbcd]
  • Updated dependencies [d76a299c]
    • @graphql-tools/utils@8.8.0

7.2.20

Patch Changes

  • Updated dependencies [4914970b]
    • @graphql-tools/utils@8.7.0

7.2.19

Patch Changes

  • 041c5ba1: Use caret range for the tslib dependency
  • Updated dependencies [041c5ba1]
    • @graphql-tools/utils@8.6.13

7.2.18

Patch Changes

  • Updated dependencies [da7ad43b]
    • @graphql-tools/utils@8.6.12

7.2.17

Patch Changes

  • Updated dependencies [c0762ee3]
    • @graphql-tools/utils@8.6.11

7.2.16

Patch Changes

  • Updated dependencies [0fc510cb]
    • @graphql-tools/utils@8.6.10

7.2.15

Patch Changes

  • 627565a8: Bump cross-undici-fetch

7.2.14

Patch Changes

  • 84ae31ea: Bump cross-undici-fetch

7.2.13

Patch Changes

  • 3d89a26e: Bump cross-undici-fetch for Node 14 compat

7.2.12

Patch Changes

  • 4b70d2be: Bump cross-undici-fetch for Node 18 compatibility

7.2.11

Patch Changes

  • Updated dependencies [31a33e2b]
    • @graphql-tools/utils@8.6.9

7.2.10

Patch Changes

  • Updated dependencies [cb238877]
    • @graphql-tools/utils@8.6.8

7.2.9

Patch Changes

  • Updated dependencies [0bbb1769]
    • @graphql-tools/utils@8.6.7

7.2.8

Patch Changes

  • fe9402af: Bump data-loader and cross-undici-fetch

7.2.7

Patch Changes

  • Updated dependencies [904c0847]
    • @graphql-tools/utils@8.6.6

7.2.6

Patch Changes

  • Updated dependencies [be2c02d7]
    • @graphql-tools/utils@8.6.5

7.2.5

Patch Changes

  • Updated dependencies [d36d530b]
    • @graphql-tools/utils@8.6.4

7.2.4

Patch Changes

  • 0c0c6857: fix - align versions

7.2.3

Patch Changes

  • 18341363: feat(visitResult): ignore if field not present in visited object
  • Updated dependencies [18341363]
    • @graphql-tools/utils@8.6.2

7.2.2

Patch Changes

  • d57c56d2: bump cross-undici-fetch

7.2.1

Patch Changes

  • ef9c3853: fix: bump Node <v16.5 compatible version

7.2.0

Minor Changes

  • 41d9a996: enhance: use undici instead of node-fetch if available

7.1.2

Patch Changes

  • 4bfb3428: enhance: use ^ for tslib dependency
  • Updated dependencies [4bfb3428]
    • @graphql-tools/utils@8.5.1

7.1.1

Patch Changes

  • 58262be7: enhance: show more clear error messages for aggregated error
  • Updated dependencies [58262be7]
    • @graphql-tools/utils@8.3.0

7.1.0

Minor Changes

  • c5b0719c: feat: GraphQL v16 support

Patch Changes

  • Updated dependencies [c5b0719c]
  • Updated dependencies [c5b0719c]
  • Updated dependencies [c5b0719c]
  • Updated dependencies [c5b0719c]
  • Updated dependencies [c5b0719c]
    • @graphql-tools/utils@8.2.0

7.0.5

Patch Changes

  • e50852e6: use version ranges instead of a fixed version for the graphql-tools package versions

7.0.4

Patch Changes

  • Updated dependencies [2c807ddb]
    • @graphql-tools/utils@8.1.1

7.0.3

Patch Changes

  • Updated dependencies [b9684631]
  • Updated dependencies [9ede806a]
  • Updated dependencies [67691b78]
    • @graphql-tools/utils@8.1.0

7.0.2

Patch Changes

  • Updated dependencies [04830049]
    • @graphql-tools/utils@8.0.2

7.0.1

Patch Changes

  • Updated dependencies [b823dbaf]
    • @graphql-tools/utils@8.0.1

7.0.0

Major Changes

  • af9a78de: BREAKING CHANGE

    • Now each loader handles glob patterns internally and returns an array of Source object instead of single Source

    • GraphQL Tag Pluck now respects code locations and returns graphql-js Source objects for each found code block

    • Thanks to the one above, CodeFileLoader now returns different Source objects for each found SDL code block.

  • 7d3e3006: BREAKING CHANGE

    • Now it uses the native AggregateError implementation. The major difference is the individual errors are kept under errors property instead of the object itself with Symbol.iterator.
    // From; for (const error of aggregateError) // To; for (const error of aggregateError.errors)

Minor Changes

  • a31f9593: feat(apollo-engine): add sync support

Patch Changes

  • Updated dependencies [af9a78de]
  • Updated dependencies [9c26b847]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [dae6dc7b]
  • Updated dependencies [6877b913]
  • Updated dependencies [c42e811d]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [8c8d4fc0]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [74581cf3]
  • Updated dependencies [c0ca3190]
  • Updated dependencies [982c8f53]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [7d3e3006]
    • @graphql-tools/utils@8.0.0

6.2.5

Patch Changes

  • Updated dependencies [be1a1575]
    • @graphql-tools/utils@7.0.0

6.2.4

Patch Changes

  • 533d6d53: Bump all packages to allow adjustments
  • Updated dependencies [32c3c4f8]
  • Updated dependencies [533d6d53]
    • @graphql-tools/utils@6.2.4