Skip to content

Releases: jasonkuhrt/graphql-request

next

29 May 13:00
e2d1888
Compare
Choose a tag to compare
next Pre-release
Pre-release

BREAKING CHANGES

  • 2a121c6 remove inlined graphql websocket code
  • 99a192e add spec compliant default Accept header (#618)
  • 0e53aed replace GraphQLClientRequestHeaders with built-in HeadersInit type (#616)
  • c3a309f remove support for CommonJS (#607)
  • 6efcc0d remove cross-fetch polyfill

Features

Fixes

Improvements

Chores

Read more

6.1.0

23 May 16:56
6500e69
Compare
Choose a tag to compare

Features

  • 71af6ab restore main field of package.json for environments that do not support exports field (#526)
  • 81c8bb2 export middleware function types

Improvements

  • 5fc0062 improve: fix autocomplete for request function
  • b98d71b refactor: group exports

Chores

6.0.0

13 Apr 03:54
277bad5
Compare
Choose a tag to compare

BREAKING CHANGES

Features

Fixes

  • 8a98925 change event handlers registration style (#474)

Improvements

Chores

5.2.0

01 Mar 16:18
Compare
Choose a tag to compare

Features

Fixes

  • d5a4012 batchRequests type constraint (#462)
  • 4302ba1 check if property errors from response is an empty array (#454)

Improvements

Chores

5.0.0

27 Aug 13:47
6246ffe
Compare
Choose a tag to compare

BREAKING CHANGES

  • 2f221a4 Invoke responseMiddleware in error cases as well (#372)

Features

  • 6246ffe Allow async requestMiddleware (#379)
  • 2f221a4 (breaking) Invoke responseMiddleware in error cases as well (#372)
  • a7ac904 TypedDocumentNode support & strict variable typings (#350)
  • dec0319 added middleware support (#170)

Fixes

  • 55b1bf5 resolve headers when cross fetch is not available in environment (#296)
  • 988b437 use GraphQLError from graphql module (#365)

Chores

4.2.0

23 Mar 12:37
ac40083
Compare
Choose a tag to compare

Features

Improvements

4.1.0

10 Mar 16:57
Compare
Choose a tag to compare

Features

  • 24ca53b include operationName to rawRequest payload if defined in gql (#328)
  • 26711e7 parse string documents to extract the operationName (#325)

Fixes

  • 0e406cc include source files in package for source maps (#317)
  • cbfa1fb case-insensitive 'Content-type' response header detection (#315)

Improvements

  • cf0aea9 improve: drop official node 12 support

Chores

  • d71028c use dripip reusable workflow
  • a99293c update workflow action versions
  • d740cdc bump simple-get from 3.1.0 to 3.1.1 (#320)

v4.0.0

23 Mar 12:49
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Official support for Node 12 is dropped

Features:

  • #303 Signal (Abort Controller) support

3.7.0

03 Dec 15:52
b693d27
Compare
Choose a tag to compare

Features

v3.6.1

18 Oct 12:21
b9db70a
Compare
Choose a tag to compare

Improvements

Chores