Skip to content

Commit

Permalink
Prepare release 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot committed Jan 30, 2025
1 parent 5748abe commit a980f70
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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: "-<value>" or "" if not defined; e.g. used by CI to pass in branch name
val versionPostFixValue = project.findProperty("versionPostFix")
Expand Down
4 changes: 2 additions & 2 deletions objectbox-java/src/main/java/io/objectbox/BoxStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)}. */
Expand Down

0 comments on commit a980f70

Please sign in to comment.