Releases: agrosner/DBFlow
Releases · agrosner/DBFlow
3.0.0-beta3
- Fixes issue where
ForeignKeyContainer
were actually loading their counterpartModel
and then converting intotoModelContainer()
, which eliminated any performance gains from them. - Can manually pass in
DatabaseWrapper
to any query statement, this becomes extremely useful inMigration
classes when recursive calls togetWritableDatabase()
throws an exception. @Table(allFields = true)
now includes private fields. If you wish to ignore those, add@ColumnIgnore
to your table.- Error messaging for private fields without proper getters and setters.
- Fix a few bugs where
@PrimaryKey
and@ForeignKey
areModel
orModelContainer
objects. - added a
@ManyToMany
annotation to facilitate super-easy code-gen of association tables. - Default values of columns are respected for non-primitive, non-model types by insertion directly into their
ModelAdapter
methods when saving to the DB. - Many bug fixes and improvements
@TableEndpoint
now looks forcontentProvider()
class instead of String name. Just point it to your class.- Added unsafe query checking in
ContentProvider
, since new safe checking is very limited. - Fixed issue where
InsertConflict
was ignored inSQLiteStatement
for inserting.
3.0.0-beta2
- Support for
SQLCipher
database encryption out of the box via a new moduledbflow-sqlcipher
! - Rewrote underlying model loading mechanism via
ModelLoader
, which can be overwritten on a table-by-table basis allowing you to further customize the conversion from databaseCursor
data intoModel
(if needed). Also this removes runtime checking whether object is cacheable or not, for a slight performance improvement. - Renamed
queryClose()
toexecute()
- A bevy of bug fixes
- Merged
OperationalMethod
intoMethod
with logic so it works consistently and as expected.
3.0.0-beta1
Many large updates to the library. Probably the most significant changes since the library was written. Most major changes are here