Skip to content

3.0.0-beta6

Pre-release
Pre-release
Compare
Choose a tag to compare
@agrosner agrosner released this 25 Apr 01:42
· 1277 commits to master since this 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:

  1. Initialization of DBFlow has changed. Now configuration of ModelAdapter, @Database, and other classes can mostly be done through the new FlowConfig.Builder class. For a simple example, view an example here
  2. The transactions system got a complete and utter overhaul. Welcome the Transaction.Builder! Each Transaction contains Success and Error 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 own ITransactionQueue or BaseTransactionManager, read up here.
  3. I rewrote the documentation completely for accuracy and for better organization. I hope you like!

Some new features:

  1. 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);
  1. Can Collate.LOCALIZED and Collate.UNICODE
  2. Can now multipliedBy(), add(), dividedBy(), mod(), and concatenate() IProperty together.
  3. 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)