Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Releases: anupcowkur/Reservoir

v3.1.0

03 Aug 11:58
Compare
Choose a tag to compare
  • Fixes a bug (#37) where RxJava was not an optional dependency
  • Changes public API to use actionUsingObservable format for Rx variants of methods to avoid confusion with regular Async methods that use AsyncTasks. For example, Rx variant of getAsyncis now getUsingObservable.

v3.0.0

25 Jun 09:53
Compare
Choose a tag to compare
  • RxJava is now a provided dependency. This means that Reservoir will not include come bundled with it by default saving you a lot of unnecessary methods if you don't want to use RxJava.
  • Apache Commons IO dependency is now removed reducing the method count significantly.

v2.1

15 Aug 10:47
Compare
Choose a tag to compare
  • Adds support for collections. Now you can pass in your custom type to easily store and retrieve collections.
  • Adds support for custom GSON instance. You can now initialize Reservoir with your own GSON instance with custom configurations.

v2.0

02 Jun 17:20
Compare
Choose a tag to compare
  • RxJava support.
  • Added clear and clearAsync methods to the public API. These methods completely clear the cache and delete all the stored key-value pairs.
  • Added tests.
  • Moved distribution from Maven Central to JitPack.
  • Reservoir now uses a separate cache directory inside the application specific cache directory to store data.
  • Fix: If init is not called before calling any other methods, an IllegalStateException is thrown.
  • Fix: reservoir now checks if size of object being inserted is greater than cache size and throws and IOException if it is.
  • Fix: removed allowBackup from manifest.

v1.2

01 Jun 14:23
Compare
Choose a tag to compare
  • Added delete and deleteAsync.
  • Removed launcher icons and renamed resources to prevent conflicts with app that uses lib.
  • Fix: typos in java docs.
  • Fix: get and getAsync would not throw NullPointerException if the returned object was null.

v1.1.1

01 Jun 14:21
Compare
Choose a tag to compare

Removed local jar dependencies for DiskLruCache, GSON and Commons IO and added gradle dependencies in the library.

v1.1

01 Jun 14:20
Compare
Choose a tag to compare

Added onSuccess() and onFailure() callback methods so that clients don't have to check if exception is null each time.

v1.0

01 Jun 14:18
Compare
Choose a tag to compare

Initial release.