Packages

@graphql-yoga/nestjs

5.1.0 · 12 Nov 2026MIT67.5k / weekRepositoryHomepagenpmAtom feed

Your version

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

  1. 5.x · latest line
  2. 5.1.0

    12 Nov 2026
  3. 5.0.1

    23 Oct 2026

    Only updates a dependency:graphql-yoga 6.0.1

  4. 5.0.0

    22 Oct 2026
    • Breaking

      #4575
      862447a
      Thanks @egoodwinx! - Use
      @graphql-hive/logger and add correlated, per-request
      logging (closes #4048)

      Every request now gets its own logger, available as context.log (and serverContext.log in
      plugin hooks), tagged with a requestId. Everything logged while handling a request can be
      correlated by that id.

      The request id is taken from the host integration if it already assigned one (e.g. Fastify's
      request.id), otherwise from the incoming x-request-id header, otherwise generated. It is also
      sent back in the x-request-id response header. Configure it with the new requestId option:

      createYoga({
        requestId: {
          // don't trust the incoming header, recommended when clients can reach the server directly
          trustHeader: false,
          headerName: 'x-correlation-id',
          generateRequestId: () => myId()
        }
      })

      Pass requestId: false to disable it.

      At the info level, a single "Request processed" line is logged per request with the method,
      path, operation name and type, response status, error count and duration. At the debug level,
      more details about request processing are logged.

      Masked errors are now logged with the request's logger, so they can be traced back to the request
      that caused them. Custom maskError functions receive the request's context as an optional fourth
      argument.

      The @envelop/newrelic, @envelop/auth0, @envelop/resource-limitations, @envelop/statsd,
      @envelop/graphql-jit, @envelop/response-cache and @envelop/response-cache-cloudflare-kv
      plugins accept a new log option for their own messages, instead of always writing to the
      console.

      @envelop/response-cache's shouldCacheResult now also receives the GraphQL context.

    • Breaking

      The @graphql-yoga/logger package has been removed. graphql-yoga re-exports Logger,
      MemoryLogWriter and LogLevel from @graphql-hive/logger instead.

    • Breaking

      createLogger and the YogaLogger type are no longer exported. Use new Logger(options)
      instead.

  5. 4.x
  6. 4.0.1 – 4.0.44 releases that only update dependenciesgraphql-yoga 5.24.6Show each
  7. 4.0.0

    5 Oct 2026
    • Breaking

      #4589
      c08efde
      Thanks @egoodwinx! - Remove the built-in subscriptions driver
      option and its graphql-ws / subscriptions-transport-ws wiring (previously implemented via
      @nestjs/graphql's GqlSubscriptionService).

      Fix open handle leak in multipart tests.

      @nestjs/graphql v14 (required for NestJS 12 support) dropped server-side support for
      subscriptions-transport-ws, and the driver-level graphql-ws integration held a socket open
      after shutdown. Rather than keep a partial, driver-managed subscriptions setup, YogaDriver and
      YogaFederationDriver no longer accept a subscriptions option. Wire up subscriptions yourself
      using GraphQL Yoga's own subscription support (e.g. the graphql-ws package, or
      @graphql-yoga/plugin-graphql-sse) the same way you would for a standalone graphql-yoga server.

    • #4589
      c08efde
      Thanks @egoodwinx! - dependencies updates:

  8. 3.x
  9. 3.25.1

    17 Sep 2026

    Only updates a dependency:graphql-yoga 5.24.1

  10. 3.25.0

    16 Sep 2026
  11. 3.24.0

    11 Sep 2026

    Only updates a dependency:graphql-yoga 5.23.0

  12. 3.23.0

    19 Aug 2026

    Reading the note…

  13. 3.22.3

    13 Aug 2026

    Reading the note…

  14. 3.22.2

    8 Jun 2026

    Reading the note…

  15. 3.22.1

    2 Jun 2026

    Reading the note…

  16. 3.22.0

    4 Apr 2026

    Reading the note…

  17. 3.21.0

    3 Apr 2026

    Reading the note…

  18. 3.20.0

    1 Apr 2026

    Reading the note…

  19. 3.19.1

    6 Mar 2026

    Reading the note…

  20. 3.19.0

    18 Dec 2025

    Reading the note…

  21. 3.18.1

    2 Dec 2025

    Reading the note…

  22. 3.18.0

    28 Nov 2025

    Reading the note…

  23. 3.17.1

    7 Nov 2025

    Reading the note…

  24. 3.17.0

    4 Nov 2025

    Reading the note…

  25. 3.16.0

    19 Sep 2025

    Reading the note…

  26. 3.15.2

    6 Sep 2025

    Reading the note…

  27. 3.15.1

    11 Jul 2025

    Reading the note…

  28. 3.15.0

    11 Jul 2025

    Reading the note…

  29. 3.14.0

    1 Jul 2025

    Reading the note…

  30. 3.13.5

    23 May 2025

    Reading the note…

  31. 3.13.4

    15 Apr 2025

    Reading the note…

  32. 3.13.3

    9 Apr 2025

    Reading the note…

  33. 3.13.2

    17 Mar 2025

    Reading the note…

  34. 3.13.1

    6 Mar 2025

    Reading the note…

  35. 3.13.0

    5 Mar 2025

    Reading the note…

  36. 3.12.2

    3 Mar 2025

    Reading the note…

  37. 3.12.1

    24 Feb 2025

    Reading the note…

  38. 3.12.0

    19 Feb 2025

    Reading the note…

  39. 3.11.0

    6 Feb 2025

    Reading the note…

  40. 3.10.12

    27 Jan 2025

    Reading the note…

  41. 3.10.11

    20 Jan 2025

    Reading the note…

  42. 3.10.10

    16 Jan 2025

    Reading the note…

  43. 3.10.9

    6 Jan 2025

    Reading the note…

  44. 3.10.8

    24 Dec 2024

    Reading the note…

  45. 3.10.7

    24 Dec 2024

    Reading the note…

  46. 3.10.6

    14 Dec 2024

    Reading the note…

  47. 3.10.5

    13 Dec 2024

    Reading the note…

  48. 3.10.4

    29 Nov 2024

    Reading the note…

  49. 3.10.3

    20 Nov 2024

    Reading the note…

  50. 3.10.2

    14 Nov 2024

    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.