NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3117 most downloaded on npm
Minimal GraphQL client supporting Node and browsers for scripts or simple apps.
Last release 9 months ago
12 Dec 2025
Ships unpredictably
gaps range from 8 days to 7 months
Most releases are documented
notes for 42 of 58 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
214 releases · first in 2017
Expose response headers and body on error responses - Added headers and body properties to GraphQLResponse and GraphQLClientResponse types, making it
headers and body properties to GraphQLResponse and GraphQLClientResponse types, making it easier to access non-GraphQL response data (e.g., 401/403/503 errors that return plain JSON instead of GraphQL).Full Changelog: https://github.com/graffle-js/graffle/compare/7.3.5...7.4.0
feat: support TypedDocumentString from graphql-codegen by @jasonkuhrt in https://github.com/graffle-js/graffle/pull/1456
Full Changelog: https://github.com/graffle-js/graffle/compare/v7.3.0...v7.3.5
One column per quarter.
Fixed #1281: GraphQL errors and data are now accessible from 4xx/5xx HTTP responses
None - this release maintains backwards compatibility while adding support for accessing GraphQL errors from 4xx/5xx responses.
Non-JSON Error Response Handling: Fixed regression in 7.3.2 where servers returning HTTP 4xx/5xx status codes with non-JSON response bodies (HTML, pla
"Invalid execution result: result is not object or array" (#1459, closes #1458)
Version 7.3.2 introduced a bug where the ELSE branch in parseResultFromResponse would pass raw strings (HTML, plain text) to a parser expecting objects/arrays. This only surfaced when:
text/html, text/plain)This is now fixed with graceful error handling and clear error messages.
HTTP Error Handling: Fixed regression from v6 to v7 where HTTP 4xx/5xx responses would not include GraphQL errors from response body in ClientError (#
HTTP Error Handling: Fixed regression from v6 to v7 where HTTP 4xx/5xx responses would not include GraphQL errors from response body in ClientError (#1457, closes #1281)
error.response.errors even with non-2xx status codesgraphql-codegen Compatibility: Added support for TypedDocumentString from @graphql-codegen when using documentMode: 'string' (#1456, closes #1453)
Fixed broken example links on npmjs.com
graffle-js/graffle/tree/graphql-request pathgraphql-request branchCommonJS Support: Added CommonJS module format () alongside ESM for better compatibility with Jest and other testing environments that aren't fully ES
any for easier migration and reduced type frictionThanks to @Moumouls (Antoine Cormouls) for the contribution! 🚀
Installation:
npm install graphql-request@7.3.0
Package: https://www.npmjs.com/package/graphql-request/v/7.3.0
Support GraphQL@15 https://github.com/graffle-js/graffle/commit/849c9ab448d074fe1763f7bed30d627a569a390c
Features:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
b732f4595b2619cc0f0c23e69e8316f37e29713b Remove reference to type-fest which is not a dependency.
Fixes:
type-fest which is not a dependency.37445c8e156bca8b256b8d01b3421ad7f6e43a6c Support CJS and remove Graffle code. To use Graffle by now, you should be using pnpm add graffle@next.
pnpm add graffle@next.829028d make dprint optional dep
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
dc299d9 no node fs module in runtime
Nothing published for this version
Nothing published for this version
2a121c6 remove inlined graphql websocket code
Accept header (#618)GraphQLClientRequestHeaders with built-in HeadersInit type (#616)/foo) (#745)Accept header (#618)GraphQLClientRequestHeaders with built-in HeadersInit type (#616)GraphQLResponse type as part of the public API (#636)Content-Type header (#614)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →