Skip to content

4.0.4

Compare
Choose a tag to compare
@agrosner agrosner released this 09 Jun 18:31
· 617 commits to master since this release
  1. Even better Kotlin support. if a field is not null in Kotlin or using the android.support.annotation.NonNull/org.jetbrains.annotations.NotNull annotation, we will not attempt to assign a null value on it when the Cursor contains a null value. Primitives always did this of course, but now its expanded to any time.
  2. Fixed a bug by throwing a compiler error if you reference another class in another package that has package private fields, yet its not annotated with @Table, @ModelView, or @QueryModel. You must make it public or getter/setter private.
  3. Fix nullable Float fields not compiling.
  4. Add BigIntegerConverter to the lib!
  5. Fix issue where primary keys of a reference@PrimaryKey has the same name as the calling table, i.e. both having id as a column name in the generated ModelAdapter code.
  6. Fix issue where generated @ManyToMany referenced tables that had primary keys with TypeConverter not properly calling typeconverter, leading to compile errors.
  7. Fix issue where a table with cachingEnabled=true with a stubbedRelationship table where the object that calls load called the same instance from the cache (effectively not doing anything), and did not reload its fields from the DB.
  8. More bug fixes + improvements.