Packages

graphql-yoga

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

Upgrading graphql-yoga From 6.0.1 to 6.1.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

  1. 6.0.1yours
  2. 6.1.0target
  3. 23 pre
0
changes to make
0
advisories fixed
1
new
3
fixes

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.

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