diff --git a/CHANGELOG.md b/CHANGELOG.md index 69ec7060..5dbf3083 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,13 +4,19 @@ Notable changes to the ObjectBox Java library. For more insights into what changed in the ObjectBox C++ core, [check the ObjectBox C changelog](/~https://github.com/objectbox/objectbox-c/blob/main/CHANGELOG.md). -## Unreleased +## 4.1.0 - 2025-01-30 -- Android: require Android 5.0 (API level 21) or higher. -- JVM: ObjectBox might crash on Windows when creating a BoxStore. To resolve this, make sure to update your JDK to the - latest patch release (8.0.432+6, 11.0.25+9, 17.0.13+11 and 21.0.5+11-LTS are known to work). - Vector Search: add new `VectorDistanceType.GEO` distance type to perform vector searches on geographical coordinates. This is particularly useful for location-based applications. +- Android: require Android 5.0 (API level 21) or higher. +- Note on Windows JVM: We've seen crashes on Windows when creating a BoxStore on some JVM versions. + If this should happen to you, make sure to update your JVM to the latest patch release + (8.0.432+6, 11.0.25+9, 17.0.13+11 and 21.0.5+11-LTS are known to work). + +### Sync + +- Add JWT authentication +- Sync clients can now send multiple credentials for login ## 4.0.3 - 2024-10-15 diff --git a/README.md b/README.md index ae7c3363..d6880252 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ For Android projects, add the ObjectBox Gradle plugin to your root `build.gradle ```groovy buildscript { - ext.objectboxVersion = "4.0.3" + ext.objectboxVersion = "4.1.0" repositories { mavenCentral() } diff --git a/build.gradle.kts b/build.gradle.kts index 1c850cad..c7fdee7f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,9 +14,9 @@ plugins { buildscript { // To publish a release, typically, only edit those two: - val objectboxVersionNumber = "4.0.4" // without "-SNAPSHOT", e.g. "2.5.0" or "2.4.0-RC" + val objectboxVersionNumber = "4.1.0" // without "-SNAPSHOT", e.g. "2.5.0" or "2.4.0-RC" val objectboxVersionRelease = - false // set to true for releasing to ignore versionPostFix to avoid e.g. "-dev" versions + true // set to true for releasing to ignore versionPostFix to avoid e.g. "-dev" versions // version post fix: "-" or "" if not defined; e.g. used by CI to pass in branch name val versionPostFixValue = project.findProperty("versionPostFix") diff --git a/objectbox-java/src/main/java/io/objectbox/BoxStore.java b/objectbox-java/src/main/java/io/objectbox/BoxStore.java index 21b7114a..1ed8142d 100644 --- a/objectbox-java/src/main/java/io/objectbox/BoxStore.java +++ b/objectbox-java/src/main/java/io/objectbox/BoxStore.java @@ -74,10 +74,10 @@ public class BoxStore implements Closeable { public static final String IN_MEMORY_PREFIX = "memory:"; /** ReLinker uses this as a suffix for the extracted shared library file. If different, it will update it. */ - public static final String JNI_VERSION = "4.0.2-2024-10-15"; + public static final String JNI_VERSION = "4.1.0-2025-01-30"; /** The native or core version of ObjectBox the Java library is known to work with. */ - private static final String VERSION = "4.1.0-2025-01-28"; + private static final String VERSION = "4.1.0-2025-01-30"; private static BoxStore defaultStore; /** Currently used DB dirs with values from {@link #getCanonicalPath(File)}. */