Packages

graphql-yoga

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

Your version

5.24.1

17 Sep 2026Where it was published

5.24.6 is the newest release of 5.x.

In short

1 fixed

Release note

The section about graphql-yoga of a note shared by several packages.

graphql-yoga@5.24.1

Patch Changes

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

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.