3.0.0
This release incorporates a host and slew of improvements. A large chunk of the library has been rewritten, reworked, and improved significantly.
New Features
- Properties: Instead of generated column
String
names,Property
simplify queries even further and provide type-safety. - Transactions Rewritten: Transactions have been rewritten from the ground-up to provide flexibility, better syntax, and easy customization. You can even swap out the library's system and replace it with your own.
- Database Encryption Support: via SQLCipher enables secure databases with minimal configuration and effort in DBFlow!
- Usage Docs: I rewrote usage docs to be more comprehensive and informative.
- Foreign Keys Simplified: no longer do you have to manually specify
@ForeignKey
references. - Caching with Multiple Primary Keys: Caching now supports multiple primary keys and keys of any supported type.
- Database Modules: DBFlow is supported in multiple application projects via modules. This enables sharing of Databases and their associated files.
- Better Code Generation: Support package private fields from different packages, better error messaging during compile phase, significant code gen improvements, and more.
- Kotlin Extensions Support: Via
dbflow-kotlinextensions
allows you to write better DBFlow code in Kotlin. - New SQLite features supported such as
Case
,CAST
, and more! - Many bug fixes, code comment improvements, code generation improvements, and more.
To read on the basic migration steps, read here