v1.0.0-alpha.4
-
Add browser JS support to
normalized-cache-sqlite(#177)With this change,
NormalizedCache/CacheManager/ApolloStoreAPIs are nowsuspend. -
Add
ApolloClient.Builder.cache()extension generation (#181)This generates a convenience
cache()extension which configures theCacheKeyGenerator,MetadataGenerator,CacheResolver, andRecordMergerbased
on the type policies, connection types, and max ages configured in the schema:val apolloClient = ApolloClient.Builder() // ... .cache(cacheFactory = /*...*/) .build()
-
Add ability to control clock used for received and expiration dates, for tests (#189)
-
[Breaking] Disable optimistic updates by default (#190)
To use optimistic updates, apps must now opt in, by passing
enableOptimisticUpdates = trueto thenormalizedCachemethod. This was done as an optimization on native targets.