Packages

@graphql-tools/import

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

Upgrading @graphql-tools/import From 7.1.19 to 7.2.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.1.19Newest 7.x7.2.4Latest8.0.9
  1. 7.1.19yours
  2. 7.2.0target
  3. 47 pre
0
changes to make
0
advisories fixed
1
new
4
fixes

Release by release

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

1 internal line (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.