Skip to content

3.0.0-beta3

Pre-release
Pre-release
Compare
Choose a tag to compare
@agrosner agrosner released this 10 Feb 18:24
· 1524 commits to master since this release
  1. Fixes issue where ForeignKeyContainer were actually loading their counterpart Model and then converting into toModelContainer(), which eliminated any performance gains from them.
  2. Can manually pass in DatabaseWrapper to any query statement, this becomes extremely useful in Migration classes when recursive calls to getWritableDatabase() throws an exception.
  3. @Table(allFields = true) now includes private fields. If you wish to ignore those, add @ColumnIgnore to your table.
  4. Error messaging for private fields without proper getters and setters.
  5. Fix a few bugs where @PrimaryKey and @ForeignKey are Model or ModelContainer objects.
  6. added a @ManyToMany annotation to facilitate super-easy code-gen of association tables.
  7. Default values of columns are respected for non-primitive, non-model types by insertion directly into their ModelAdapter methods when saving to the DB.
  8. Many bug fixes and improvements
  9. @TableEndpoint now looks for contentProvider() class instead of String name. Just point it to your class.
  10. Added unsafe query checking in ContentProvider, since new safe checking is very limited.
  11. Fixed issue where InsertConflict was ignored in SQLiteStatement for inserting.