Packages

@graphql-tools/import

8.0.9 · 10 Nov 2026MIT13.6M / weekRepositoryHomepagenpmAtom feed

Upgrading @graphql-tools/import From 7.1.7 to 8.0.9

27 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.1.7Newest 7.x7.2.4
The note of 8.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 7.1.7yours
  2. 17 releases
  3. 8.0.0major
  4. 8 releases
  5. 8.0.9target
  6. 313 pre
?
changes to make
0
advisories fixed
3
new
5
fixes

Release by release

  1. 8.0.7 – 8.0.93 releases, nothing new or fixed in the notes

  2. 8.0.6

    22 Oct 20261 fix
    • Fixed

      processImport keeps the AST nodes collected from #import instead of printing every definition to SDL and parsing that string again.

  3. 7.2.1 – 8.0.510 releases, nothing new or fixed in the notes

  4. 7.2.0

    7 Sep 20261 new · 4 fixes
    • New

      # import paths may use a require: prefix, resolved with Node's require.resolve from the importing file. Example: # import Post from "require:blog-graphql-types/schema.graphql" or # import A from "require:./a.graphql".

    • Fixed

      # import "./file.graphql" (space after #) is a valid default import, and #import is processed even when it is not the first non-blank line of the file.

    • Fixed

      Keep leading GraphQL comments (for example # eslint-disable-next-line above a query) when #import merges documents. Previously processImport reprinted definitions and dropped those comments from the merged source.

    • Fixed

      # import * keeps unreferenced types that carry a federation @key (subgraph entities). Other unused types are still tree-shaken, matching existing import * tests.

    • Fixed

      Named # import of a type no longer drops interfaces implemented by union members.

  5. 7.1.19

    12 Aug 20262 new
    • New

      import: Remove redundant work in addDefinition's dependency traversal

    • New

      import: Memoize print per node when assembling imported definitions

  6. 7.1.8 – 7.1.1811 releases, nothing new or fixed in the notes

30 internal lines (docs, tests, tooling) left out.

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.