All Versions
24
Latest Version
Avg Release Cycle
48 days
Latest Release
651 days ago

Changelog History
Page 1

  • v3.2.0

    March 05, 2018
    • New: Add query(SupportSQLiteQuery) method for one-off queries.
  • v3.1.1

    February 12, 2018
    • Fix: Useless BuildConfig classes are no longer included.
    • Fix: Eliminate Java interop checks for Kotlin extensions as they're only for Kotlin consumers and the checks exist in the Java code they delegate to anyway.
  • v3.1.0

    December 18, 2017
    • New: inTransaction Kotlin extension function which handles starting, marking successful, and ending a transaction.
    • New: Embedded lint check which validates the number of arguments passed to query and createQuery match the number of expected arguments of the SQL statement.
    • Fix: Properly indent multi-line SQL statements in the logs for query.
  • v3.0.0

    November 29, 2017

    Group ID has changed to com.squareup.sqlbrite3.

    • New: Build on top of the Android architecture components Sqlite support library. This allows swapping out the underlying Sqlite implementation to that of your choosing.

    👍 Because of the way the Sqlite support library works, there is no interop bridge between 1.x or 2.x to ⬆️ this new version. If you haven't fully migrated to 2.x, complete that migration first and then upgrade to 3.x all at once.

  • v2.0.0

    July 07, 2017

    Group ID has changed to com.squareup.sqlbrite2.

    • New: RxJava 2.x support. Backpressure is no longer supported as evidenced by the use of Observable. If you want to slow down query notifications based on backpressure or another metric like time then you should apply those operators yourself.
    • New: mapToOptional for queries that return 0 or 1 rows.
    • New: sqlbrite-kotlin module provides mapTo* extension functions for Observable<Query>.
    • New: sqlbrite-interop module allows bridging 1.x and 2.x libraries together so that notifications from each trigger queries from the other.

    👍 Note: This version only supports RxJava 2.

  • v1.1.2

    June 30, 2017
    • Internal architecture changes to support the upcoming 2.0 release and a bridge allowing both 1.x and 2.x to be used at the same time.
  • v1.1.1

    December 20, 2016
    • Fix: Correct spelling of getWritableDatabase() to match SQLiteOpenHelper.
  • v1.1.0

    December 16, 2016
    • New: Expose getReadableDatabase() and getWriteableDatabase() convenience methods.
    • Fix: Do not cache instances of the readable and writable database internally as the framework does this by default.
  • v1.0.0

    December 02, 2016
    • RxJava dependency updated to 1.2.3.
    • Restore @WorkerThread annotations to methods which do I/O. If you're using Java 8 with Retrolambda or Jack you need to use version 2.3 or newer of the Android Gradle plugin to have these annotations correctly handled by lint.
  • v0.8.0

    October 21, 2016
    • New: A Transformer<Query, Query> can be supplied which is applied to each returned observable.
    • New: newNonExclusiveTransaction() starts transactions in IMMEDIATE mode. See the platform or SQLite documentation for more information.
    • New: APIs for insert/update/delete which allow providing a compiled SQLiteStatement.