Skip to content

4.0.0

Compare
Choose a tag to compare
@agrosner agrosner released this 11 May 20:55
· 666 commits to master since this release

Major new release.
Some of the major changes:

  1. Code generation significantly reduced. more than ~40% reduction in lines of code. Also order is deterministic and always the same in output.
  2. Condition -> Operator including ConditionGroup -> OperatorGroup
  3. Rewrote a lot of annotation processor with KPoet and now 99% Kotlin!
  4. Much better Kotlin support via @NonNull and @Nullable annotations on most public api methods.
  5. Can supply a different way to notify observers of changes via the new DirectModelNotifier or legacy ContentResolverNotifier
  6. Remove Model restriction from the library. Classes no longer need to implement Model. Kotlin consumers can take advantage of extension methods in kotlin-extensions to make classes act like Model.
  7. Latest plugins + Kotlin 1.1.2
  8. PrimaryKey can have type converters.
  9. ForeignKeyContainer is replaced with @ForeignKey(stubbedRelationship = true). Use Model.load() to get same functionality as before, without the confusion!
    10 . Removed ModelContainer implementation and support. Since removing support, the annotation processor is cleaner and easier to maintain.
  10. Added RXJava1 + 2 support via sub-packages, with corresponding Kotlin extension libraries.
  11. New documentation website here
  12. Bug fixes, documentation updates, and more.