PUT_CHANGELOG_HERE
2025-04-09
-
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)
2025-03-28
- 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.
2025-03-03
- Store errors in the cache, and remove
storePartialResponses()
(#96)
2025-02-11
- Add
ApolloStore.ALL_KEYS
to notify all watchers (#87) - Support partial responses from the cache (#57)
2024-12-18
- Add Garbage Collection support (see the documentation for details)
2024-11-07
- 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)
2024-09-20
Tweaks to the ApolloResolver
API: resolveField()
now takes a ResolverContext
2024-07-08
Update to Apollo Kotlin 4.0.0-rc.1
2024-06-20
Initial release