Skip to content

Commit c65eb3f

Browse files
committed
Add changelog
1 parent c211170 commit c65eb3f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# 1.0.0
2+
3+
- Improve docs
4+
- Add `create-react-app` examples
5+
- Support GraphQL interfaces
6+
- Support GraphQL union types
7+
- Support fragments and inline fragments
8+
- Support `__typename` selection
9+
- Support alias in selections
10+
- Support custom scalar types
11+
- Support errors
12+
- Add typed version of `useSubscription`
13+
14+
Backward incompatible change:
15+
16+
To support errors, the argument `data` changed to `result` which can contain both `data` and `errors`:
17+
18+
```js
19+
// old
20+
apolloMock(documentNode, variables, { authors: [] });
21+
22+
// new
23+
apolloMock(documentNode, variables, { data: { authors: [] } });
24+
```

0 commit comments

Comments
 (0)