Packages

graphql-yoga

6.1.0 · 12 Nov 2026MIT3.3M / weekRepositoryHomepagenpmAtom feed

Your version

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

  1. 6.x · latest line
  2. 6.1.0

    12 Nov 2026
    • #4647
      cfd0092
      Thanks @egoodwinx! - Add support for the HTTP QUERY method as
      described in
      graphql/graphql-over-http#411.

      QUERY requests carry the GraphQL params in the request body, exactly like POST
      (application/json, application/graphql+json, application/graphql, and
      application/x-www-form-urlencoded are all supported), but are treated as safe/read-only like
      GET: sending a mutation over QUERY is rejected with a 405 Method Not Allowed response, the
      same way it already is for GET.

    • #4650
      045fc2f
      Thanks @Shaurya55555! - Match the request Content-Type media
      type case-insensitively and allow optional whitespace before its parameters, as required by
      RFC 9110. A request sent with Application/JSON or application/json ; charset=utf-8 was
      rejected with 415 Unsupported Media Type.

    • #4658
      38e9f1b
      Thanks @egoodwinx! - dependencies updates:

  3. 6.0.1

    23 Oct 2026
    • #4634
      d73f61c
      Thanks @ardatan! - dependencies: bump @whatwg-node/server to
      ^0.13.1 so native Request subclasses (Next.js NextRequest, including the App Router
      proxyNextRequest Proxy) are classified as the platform Fetch API. The body-size limiter no
      longer throws a cross-realm TypeError / 500 on those requests; oversized bodies still
      return 413.

      See #4633 and
      #3717.

  4. 6.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. 5.x
  6. 5.24.6

    15 Oct 2026
  7. 5.24.5

    13 Oct 2026
  8. 5.24.4

    8 Oct 2026
  9. 5.24.3

    8 Oct 2026
  10. 5.24.2

    5 Oct 2026
    • #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.

  11. 5.24.1

    17 Sep 2026
    • #4586
      c6a9aa4
      Thanks @ardatan! - Fixes the issue thrown in the plugin that limits
      the incoming request body's size, when the incoming Request object is not the instance of the
      fetchAPI.Request which is usually the ponyfill implementation from @whatwg-node/node-fetch.

      This will be fixed in the following breaking release in @whatwg-node/node-fetch but in order to
      unblock the current users of GraphQL Yoga, a small normalization layer has been added to the
      plugin as a temporary workaround.

      Since the native Request.body is a native ReadableStream, that doesn't support other
      TransformStream implementation to its pipeThrough method, the limiting implementation didn't
      work properly.

      When the user ran Yoga within Next.js that uses the native Request object, it threw a
      TypeError which causes a cryptic 500 Internal Server Error for Next.js users.

      This workaround checks whether the incoming Request's body object is an instance of the native
      ReadableStream and applies the appropriate TransformStream implementation to ensure the
      request body size limiting works correctly.

  12. 5.24.0

    16 Sep 2026
    • #4580
      3763aca
      Thanks @egoodwinx! - Limit the size of incoming HTTP request
      bodies by default to protect against denial-of-service attacks from oversized payloads.

      Requests whose Content-Length exceeds the limit are rejected with an HTTP 413 response before
      the body is read, and the limit is also enforced while streaming the body so that requests with a
      missing, incorrect, or chunked-transfer-encoded body are covered too.

      The default limit is 25 MB. Configure it with the new maxRequestBodySize option, or set it to
      false to disable the limit (not recommended unless an upstream reverse proxy already enforces
      one):

      createYoga({
        // Allow bodies up to 25 MB
        maxRequestBodySize: 25_000_000
      })

      Also return an HTTP 400 response for malformed multipart/form-data requests (e.g. a missing or
      invalid boundary), instead of masking the parse error as a generic 500 Internal Server Error.

    • #4577
      7bff35c
      Thanks @egoodwinx! - Add homepage and bugs.url to package.json
      files

  13. 5.23.0

    11 Sep 2026
    • #4569
      c80f43c
      Thanks @Urigo! - Serve the favicon of the built-in GraphiQL and
      landing pages from a file that stays in the repository (packages/render-graphiql/favicon.ico)
      now that the website sources moved.

    • #4573
      d3b4164
      Thanks @cpruijsen! - Keep SSE keep-alive pings running when the
      stream reports backpressure (desiredSize === 0) instead of treating a full queue as a closed
      connection.

  14. 5.22.0

    19 Aug 2026

    Reading the note…

  15. 5.21.3

    13 Aug 2026

    Reading the note…

  16. 5.21.2

    8 Jun 2026

    Reading the note…

  17. 5.21.1

    2 Jun 2026

    Reading the note…

  18. 5.21.0

    4 Apr 2026

    Reading the note…

  19. 5.20.0

    3 Apr 2026

    Reading the note…

  20. 5.19.0

    1 Apr 2026

    Reading the note…

  21. 5.18.1

    6 Mar 2026

    Reading the note…

  22. 5.18.0

    18 Dec 2025

    Reading the note…

  23. 5.17.1

    2 Dec 2025

    Reading the note…

  24. 5.17.0

    28 Nov 2025

    Reading the note…

  25. 5.16.2

    7 Nov 2025

    Reading the note…

  26. 5.16.1

    4 Nov 2025

    Reading the note…

  27. 5.16.0

    19 Sep 2025

    Reading the note…

  28. 5.15.2

    6 Sep 2025

    Reading the note…

  29. 5.15.1

    11 Jul 2025

    Reading the note…

  30. 5.15.0

    11 Jul 2025

    Reading the note…

  31. 5.14.0

    1 Jul 2025

    Reading the note…

  32. 5.13.5

    23 May 2025

    Reading the note…

  33. 5.13.4

    15 Apr 2025

    Reading the note…

  34. 5.13.3

    9 Apr 2025

    Reading the note…

  35. 5.13.2

    17 Mar 2025

    Reading the note…

  36. 5.13.1

    6 Mar 2025

    Reading the note…

  37. 5.13.0

    5 Mar 2025

    Reading the note…

  38. 5.12.2

    3 Mar 2025

    Reading the note…

  39. 5.12.1

    24 Feb 2025

    Reading the note…

  40. 5.12.0

    19 Feb 2025

    Reading the note…

  41. 5.11.0

    6 Feb 2025

    Reading the note…

  42. 5.10.11

    27 Jan 2025

    Reading the note…

  43. 5.10.10

    16 Jan 2025

    Reading the note…

  44. 5.10.9

    6 Jan 2025

    Reading the note…

  45. 5.10.8

    24 Dec 2024

    Reading the note…

  46. 5.10.7

    24 Dec 2024

    Reading the note…

  47. 5.10.6

    14 Dec 2024

    Reading the note…

  48. 5.10.5

    13 Dec 2024

    Reading the note…

  49. 5.10.4

    29 Nov 2024

    Reading the note…

  50. 5.10.3

    20 Nov 2024

    Reading the note…

  51. 5.10.2

    14 Nov 2024

    Reading the note…

  52. 5.10.1

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