Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@nikitin-da nikitin-da released this 21 Dec 11:52
· 15 commits to master since this release
2559bcf
  • RxJava2 support 🎉🎉🎉
  • Add asRxMaybe().
  • executeSQL() now can be executed via asRxCompletable().
  • Add interceptors for ContentResolver.
  • Add ContentResolver sample.
  • Android gradle plugin 3.0.1 and support libraries 27.0.2.
  • Mockito 2.13.0 and Mockito-Kotlin 1.5.0.
  • Add gradle versions plugin.
  • Table generation with few primary keys.
  • Do not publish jar for android modules.

Migration notes:

  • asRxObservable -> asRxFlowable (see backpressure 2.0).
  • Get object asRxFlowable() and asRxSingle return Optional of object because RxJava2 no longer accepts nulls.
  • You can use asRxMaybe to retrieve value without wrapping.
  • PreparedOperation takes 3 parameters: Result - type of operation result; WrappedResult - Optional in cases when result may be null, result itself otherwise; Data - some operation description that can be used inside interceptor.
  • You can call DefaultStorIOContentResolver.Builder#addInterceptor(Interceptor) to log/debug/modify result of any operation (like it was implemented before in DefaultStorIOSQLite).

Changes:

  • PR 844: Override Travis install step to avoid unnecessary ./gradlew assemble.
  • PR 845: RxJava2 base support.
  • PR 848: Optional for SQLite.
  • PR 849: Optional for ContentResolver.
  • PR 850: Add ContentResolver sample.
  • PR 854: Table generation with few primary keys.
  • PR 856: Rewrite optional usage to allow Maybe implementation.
  • PR 857: Support io.reactivex.Maybe.
  • PR 858: Rename package to storio3.
  • PR 861: Fix maven url, update version.
  • PR 862: Android gradle plugin 3.0.1.
  • PR 864: Add interceptors for ContentResolver.
  • PR 865: Add gradle versions plugin.
  • PR 866: Mockito 2.13.0 and Mockito-Kotlin 1.5.0.
  • PR 867: Kotlin 1.2.0.
  • PR 870: Do not publish jar for android modules.