Skip to content

v1.0.0-alpha.4

Latest
Compare
Choose a tag to compare
@BoD BoD released this 30 Jun 12:28
· 6 commits to main since this release
5ece1f1
  • Add browser JS support to normalized-cache-sqlite (#177)

    With this change, NormalizedCache/CacheManager/ApolloStore APIs are now suspend.

  • Add ApolloClient.Builder.cache() extension generation (#181)

    This generates a convenience cache() extension which configures the CacheKeyGenerator, MetadataGenerator, CacheResolver, and RecordMerger based
    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 = true to the normalizedCache method. This was done as an optimization on native targets.