Skip to content

Commit f7c8dca

Browse files
Prepare release 5.3.0
1 parent 28d003e commit f7c8dca

File tree

4 files changed

+73
-7
lines changed

4 files changed

+73
-7
lines changed

CHANGELOG.md

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,78 @@ Notable changes to the ObjectBox Java library.
44

55
For more insights into what changed in the database libraries, [check the ObjectBox C changelog](https://github.com/objectbox/objectbox-c/blob/main/CHANGELOG.md).
66

7-
## Next release
7+
## 5.3.0 - 2026-03-10
8+
9+
- Gradle plugin: to apply the plugin, it is no longer necessary to add a manual mapping of the plugin ID in your
10+
projects Gradle settings file. This was resolved by publishing Gradle plugin marker artifacts.
11+
[#960](https://github.com/objectbox/objectbox-java/issues/960)
12+
- Gradle plugin: it is no longer necessary to apply the plugin after the dependencies block when manually including
13+
ObjectBox dependencies.
14+
- (Minor) performance improvements of HNSW vector search on Linux ARM targets
815

916
### Sync
1017

18+
- Sync protocol version 10
1119
- SyncClient: support updating filter variables. After login, stage updates using put and remove, then schedule to send
1220
them to the server with `applyFilterVariables()`.
21+
- Update client sync filters variables when online
22+
- Clients report errors to the server
23+
24+
### Migration instructions
25+
26+
#### Drop the Gradle plugin ID mapping
27+
28+
If your `settings.gradle.kts` or `settings.gradle` file contains lines similar to:
29+
30+
```kotlin
31+
pluginManagement {
32+
repositories {
33+
mavenCentral()
34+
}
35+
36+
resolutionStrategy {
37+
eachPlugin {
38+
if (requested.id.id == "io.objectbox") {
39+
useModule("io.objectbox:objectbox-gradle-plugin:${requested.version}")
40+
}
41+
}
42+
}
43+
}
44+
```
45+
46+
Update them to remove the plugin mapping configuration:
47+
48+
```kotlin
49+
pluginManagement {
50+
repositories {
51+
mavenCentral()
52+
}
53+
}
54+
```
55+
56+
#### Apply the plugin using plugins syntax
57+
58+
If your build scripts are applying the plugin after the dependencies block similar to:
59+
60+
```kotlin
61+
dependencies {
62+
// ...
63+
}
64+
65+
apply(plugin = "io.objectbox")
66+
```
67+
68+
Change them to apply the plugin using plugins syntax:
69+
70+
```kotlin
71+
plugins {
72+
id("io.objectbox")
73+
}
74+
75+
dependencies {
76+
// ...
77+
}
78+
```
1379

1480
## 5.2.0 - 2026-02-16
1581

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ agp = "AGP_VERSION"
151151
kotlin = "KOTLIN_VERSION"
152152

153153
# Define a variable for the version of the ObjectBox plugin
154-
objectbox = "5.2.0"
154+
objectbox = "5.3.0"
155155

156156
[plugins]
157157
# For an Android project, using Android Gradle Plugin 9.0 or newer
@@ -251,7 +251,7 @@ Your project can now use ObjectBox, continue by [defining entity classes](https:
251251

252252
plugins {
253253
// Add the ObjectBox plugin
254-
id("io.objectbox") version "5.2.0" apply false
254+
id("io.objectbox") version "5.3.0" apply false
255255
}
256256
```
257257

@@ -283,7 +283,7 @@ dependencyResolutionManagement {
283283

284284
buildscript {
285285
// Define a variable for the ObjectBox plugin version
286-
val objectboxVersion by extra("5.2.0")
286+
val objectboxVersion by extra("5.3.0")
287287

288288
repositories {
289289
// Add Maven Central to the plugin repositories
@@ -313,7 +313,7 @@ allprojects {
313313
314314
buildscript {
315315
// Define a variable for the ObjectBox plugin version
316-
ext.objectboxVersion = "5.2.0"
316+
ext.objectboxVersion = "5.3.0"
317317
318318
repositories {
319319
// Add Maven Central to the plugin repositories

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ plugins {
2020
buildscript {
2121
// Version of Maven artifacts
2222
// Should only be changed as part of the release process, see the release checklist in the objectbox repo
23-
val versionNumber = "5.2.1"
23+
val versionNumber = "5.3.0"
2424

2525
// Release mode should only be enabled when manually triggering a CI pipeline,
2626
// see the release checklist in the objectbox repo.

objectbox-java/src/main/java/io/objectbox/BoxStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class BoxStore implements Closeable {
8282
* ReLinker uses this as a suffix for the extracted shared library file. If different, it will update it. Should be
8383
* unique to avoid conflicts.
8484
*/
85-
public static final String JNI_VERSION = "5.1.1-2026-02-18";
85+
public static final String JNI_VERSION = "5.2.0-2026-03-10";
8686

8787
/**
8888
* The ObjectBox database version this Java library is known to work with.

0 commit comments

Comments
 (0)