Packages

graphql-yoga

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

Your version

5.24.0

16 Sep 2026Where it was published

5.24.6 is the newest release of 5.x.

In short

2 new4 internal

Release note

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

graphql-yoga@5.24.0

Minor Changes

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

Patch Changes

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.