Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 2.05 KB

CHANGELOG.md

File metadata and controls

59 lines (48 loc) · 2.05 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Fixed

  • SuspendCache did not handle the exception in Single

Added

  • Add rxjava Observable for invalidate and update cache notify
      fun subscribeInvalidate(channel: Observable<K>)
      fun <T : Any> subscribeInvalidate(channel: Observable<T>, transformer: (T) -> K)
      fun <T : Any> subscribeUpdate(channel: Observable<T>, transformer: (T) -> Pair<K, V>)
      fun unsubscribe(channel: Observable<*>)
      // for loading cache
      fun subscribeUpdate(channel: Observable<K>)

Changed

  • QuinineCache changes to Cache
  • QuinineLoadingCache changes to LoadingCache
  • QuinineCacheStats changes to CacheStats

0.2.0 - 2020-06-09

Changed

  • the coroutine cache get method changes to suspend function
  • the mapping function of coroutine cache changes to suspend function

0.1.0 - 2020-06-05

Added

  • Copy and adapt the document from Caffeine for reactive part
  • Reactive test case

Changed

  • gradle rootProject.name change from Quinine to quinine
  • K of cache<K, V> now have an upper bounding to Any, make sure not null

Fixed

  • import name error of rxQuinineLoadingCache in Quinine.kt
  • the logic of getAllPresent and testGetAll in test case

0.0.1 - 2020-06-05

Added

  • Coroutine style QuinineCache
  • Reactive style QuinineCache
  • Copy and adapt the document from Caffeine for coroutine part