Packages

graphql-yoga

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

Upgrading graphql-yoga From 1.17.4 to 6.1.0

135 releases in betweennotes for 11

Reading releases, release notes and advisories…

Other targets from 1.17.4Newest 1.x1.18.3
5.0.0, 4.0.0, 3.0.0, 2.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 1.17.4yours
  2. 4 releases
  3. 2.0.0major
  4. 32 releases
  5. 3.0.0major
  6. 23 releases
  7. 4.0.0major
  8. 5 releases
  9. 5.0.0major
  10. 59 releases
  11. 5.24.2breaking
  12. 4 releases
  13. 6.0.0major
  14. 1 release
  15. 6.1.0target
  16. 153 pre
21+
changes to make
0
advisories fixed
3+
new
9+
fixes

Counted from 11 of 135 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go

Release by release

  1. 6.1.0

    12 Nov 20261 new · 3 fixes
    • New

      Add support for the HTTP QUERY method as described in graphql/graphql-over-http#411.

    • Fixed

      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.

    • Fixed

      A schema factory function now works when getEnveloped is called outside of the request pipeline, for example by graphql-ws. When the context passed to getEnveloped has a Fetch API Request as request, the factory is called with that context instead of throwing "No schema found for this request", and it has to return the schema synchronously there. The WebSocket recipes now pass the upgrade request as request.

    • Fixed

      Mutations sent over a WebSocket no longer fail with "Can only perform a mutation operation from a POST request." when the WebSocket server passes the upgrade request to getEnveloped or getResultForParams. The check now applies only to requests that Yoga's HTTP handler parsed.

  2. 6.0.1

    23 Oct 20261 fix
    • Fixed

      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.

  3. 6.0.0

    Migration needed22 Oct 20261 fix
    • Breaking

      Use @graphql-hive/logger and add correlated, per-request logging (closes #4048)

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

    • Breaking

      The logging option now takes boolean | Logger | LogLevel, where Logger is the one from @graphql-hive/logger.

  4. 5.24.6

    15 Oct 20261 fix
    • Fixed

      Fix to guard result-processor cancel against undefined iterator

  5. 5.24.3 – 5.24.53 releases, nothing new or fixed in the notes

  6. 5.24.2

    Migration needed5 Oct 2026
    • Breaking

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

  7. 5.24.1

    17 Sep 20261 fix
    • Fixed

      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.

  8. 5.24.0

    16 Sep 20262 new
    • New

      Limit the size of incoming HTTP request bodies by default to protect against denial-of-service attacks from oversized payloads.

    • New

      Add homepage and bugs.url to package.json files

4 other lines we could not sort, mostly version bumps

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