V2.6.0
@DefaultValue("")
annotation. Annotated properties will return the specified default value (currently only""
is supported) instead of null. This is useful if a not-null property is added to an entity, but there are existing entities in the database that will return null for the new property.
Note: naming is not final, it may change to e.g.@AbsentValue("")
. #157- RxJava 3 support library
objectbox-rxjava3
. Also includes Kotlin extension functions to more easily obtain Rx types, e.g. usequery.observable()
to get anObservable
. #83 - The annotation processor is incremental by default. #620
- Fix error handling if ObjectBox can't create a Java entity (the proper exception is now thrown).
- Support setting an alias after combining conditions using and() or or(). #83
- Add documentation that string property conditions ignore case by default. Point to using case-sensitive conditions for high-performance look-ups, e.g. when using string UIDs.
- Repository Artifacts are signed once again.
Changes since 2.6.0-RC (released on 2020/04/28):
- Performance improvements with query links (aka "joins").
Note: the order of results has changed unless you explicitly specified properties to order by. Remember: you should not depend on any internal order. If you did, this is a good time to fix it. objectbox-java
no longer exposes the greenrobot-essentials and FlatBuffers dependencies to consuming projects.- Minor code improvements.
See the full changelog for more details.