Skip to content

Commit 6c9c90f

Browse files
committed
chore(release): 0.4.0
1 parent 4838003 commit 6c9c90f

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,36 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
<a name="0.4.0"></a>
6+
# [0.4.0](https://github.com/trojanowski/react-apollo-hooks/compare/v0.3.1...v0.4.0) (2019-02-13)
7+
8+
9+
### Bug Fixes
10+
11+
* compact watchQueryOptions ([#77](https://github.com/trojanowski/react-apollo-hooks/issues/77)) ([39f59eb](https://github.com/trojanowski/react-apollo-hooks/commit/39f59eb))
12+
13+
14+
### Chores
15+
16+
* update React peer dependency to ^16.8.0 ([#78](https://github.com/trojanowski/react-apollo-hooks/issues/78)) ([56abacc](https://github.com/trojanowski/react-apollo-hooks/commit/56abacc))
17+
18+
19+
### Features
20+
21+
* **getMarkupFromTree:** add `onBeforeRender` handler ([#64](https://github.com/trojanowski/react-apollo-hooks/issues/64)) ([ba2af83](https://github.com/trojanowski/react-apollo-hooks/commit/ba2af83))
22+
* **useQuery:** change default value for the `suspend` option to `false` ([#80](https://github.com/trojanowski/react-apollo-hooks/issues/80)) ([8e34e01](https://github.com/trojanowski/react-apollo-hooks/commit/8e34e01))
23+
* **useQuery:** combine GraphQL errors in single ApolloError ([#58](https://github.com/trojanowski/react-apollo-hooks/issues/58)) ([18afba5](https://github.com/trojanowski/react-apollo-hooks/commit/18afba5))
24+
* **useQuery:** forward `networkStatus` for queries not using suspense ([fb22d06](https://github.com/trojanowski/react-apollo-hooks/commit/fb22d06))
25+
26+
27+
### BREAKING CHANGES
28+
29+
* **useQuery:** The default for the `suspend` option of `useQuery` is changed to `false`, and that hook no longer uses suspense by default. Suspense for data fetching is not recommended yet for production code. Please look at the [issue #69](https://github.com/trojanowski/react-apollo-hooks/issues/69) for details.
30+
* minimum supported (and tested) version of React is now 16.8.0
31+
* **useQuery:** if there are GraphQL errors in the response, you'll also have `error` property in the object returned by `useQuery`. It may be breaking for you if you use the presence of it to differentiate between network and GraphQL errors.
32+
33+
34+
535
<a name="0.3.1"></a>
636
## [0.3.1](https://github.com/trojanowski/react-apollo-hooks/compare/v0.3.0...v0.3.1) (2019-01-25)
737

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-apollo-hooks",
3-
"version": "0.3.1",
3+
"version": "0.4.0",
44
"description": "",
55
"sideEffects": false,
66
"main": "lib/index.js",

0 commit comments

Comments
 (0)