5.0.0-alpha1
Pre-release
Pre-release
- Rename package name for project to
com.dbflow5
. Some significant package reorganization that makes much more sense going forward. - Project is back under my account! To include, please replace uses of "com.github.raizlabs.dbflow:" to "com.github.agrosner.dbflow:" in project dependencies.
- Added new
paging
,coroutines
,contentprovider
(splits out use into separate module). Expect alivedata
module in next couple releases. Removed RXJava 1 support. - Library is now 100% KOTLIN! (except generated java code, which can't quite yet be Kotlin). All kotlin-extensions modules have rolled into their java counterpart as a single Kotlin unit.
- Simplifications in API for Transactions to eliminate redundancies. Also, now Transaction require a type parameter R which is return value. They now return a value, and have a completion() callback. All interfaces have rolled into Kotlin Typealias to methods.
- All sqlite query language infix (LINQ-style) methods rolled into the query language!
- Attempted to keep java compatibility and nice API. If anything is missing, please file a bug.
save()
now use ainsert or replace
statement rather than a load of the model from the db and then inserting / saving based on that, resulting in significant performance increase.- no more
ContentValues
used at all in any CRUD operations under the hood, and by default these don't get generated:bindToInsertValues
,bindToContentValues
. if you need them, set@Table(generateContentValues = true)
. - Breaking Change: By default
@Table(allFields = true)
, meaning you dont have to explicitly mark each property as part of DB. Previously you had to use@Column
everywhere.