Releases: graffle-js/graffle
v4.0.0
3.7.0
v3.6.1
v3.6.0
v3.5.0
Features
- 20f18d3 add operationName to payload if defined in gql (#280)
- 0b2d960 add support for get request (#277)
- 32cae25 enable passing requestHeaders (#272)
- 8587e4d passthrough headers on exported request function (#265)
Fixes
- 58a6d36 types on GraphQLError (#278)
- 563609f remove errors from rawRequest return type (#174) (#249)
- a8d99f5 include headers in ClientError response (#245) (#246)
Improvements
Chores
- 0315018 update dev deps
- 9f98370 refresh node version matrix (#273)
- 2c60842 bump ws from 5.2.2 to 5.2.3 (#268)
- 6d790ef bump glob-parent from 5.1.1 to 5.1.2 (#267)
- 27d44fb bump lodash from 4.17.20 to 4.17.21 (#263)
- 2940c49 bump hosted-git-info from 2.8.8 to 2.8.9 (#264)
- 41a5a58 bump y18n from 4.0.0 to 4.0.1 (#258)
- 5b233c5 bump ini from 1.3.5 to 1.3.7 (#236)
- de59d7d bump node-notifier from 8.0.0 to 8.0.1 (#241)
v3.4.0
v3.3.0
v3.2.0
v3.1.0
v3.0.0
BREAKING CHANGES
-
Types module has moved from
dist/src/types.js
todist/types.js
. If you were importing from the former before you'll need to update to be the later now. -
e757927 accept DocumentNode input (#183)
graphql-request
now requiresgraphql
version 14.x or 15.x as a peer dependency.graphql-request
uses a TypeScript type from thegraphql
package such that if you are using TypeScript to build your project and you are usinggraphql-request
but don't havegraphql
installed TypeScript build will fail. Details here. If you are a JS user then you do not technically need to installgraphql
. However if you use an IDE that picks up TS types even for JS (like VSCode) then its still in your interest to installgraphql
so that you can benefit from enhanced type safety during development.
Features
- e757927 (breaking) accept DocumentNode input (#183)
- ad5a403 Add timeout property to RequestInit interface (#173)
- 5ceb388 add type param for variables (#143)
- cf90a8e inline TypeScript fetch types
- 1610d1e use cross-fetch as ponyfill
Fixes
Improvements
- ccaa5a1 docs: touchup readme
- 7129cf5 refactor: ts strict mode
- a3dad71 refactor: make src be root dir
Chores
- 3ce22ab update dripip
- 3f51dab mention setHeader (#171)
- 3b25f6d fix ci, stop running lint script
- 2dd655e use prepublishOnly script
- f0284f4 fix readme workflow badge
- af503af stop using tslint
- 234165e fix tests
- 9a8d1a3 use dripip for making releases
- 483119e switch from ava to jest
- 0bcaa05 upgrade typescript dep
- a6ab58b improve semantic-release setup (#164)