v3.0.0
版本发布时间: 2020-08-05 22:00:08
graffle-js/graffle最新发布版本:next(2020-05-29 21:00:56)
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
- 49187dd bump lodash from 4.17.15 to 4.17.19 (#179)
- 4b02516 add missing DOM types
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)