Skip to content

3.0.0

Compare
Choose a tag to compare
@agrosner agrosner released this 28 May 21:18
· 1171 commits to master since this release

This release incorporates a host and slew of improvements. A large chunk of the library has been rewritten, reworked, and improved significantly.
New Features

  1. Properties: Instead of generated column String names, Property simplify queries even further and provide type-safety.
  2. 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.
  3. Database Encryption Support: via SQLCipher enables secure databases with minimal configuration and effort in DBFlow!
  4. Usage Docs: I rewrote usage docs to be more comprehensive and informative.
  5. Foreign Keys Simplified: no longer do you have to manually specify @ForeignKey references.
  6. Caching with Multiple Primary Keys: Caching now supports multiple primary keys and keys of any supported type.
  7. Database Modules: DBFlow is supported in multiple application projects via modules. This enables sharing of Databases and their associated files.
  8. Better Code Generation: Support package private fields from different packages, better error messaging during compile phase, significant code gen improvements, and more.
  9. Kotlin Extensions Support: Via dbflow-kotlinextensions allows you to write better DBFlow code in Kotlin.
  10. New SQLite features supported such as Case, CAST, and more!
  11. Many bug fixes, code comment improvements, code generation improvements, and more.

To read on the basic migration steps, read here