UNPKG

3.12 kBMarkdownView Raw
1# CHANGELOG
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-client/blob/master/CHANGELOG.md).
7
8----
9
10### 1.0.16
11
12- Removed unnecessary whitespace from error message
13 [Issue #3398](https://github.com/apollographql/apollo-client/issues/3398)
14 [PR #3593](https://github.com/apollographql/apollo-client/pull/3593)
15
16### 1.0.15
17
18- No changes
19
20### 1.0.14
21
22- Store key names generated by `getStoreKeyName` now leverage a more
23 deterministic approach to handling JSON based strings. This prevents store
24 key names from differing when using `args` like
25 `{ prop1: 'value1', prop2: 'value2' }` and
26 `{ prop2: 'value2', prop1: 'value1' }`.
27 [PR #2869](https://github.com/apollographql/apollo-client/pull/2869)
28- Avoid needless `hasOwnProperty` check in `deepFreeze`.
29 [PR #3545](https://github.com/apollographql/apollo-client/pull/3545)
30
31### 1.0.13
32
33- Make `maybeDeepFreeze` a little more defensive, by always using
34 `Object.prototype.hasOwnProperty` (to avoid cases where the object being
35 frozen doesn't have its own `hasOwnProperty`).
36 [Issue #3426](https://github.com/apollographql/apollo-client/issues/3426)
37 [PR #3418](https://github.com/apollographql/apollo-client/pull/3418)
38- Remove certain small internal caches to prevent memory leaks when using SSR.
39 [PR #3444](https://github.com/apollographql/apollo-client/pull/3444)
40
41### 1.0.12
42
43- Not documented
44
45### 1.0.11
46
47- `toIdValue` helper now takes an object with `id` and `typename` properties
48 as the preferred interface
49 [PR #3159](https://github.com/apollographql/apollo-client/pull/3159)
50- Map coverage to original source
51- Don't `deepFreeze` in development/test environments if ES6 symbols are
52 polyfilled
53 [PR #3082](https://github.com/apollographql/apollo-client/pull/3082)
54- Added ability to include or ignore fragments in `getDirectivesFromDocument`
55 [PR #3010](https://github.com/apollographql/apollo-client/pull/3010)
56
57### 1.0.9
58
59- Dependency updates
60- Added getDirectivesFromDocument utility function
61 [PR #2974](https://github.com/apollographql/apollo-client/pull/2974)
62
63### 1.0.8
64
65- Add client, rest, and export directives to list of known directives
66 [PR #2949](https://github.com/apollographql/apollo-client/pull/2949)
67
68### 1.0.7
69
70- Fix typo in error message for invalid argument being passed to @skip or
71 @include directives
72 [PR #2867](https://github.com/apollographql/apollo-client/pull/2867)
73
74### 1.0.6
75
76- Update `getStoreKeyName` to support custom directives
77
78### 1.0.5
79
80- Package dependency updates
81
82### 1.0.4
83
84- Package dependency updates
85
86### 1.0.3
87
88- Package dependency updates
89
90### 1.0.2
91
92- Improved rollup builds
93
94### 1.0.1
95
96- Added config to remove selection set of directive matches test
97
98### 1.0.0
99
100- Added utilities from hermes cache
101- Added removeDirectivesFromDocument to allow cleaning of client only
102 directives
103- Added hasDirectives to recurse the AST and return a boolean for an array of
104 directive names
105- Improved performance of common store actions by memoizing addTypename and
106 removeConnectionDirective