Packages

@graphql-tools/stitching-directives

4.1.7 · 20 Nov 2026MIT251.1k / weekRepositorynpmAtom feed

Your version

159 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 4.x · latest line
  2. 4.1.6 – 4.1.72 releases that only update dependencies@graphql-tools/delegate 12.3.5Show each
  3. 4.1.5

    9 Nov 2026
    • Dependencies updates:

  4. 4.1.3 – 4.1.42 releases that only update dependencies@graphql-tools/delegate 12.3.2Show each
  5. 4.1.2

    23 Oct 2026
    • Allow @merge without keyArg when the resolver takes zero arguments, and make keyless type merges work when the initial subschema cannot satisfy the requested fields (graphql-tools#4337).

      Previously the validator rejected @merge on zero-arg fields (args.length !== 1). It now allows zero or one argument and only errors when there are multiple args without keyArg / argsExpr.

      Separately, keyless merges such as:

      merge: {
        Stats: {
          fieldName: 'stats',
          args: () => ({}),
        },
      }

      had no key selectionSet. When the subschema that owned Query.stats did not have the requested fields (for example querying only totalChirps while that field lived on the other subschema), finalizeGatewayRequest stripped the empty nested selection and failed with "The request must contain at least one operation."

      For merged types that have resolvers but no key selectionSet, stitching now injects __typename into fieldNodesByType so a stub object remains and type merging can fill the remaining fields. This matches the partial-field failure called out in this discussion. Keyed merges (selectionSet: '{ id }') are unchanged.

    • Fix type merging for unions queried with inline fragments (graphql-tools#4965 / #4966).

      Typical setup: one subschema returns a stub member (StubMajor { id }) while another resolves the real union members via @merge:

      # students
      union Major = StubMajor
      type StubMajor { id: String! }
      
      # majors
      type Query {
        major(id: String!): Major @merge(keyField: "id")
      }
      union Major = MajorSuccess | MajorError

      Client query:

      major {
        ... on MajorSuccess { id name }
        ... on MajorError { id code }
      }

      Three problems stacked:

      Fixes:

      This goes beyond the schema-extension workaround discussed on the issue.

  6. 4.1.1

    8 Oct 2026

    Only updates a dependency:@graphql-tools/delegate 12.2.1

  7. 4.1.0

    8 Sep 2026
    • Support GraphQL 16 with @graphql-tools/utils v12

      Preserves GraphQL 16 compatibility while upgrading to @graphql-tools/utils v12, @graphql-tools/executor v2, and the compatible @graphql-tools/schema and @graphql-tools/merge releases. Consumers now receive consistent resolver and execution request types without conflicts between different GraphQL Tools versions.

      Stitched and delegated operations handle the new executor variable result shape correctly, including variables used by directives. Resolver execution also supports the executor's cancellation and asynchronous work helpers while remaining compatible with the GraphQL 16 GraphQLResolveInfo API.

    • Dependencies updates:

  8. 4.0.11 – 4.0.3020 releases that only update dependencies@graphql-tools/delegate 12.1.4Show each
  9. 4.0.10

    8 Jan 2026
    • Dependencies updates:

  10. 4.0.8 – 4.0.92 releases that only update dependencies@graphql-tools/delegate 12.0.3Show each
  11. 4.0.7

    1 Dec 2025

    Reading the note…

  12. 4.0.6

    1 Dec 2025

    Reading the note…

  13. 4.0.5

    19 Nov 2025

    Reading the note…

  14. 4.0.4

    7 Nov 2025

    Reading the note…

  15. 4.0.3

    1 Nov 2025

    Reading the note…

  16. 4.0.2

    27 Oct 2025

    Reading the note…

  17. 4.0.1

    15 Sep 2025

    Reading the note…

  18. 4.0.0

    4 Sep 2025
    • Breaking

      Drop Node 18 support

      Least supported Node version is now v20.

  19. 3.x
  20. 3.1.38

    1 Aug 2025

    Reading the note…

  21. 3.1.37

    23 Jul 2025

    Reading the note…

  22. 3.1.36

    7 Jul 2025

    Reading the note…

  23. 3.1.35

    26 Jun 2025

    Reading the note…

  24. 3.1.34

    2 Jun 2025

    Reading the note…

  25. 3.1.33

    16 May 2025

    Reading the note…

  26. 3.1.32

    7 Apr 2025

    Reading the note…

  27. 3.1.31

    25 Mar 2025

    Reading the note…

  28. 3.1.30

    20 Mar 2025

    Reading the note…

  29. 3.1.29

    11 Mar 2025

    Reading the note…

  30. 3.1.28

    14 Feb 2025

    Reading the note…

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.