apollo-cache-inmemory
Advanced tools
Changelog
Apollo Cache In-Memory (1.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. <br/>
PR #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. <br/>
PR #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. <br/>
PR #4245
Changelog
Apollo Cache In-Memory (1.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. <br/> PR #4319
The RecordingCache
abstraction has been removed, and thus is no longer
exported from apollo-cache-inmemory
. <br/>
PR #4319
Export the optimism wrap
function using ES2015 export syntax, instead of
CommonJS. <br/>
@ardatan in #4158