Releases: graffle-js/graffle
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)
v2.0.0
PLEASE NOTE:
This release was accidental. The breaking change will actually be undone in 2.1. However since this project was dormant for a long time, the 2.x
version is still a safeguard against possible regressions/instability that new development will cause.
2.0.0 (2020-05-28)
Bug Fixes
Features
- drop cross-fetch polyfill dep (#127) (c22d4b0)
- drop node 8 support (01ae7d0)
- export
Options
type (#155) (b69791c) - remove dom dependency (#108) (be27ac6), closes #26 #100
- simplify typings by using full RequestInit type (#107) (9d5e344)
BREAKING CHANGES
- You are responsible for polyfilling your environment with
cross-fetch
if needed now.