3.0.0-beta6
Pre-release
Pre-release
Ideally this will be the final beta before 3.0 goes live. The next release should incorporate any more bugs or issues found in 3.0, so keep reporting!
This release contains three significant updates:
- Initialization of DBFlow has changed. Now configuration of
ModelAdapter
,@Database
, and other classes can mostly be done through the newFlowConfig.Builder
class. For a simple example, view an example here - The transactions system got a complete and utter overhaul. Welcome the
Transaction.Builder
! EachTransaction
containsSuccess
andError
callbacks for easy listening. See the migration guide for guidance. By default, we no longer use a priority-based queue for transactions. To keep that, read here. You can now also specify and roll your ownITransactionQueue
orBaseTransactionManager
, read up here. - I rewrote the documentation completely for accuracy and for better organization. I hope you like!
Some new features:
- Can now use the
CASE
Operator! `SQLite.
SQLite.select(CaseModel_Table.customerId,
CaseModel_Table.firstName,
CaseModel_Table.lastName,
SQLite.caseWhen(CaseModel_Table.country.eq("USA"))
.then("Domestic")
._else("Foreign").end("CustomerGroup")).from(CaseModel.class);
- Can
Collate.LOCALIZED
andCollate.UNICODE
- Can now
multipliedBy()
,add()
,dividedBy()
,mod()
, andconcatenate()
IProperty
together. - This release contains a number of bug fixes as well here](https://github.com/Raizlabs/DBFlow/issues?q=milestone%3A3.0.0-beta6+is%3Aclosed)