Releases: apollographql/apollo-kotlin-normalized-cache
Releases · apollographql/apollo-kotlin-normalized-cache
v0.0.9
Release 0.0.9 (#129)
-
Removing "incubating" from the repository and artifacts name. With a stable API on the horizon, now is a great time to try the library in your projects and give us feedback.
The artifacts are now:com.apollographql.cache:normalized-cache
for the memory cachecom.apollographql.cache:normalized-cache-sqlite
for the SQL cache.
The package names are unchanged.
-
Records are now rooted per operation type (QUERY_ROOT, MUTATION_ROOT, SUBSCRIPTION_ROOT) (#109)
-
ApolloClient.apolloStore
is deprecated in favor ofApolloClient.store
for consistency. (#127) -
ApolloClient.apolloStore
now returns aSimpleApolloStore
, a wrapper aroundApolloStore
that doesn't need aCustomScalarAdapters
to be passed to read/write methods. (#123)
v0.0.8
v0.0.8
- Storage binary format is changed to be a bit more compact
- Add
ApolloStore.trim()
to remove old data from the cache CacheKey
is used in more APIs instead ofString
, for consistency.ApolloCacheHeaders.EVICT_AFTER_READ
is removed.ApolloStore.remove()
can be used instead.NormalizedCache.remove(pattern: String)
is removed. Please open an issue if you need this feature back.
v0.0.7
v0.0.6
v0.0.5
- Add Garbage Collection support (see the documentation for details)
v0.0.4
- Cache control support (see the documentation for details)
- Compatibility with the IntelliJ plugin cache viewer (#42)
- For consistency,
MemoryCacheFactory
andMemoryCache
are now in thecom.apollographql.cache.normalized.memory
package - Remove deprecated symbols
- Add
IdCacheKeyGenerator
andIdCacheKeyResolver
(#41) - Add
ApolloStore.writeOptimisticUpdates
API for fragments (#55)
v0.0.3
v0.0.2
Update CHANGELOG.md