Skip to content

5.3.0

Latest

Choose a tag to compare

@greenrobot-team greenrobot-team released this 11 Mar 06:22
· 1 commit to main since this release
  • Gradle plugin: to apply the plugin, it is no longer necessary to add a manual mapping of the plugin ID in your projects Gradle settings file. This was resolved by publishing Gradle plugin marker artifacts. #960
  • Gradle plugin: it is no longer necessary to apply the plugin after the dependencies block when manually including ObjectBox dependencies.
  • Update database libraries for Android and JVM to database version 5.2.0-next-2026-03-10
  • (Minor) performance improvements of HNSW vector search on Linux ARM targets

Sync

  • Sync protocol version 10
  • SyncClient: support updating filter variables. After login, stage updates using put and remove, then schedule to send them to the server with applyFilterVariables().
  • Update client sync filters variables when online
  • Clients report errors to the server

Migration instructions

Drop the Gradle plugin ID mapping

If your settings.gradle.kts or settings.gradle file contains lines similar to:

pluginManagement {
    repositories {
        mavenCentral()
    }
    
    resolutionStrategy {
        eachPlugin {
            if (requested.id.id == "io.objectbox") {
                useModule("io.objectbox:objectbox-gradle-plugin:${requested.version}")
            }
        }
    }
}

Update them to remove the plugin mapping configuration:

pluginManagement {
    repositories {
        mavenCentral()
    }
}

Apply the plugin using plugins syntax

If your build scripts are applying the plugin after the dependencies block similar to:

dependencies {
    // ...  
} 

apply(plugin = "io.objectbox")

Change them to apply the plugin using plugins syntax:

plugins {
    id("io.objectbox")
}

dependencies {
    // ...  
}