apollographql/apollo-client
### [`v1.4.2`](https://togithub.com/apollographql/apollo-client/compare/v1.4.1...v1.4.2)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/v1.4.1...v1.4.2)
### [`v1.4.1`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Cache-In-Memory-141)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/v1.4.0...v1.4.1)
- The `optimism` npm package has been updated to a version (0.6.9) that
provides its own TypeScript declarations, which should fix problems like
[Issue #4327](https://togithub.com/apollographql/apollo-client/issues/4327).
[PR #4331](https://togithub.com/apollographql/apollo-client/pull/4331)
- Error messages involving GraphQL queries now print the queries using
`JSON.stringify` instead of the `print` function exported by the
`graphql` package, to avoid pulling unnecessary printing logic into your
JavaScript bundle.
[PR #4234](https://togithub.com/apollographql/apollo-client/pull/4234)
- The `QueryKeyMaker` abstraction has been removed, meaning that cache
results for non-identical queries (or sub-queries) with equivalent
structure will no longer be cached together. This feature was a nice
optimization in certain specific use cases, but it was not worth the
additional complexity or bundle size.
[PR #4245](https://togithub.com/apollographql/apollo-client/pull/4245)
### [`v1.4.0`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Cache-In-Memory-140)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache-inmemory@1.3.12...v1.4.0)
- The speed and memory usage of optimistic reads and writes has been
improved dramatically using a new layering technique that does not
require copying the non-optimistic contents of the cache.
[PR #4319](https://togithub.com/apollographql/apollo-client/pull/4319/)
- The `RecordingCache` abstraction has been removed, and thus is no longer
exported from `apollo-cache-inmemory`.
[PR #4319](https://togithub.com/apollographql/apollo-client/pull/4319/)
- Export the optimism `wrap` function using ES2015 export syntax, instead of
CommonJS.
[@ardatan](https://togithub.com/ardatan) in [#4158](https://togithub.com/apollographql/apollo-client/pull/4158)
### [`v1.3.12`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Cache-In-Memory-1312)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache-inmemory@1.3.11...apollo-cache-inmemory@1.3.12)
- Avoid using `DepTrackingCache` for optimistic reads.
[PR #4521](https://togithub.com/apollographql/apollo-client/pull/4251)
- When creating an `InMemoryCache` object, it's now possible to disable the
result caching behavior introduced in [#3394](https://togithub.com/apollographql/apollo-client/pull/3394),
either for diagnostic purposes or because the benefit of caching repeated
reads is not worth the extra memory usage in your application:
```ts
new InMemoryCache({
resultCaching: false
})
```
Part of [PR #4521](https://togithub.com/apollographql/apollo-client/pull/4251).
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
1.3.11
->1.4.2
Release Notes
apollographql/apollo-client
### [`v1.4.2`](https://togithub.com/apollographql/apollo-client/compare/v1.4.1...v1.4.2) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v1.4.1...v1.4.2) ### [`v1.4.1`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Cache-In-Memory-141) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v1.4.0...v1.4.1) - The `optimism` npm package has been updated to a version (0.6.9) that provides its own TypeScript declarations, which should fix problems like [Issue #4327](https://togithub.com/apollographql/apollo-client/issues/4327).[PR #4331](https://togithub.com/apollographql/apollo-client/pull/4331) - Error messages involving GraphQL queries now print the queries using `JSON.stringify` instead of the `print` function exported by the `graphql` package, to avoid pulling unnecessary printing logic into your JavaScript bundle.
[PR #4234](https://togithub.com/apollographql/apollo-client/pull/4234) - The `QueryKeyMaker` abstraction has been removed, meaning that cache results for non-identical queries (or sub-queries) with equivalent structure will no longer be cached together. This feature was a nice optimization in certain specific use cases, but it was not worth the additional complexity or bundle size.
[PR #4245](https://togithub.com/apollographql/apollo-client/pull/4245) ### [`v1.4.0`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Cache-In-Memory-140) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache-inmemory@1.3.12...v1.4.0) - The speed and memory usage of optimistic reads and writes has been improved dramatically using a new layering technique that does not require copying the non-optimistic contents of the cache.
[PR #4319](https://togithub.com/apollographql/apollo-client/pull/4319/) - The `RecordingCache` abstraction has been removed, and thus is no longer exported from `apollo-cache-inmemory`.
[PR #4319](https://togithub.com/apollographql/apollo-client/pull/4319/) - Export the optimism `wrap` function using ES2015 export syntax, instead of CommonJS.
[@ardatan](https://togithub.com/ardatan) in [#4158](https://togithub.com/apollographql/apollo-client/pull/4158) ### [`v1.3.12`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Cache-In-Memory-1312) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache-inmemory@1.3.11...apollo-cache-inmemory@1.3.12) - Avoid using `DepTrackingCache` for optimistic reads. [PR #4521](https://togithub.com/apollographql/apollo-client/pull/4251) - When creating an `InMemoryCache` object, it's now possible to disable the result caching behavior introduced in [#3394](https://togithub.com/apollographql/apollo-client/pull/3394), either for diagnostic purposes or because the benefit of caching repeated reads is not worth the extra memory usage in your application: ```ts new InMemoryCache({ resultCaching: false }) ``` Part of [PR #4521](https://togithub.com/apollographql/apollo-client/pull/4251).
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.