Skip to content

Commit b16331c

Browse files
Update objectbox-android [3.8.0 -> 4.0.0]
Bundled with C API 4.0.0 and core 4.0.0-2024-05-14
1 parent 4e5db10 commit b16331c

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

dev-doc/updating-c-library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ for Flutter (`flutter_libs` and `sync_flutter_libs` plugins) on Linux and Window
1414

1515
For the Flutter plugins on Android ([view releases](https://github.com/objectbox/objectbox-java/releases)):
1616
```
17-
./tool/set-android-version.sh 3.8.0
17+
./tool/set-android-version.sh 4.0.0
1818
```
1919

2020
For the Flutter plugins on iOS/macOS ([view releases](https://github.com/objectbox/objectbox-swift/releases))

flutter_libs/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ android {
5252
// ObjectBox Android library that includes an ObjectBox C library version compatible with
5353
// the C API binding of the ObjectBox Dart package.
5454
// https://central.sonatype.com/search?q=g:io.objectbox%20objectbox-android
55-
implementation "io.objectbox:objectbox-android:3.8.0"
55+
implementation "io.objectbox:objectbox-android:4.0.0"
5656
}
5757
}

objectbox/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
[Vector Search documentation](https://docs.objectbox.io/ann-vector-search).
3737
* The generator correctly errors when using an index on any vector type.
3838
* Flutter for Linux/Windows, Dart Native: update to [objectbox-c 4.0.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.0.0).
39+
* Flutter for Android: update to [objectbox-android 4.0.0](https://github.com/objectbox/objectbox-java/releases/tag/V4.0.0).
40+
If you are [using Admin](https://docs.objectbox.io/data-browser#admin-for-android), make sure to
41+
update to `io.objectbox:objectbox-android-objectbrowser:4.0.0` in `android/app/build.gradle`.
3942

4043
## 2.5.1 (2024-03-04)
4144

objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ dependencies {
8282
// Add objectbox-android-objectbrowser only for debug builds.
8383
// Warning: when objectbox_flutter_libs updates check if version
8484
// needs update, e.g. check https://github.com/objectbox/objectbox-dart/releases.
85-
debugImplementation("io.objectbox:objectbox-android-objectbrowser:3.8.0")
85+
debugImplementation("io.objectbox:objectbox-android-objectbrowser:4.0.0")
8686
}

sync_flutter_libs/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ android {
5252
// ObjectBox Android library that includes an ObjectBox C library version compatible with
5353
// the C API binding of the ObjectBox Dart package.
5454
// https://central.sonatype.com/search?q=g:io.objectbox%20objectbox-sync-android
55-
implementation "io.objectbox:objectbox-sync-android:3.8.0"
55+
implementation "io.objectbox:objectbox-sync-android:4.0.0"
5656
}
5757
}

0 commit comments

Comments
 (0)