Skip to content

Commit 5f15053

Browse files
Merge branch 'database-release-4.3.1' into 'main'
Update database libraries [4.3.0 -> 4.3.1] See merge request objectbox/objectbox-dart!108
2 parents 5d9cf22 + 713dda4 commit 5f15053

File tree

19 files changed

+50
-35
lines changed

19 files changed

+50
-35
lines changed

dev-doc/updating-c-library.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,37 +19,37 @@ for the binding update script (see below) and
1919
for Flutter (`flutter_libs` and `sync_flutter_libs` plugins) on Linux and Windows:
2020

2121
```bash
22-
./tool/set-c-version.sh 4.3.0
22+
./tool/set-c-version.sh 4.3.1
2323
```
2424

2525
```text
26-
* Update ObjectBox database for Flutter Linux/Windows, Dart Native apps to [4.3.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.3.0).
26+
* Update ObjectBox database for Flutter Linux/Windows, Dart Native apps to [4.3.1](https://github.com/objectbox/objectbox-c/releases/tag/v4.3.1).
2727
```
2828

2929
```text
30-
Update C library [4.2.0 -> 4.3.0]
30+
Update C library [4.3.0 -> 4.3.1]
3131
32-
Includes database 4.3.0-2025-05-12
32+
Includes database 4.3.1-2025-07-28
3333
```
3434

3535
### Android
3636

3737
For the Flutter plugins on Android ([view releases](https://github.com/objectbox/objectbox-java/releases)):
3838

3939
```bash
40-
./tool/set-android-version.sh 4.3.0
40+
./tool/set-android-version.sh 4.3.1
4141
```
4242

4343
```text
44-
* Update ObjectBox database for Flutter Android apps to 4.3.0.
44+
* Update ObjectBox database for Flutter Android apps to 4.3.1.
4545
If your project is [using Admin](https://docs.objectbox.io/data-browser#admin-for-android), make
46-
sure to update to `io.objectbox:objectbox-android-objectbrowser:4.3.0` in `android/app/build.gradle`.
46+
sure to update to `io.objectbox:objectbox-android-objectbrowser:4.3.1` in `android/app/build.gradle`.
4747
```
4848

4949
```text
50-
Update Android library [4.2.0 -> 4.3.0]
50+
Update Android library [4.3.0 -> 4.3.1]
5151
52-
Includes C API 4.3.0 and database 4.3.0-2025-05-12
52+
Includes C API 4.3.1 and database 4.3.1-2025-08-02
5353
```
5454

5555
Note: the embedded C API and ObjectBox version can be looked up
@@ -60,18 +60,18 @@ from the relevant objectbox repository release tag (like `java-4.1.0`).
6060
For the Flutter plugins on iOS/macOS ([view releases](https://github.com/objectbox/objectbox-swift/releases))
6161

6262
```bash
63-
./tool/set-swift-version.sh 4.3.0
63+
./tool/set-swift-version.sh 4.4.1
6464
```
6565

6666
```text
67-
* Update ObjectBox database for Flutter iOS/macOS apps to 4.3.0.
67+
* Update ObjectBox database for Flutter iOS/macOS apps to 4.3.1.
6868
For existing projects, run `pod repo update` and `pod update ObjectBox` in the `ios` or `macos` directories.
6969
```
7070

7171
```text
72-
Update macOS/iOS library [4.2.0 -> 4.3.0]
72+
Update macOS/iOS library [4.3.0 -> 4.4.1]
7373
74-
Includes C API 4.3.0 and database 4.3.0-2025-05-12
74+
Includes C API 4.3.1 and database 4.3.1-2025-08-02
7575
```
7676

7777
Note: the embedded C API and ObjectBox version can be looked up
@@ -98,5 +98,5 @@ Then manually:
9898
- Commit as
9999

100100
```text
101-
Update C-API [4.2.0 -> 4.3.0]
101+
Update C-API [4.3.0 -> 4.3.1]
102102
```

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:4.3.0"
55+
implementation "io.objectbox:objectbox-android:4.3.1"
5656
}
5757
}

flutter_libs/ios/objectbox_flutter_libs.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818
s.source_files = 'Classes/**/*'
1919

2020
s.dependency 'Flutter'
21-
s.dependency 'ObjectBox', '4.3.0'
21+
s.dependency 'ObjectBox', '4.4.1'
2222

2323
# Flutter.framework does not contain a i386 slice.
2424
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

flutter_libs/linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE PkgConfig::GTK)
4444
# ----------------------------------------------------------------------
4545
# Download and add objectbox-c prebuilt library.
4646

47-
set(OBJECTBOX_VERSION 4.3.0)
47+
set(OBJECTBOX_VERSION 4.3.1)
4848

4949
set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
5050
if (${OBJECTBOX_ARCH} MATCHES "x86_64")

flutter_libs/macos/objectbox_flutter_libs.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818
s.source_files = 'Classes/**/*'
1919

2020
s.dependency 'FlutterMacOS'
21-
s.dependency 'ObjectBox', '4.3.0'
21+
s.dependency 'ObjectBox', '4.4.1'
2222

2323
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2424
s.swift_version = '5.3'

flutter_libs/windows/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ set(objectbox_flutter_libs_bundled_libraries
5050
# ----------------------------------------------------------------------
5151
# Download and add objectbox-c prebuilt library.
5252

53-
set(OBJECTBOX_VERSION 4.3.0)
53+
set(OBJECTBOX_VERSION 4.3.1)
5454

5555
set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
5656
if (${OBJECTBOX_ARCH} MATCHES "AMD64")

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -eu
55
# It's important that the generated dart bindings and the c-api library version match. Dart won't error on C function
66
# signature mismatch, leading to obscure memory bugs.
77
# For how to upgrade the version see dev-doc/updating-c-library.md
8-
cLibVersion=4.3.0
8+
cLibVersion=4.3.1
99
os=$(uname)
1010
cLibArgs="$*"
1111

objectbox/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
## latest
22

3+
* Update ObjectBox database for Flutter Linux/Windows, Dart Native apps to [4.3.1](https://github.com/objectbox/objectbox-c/releases/tag/v4.3.1).
4+
* Update ObjectBox database for Flutter Android apps to 4.3.1.
5+
For Admin: do not display values twice. [#738](https://github.com/objectbox/objectbox-dart/issues/738)
6+
If your project is [using Admin](https://docs.objectbox.io/data-browser#admin-for-android), make
7+
sure to update to `io.objectbox:objectbox-android-objectbrowser:4.3.1` in `android/app/build.gradle`.
8+
* Update ObjectBox database for Flutter iOS/macOS apps to 4.3.1.
9+
For existing projects, run `pod repo update` and `pod update ObjectBox` in the `ios` or `macos` directories.
10+
311
## 4.3.0 (2025-05-28)
412

513
* Update ObjectBox database for Flutter Linux/Windows, Dart Native apps to [4.3.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.3.0).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ dependencies {
8383
// Add the Android library with ObjectBox Admin only for debug builds.
8484
// Note: when the objectbox package updates, check if the Android
8585
// library below needs to be updated as well.
86-
debugImplementation("io.objectbox:objectbox-android-objectbrowser:4.3.0")
86+
debugImplementation("io.objectbox:objectbox-android-objectbrowser:4.3.1")
8787
}

objectbox/lib/src/native/bindings/bindings.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ ObjectBoxC? _tryObjectBoxLibFile() {
9696
// libraries.
9797
// Library | C API | Database
9898
// ------------------------|-------|-----------------
99-
// C library 4.3.0 | 4.3.0 | 4.3.0-2025-05-12
100-
// Android library 4.3.0 | 4.3.0 | 4.3.0-2025-05-12
101-
// macOS/iOS library 4.3.0 | 4.3.0 | 4.3.0-2025-05-12
99+
// C library 4.3.1 | 4.3.1 | 4.3.1-2025-07-28
100+
// Android library 4.3.1 | 4.3.1 | 4.3.1-2025-08-02
101+
// macOS/iOS library 4.4.1 | 4.3.1 | 4.3.1-2025-08-02
102102
var _obxCminMajor = 4;
103103
var _obxCminMinor = 3;
104-
var _obxCminPatch = 0;
104+
var _obxCminPatch = 1;
105105
// Require minimum database version guaranteeing actual C API availability.
106-
var _obxDatabaseMinVersion = "4.3.0-2025-05-12";
106+
var _obxDatabaseMinVersion = "4.3.1-2025-07-28";
107107

108108
bool _isSupportedVersion(ObjectBoxC obxc) {
109109
// Require a minimum C API version

0 commit comments

Comments
 (0)