Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 2.4 KB

CHANGELOG.md

File metadata and controls

66 lines (46 loc) · 2.4 KB

Next version (unreleased)

PUT_CHANGELOG_HERE

Version 0.0.9

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 cache
    • com.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 of ApolloClient.store for consistency. (#127)

  • ApolloClient.apolloStore now returns a SimpleApolloStore, a wrapper around ApolloStore that doesn't need a CustomScalarAdapters to be passed to read/write methods. (#123)

Version 0.0.8

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 of String, 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.

Version 0.0.7

2025-03-03

  • Store errors in the cache, and remove storePartialResponses() (#96)

Version 0.0.6

2025-02-11

  • Add ApolloStore.ALL_KEYS to notify all watchers (#87)
  • Support partial responses from the cache (#57)

Version 0.0.5

2024-12-18

Version 0.0.4

2024-11-07

  • Cache control support (see the documentation for details)
  • Compatibility with the IntelliJ plugin cache viewer (#42)
  • For consistency, MemoryCacheFactory and MemoryCache are now in the com.apollographql.cache.normalized.memory package
  • Remove deprecated symbols
  • Add IdCacheKeyGenerator and IdCacheKeyResolver (#41)
  • Add ApolloStore.writeOptimisticUpdates API for fragments (#55)

Version 0.0.3

2024-09-20

Tweaks to the ApolloResolver API: resolveField() now takes a ResolverContext

Version 0.0.2

2024-07-08

Update to Apollo Kotlin 4.0.0-rc.1

Version 0.0.1

2024-06-20

Initial release