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…
Release by release
- New
Add support for the HTTP
QUERYmethod as described in graphql/graphql-over-http#411. - Fixed
Match the request
Content-Typemedia type case-insensitively and allow optional whitespace before its parameters, as required by RFC 9110. A request sent withApplication/JSONorapplication/json ; charset=utf-8was rejected with415 Unsupported Media Type. - Fixed
A schema factory function now works when
getEnvelopedis called outside of the request pipeline, for example bygraphql-ws. When the context passed togetEnvelopedhas a Fetch APIRequestasrequest, 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 asrequest. - 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
getEnvelopedorgetResultForParams. The check now applies only to requests that Yoga's HTTP handler parsed.
- New
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.