ObjectBox embedded database v3.0.0-alpha1 Release Notes

Release Date: 2020-03-09 // about 4 years ago
  • Note: this is a preview release. Future releases may add, change or remove APIs.

    • 📚 A new Query API provides support for nested AND and OR conditions. See the documentation for examples and notable changes. #201
    • ✅ Subscriptions now publish results in serial instead of in parallel (using a single thread vs. multiple threads per publisher). Publishing in parallel could previously lead to outdated results getting delivered after the latest results. As a side-effect transformers now run in serial instead of in parallel as well (on the same single thread per publisher). #793
    • 0️⃣ Turn on incremental annotation processing by default. #620

    🚀 To use this release change the version of objectbox-gradle-plugin to 3.0.0-alpha1 and add a dependency on objectbox-java version 3.0.0-alpha1.

    buildscript { dependencies { classpath "io.objectbox:objectbox-gradle-plugin:3.0.0-alpha1" } } dependencies { implementation "io.objectbox:objectbox-java:3.0.0-alpha1"// Artifacts with native code remain at 2.5.1. implementation "io.objectbox:objectbox-android:2.5.1"}
    

    🍎 The objectbox-android, objectbox-linux, objectbox-macos and objectbox-windows artifacts shipping native code remain at version 2.5.1 as there have been no changes. However, if your project explicitly depends on them they will pull in version 2.5.1 of objectbox-java. Make sure to add an explicit dependency on of objectbox-java version 3.0.0-alpha1 as mentioned above.