Packages

@graphql-tools/import

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

Upgrading @graphql-tools/import From 7.1.2 to 7.2.4

22 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.1.2Latest8.0.9
  1. 7.1.2yours
  2. 21 releases
  3. 7.2.4target
  4. 142 pre
0
changes to make
0
advisories fixed
4
new
4
fixes

Release by release

  1. 7.2.1 – 7.2.44 releases, nothing new or fixed in the notes

  2. 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.

  3. 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

  4. 7.1.4 – 7.1.1815 releases, nothing new or fixed in the notes

  5. 7.1.3

    30 Oct 20251 new
    • New

      Add import support for federation v2.10 features

27 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.