4.0.0
Major new release.
Some of the major changes:
- Code generation significantly reduced. more than ~40% reduction in lines of code. Also order is deterministic and always the same in output.
Condition
->Operator
includingConditionGroup
->OperatorGroup
- Rewrote a lot of annotation processor with KPoet and now 99% Kotlin!
- Much better Kotlin support via
@NonNull
and@Nullable
annotations on most public api methods. - Can supply a different way to notify observers of changes via the new
DirectModelNotifier
or legacyContentResolverNotifier
- Remove
Model
restriction from the library. Classes no longer need to implementModel
. Kotlin consumers can take advantage of extension methods inkotlin-extensions
to make classes act likeModel
. - Latest plugins + Kotlin 1.1.2
PrimaryKey
can have type converters.ForeignKeyContainer
is replaced with@ForeignKey(stubbedRelationship = true)
. UseModel.load()
to get same functionality as before, without the confusion!
10 . RemovedModelContainer
implementation and support. Since removing support, the annotation processor is cleaner and easier to maintain.- Added RXJava1 + 2 support via sub-packages, with corresponding Kotlin extension libraries.
- New documentation website here
- Bug fixes, documentation updates, and more.