UNPKG

3.46 kBMarkdownView Raw
1# Change log
2
3----
4
5**NOTE:** This changelog is no longer maintained. Changes are now tracked in
6the top level [`CHANGELOG.md`](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md).
7
8----
9
10### 1.5.7
11
12- Fix a bug where empty `apollographql-client-name` and
13 `apollographql-client-version` headers were being included with requests
14 when they weren't set in the `context` based `clientAwareness` object. <br/>
15 [@hwillson](http://github.com/hwillson) in [#872](https://github.com/apollographql/apollo-link/pull/872)
16
17### 1.5.6
18
19- If `name` or `version` client awareness settings are found in the
20 incoming `operation` `context`, they'll be extracted and added as headers
21 to all outgoing requests. The header names used (`apollographql-client-name`
22 and `apollographql-client-version`) line up with the associated Apollo Server
23 changes made in https://github.com/apollographql/apollo-server/pull/1960. <br/>
24 [@hwillson](http://github.com/hwillson) in [#872](https://github.com/apollographql/apollo-link/pull/872)
25
26### 1.5.5
27- Added `graphql` 14 to peer and dev deps; Updated `@types/graphql` to 14 <br/>
28 [@hwillson](http://github.com/hwillson) in [#789](https://github.com/apollographql/apollo-link/pull/789)
29
30### 1.5.4
31- Update apollo-link [#559](https://github.com/apollographql/apollo-link/pull/559)
32- Check for signal already present on `fetchOptions` [#584](https://github.com/apollographql/apollo-link/pull/584)
33
34### 1.5.3
35- updated dependency on `apolloLink.httpCommon` [#522](https://github.com/apollographql/apollo-link/pull/522)
36
37### 1.5.2
38- fix issue where execution result with only `errors` key fired the `next` event
39- Add missing rollup alias and make http-common exported as `apolloLink.httpCommon` [#522](https://github.com/apollographql/apollo-link/pull/522)
40
41### 1.5.1
42- update apollo link with zen-observable-ts [PR#515](https://github.com/apollographql/apollo-link/pull/515)
43
44### 1.5.0
45- New useGETForQueries option: if set, uses GET for queries (but not mutations)
46
47### 1.4.0
48- move logic to apollo-link-http-core [PR#364](https://github.com/apollographql/apollo-link/pull/364)
49- follow the spec properly for GET requests [PR#490](https://github.com/apollographql/apollo-link/pull/490)
50- ApolloLink upgrade
51
52### 1.3.3
53- ApolloLink upgrade
54- Allow graphql results to fire even if there is a network error
55
56### 1.3.2
57- Update to graphql@0.12
58
59### 1.3.1
60- export options as named interface [TypeScript]
61- Fix typescript bug with destructuring of parameter in createHttpLink ([#189](https://github.com/apollographql/apollo-link/issues/189))
62
63### 1.3.0
64- changed to initially parsing response as text to improve error handling
65- cleaned up error handling types and added docs
66- changed peer-dependency of apollo-link to actual dependency
67
68### 1.2.0
69- moved to better rollup build
70- support for persisted queries by opting out of sending the query
71
72### v1.1.0
73- support dynamic endpoints using `uri` on the context
74- the request not attaches the raw response as `response` on the context. This can be used to access response headers or more
75
76### v1.0.0
77- official release, not changes
78
79### v0.9.0
80- changed `fetcherOptions` to be `fetchOptions` and added a test for using 'GET' requests
81
82### v0.8.0
83- throw error on empty ExectionResult (missing)
84- support setting credentials, headers, and fetcherOptions in the setup of the link
85- removed sending of context to the server and allowed opt-in of sending extensions