Skip to content

Commit 9515333

Browse files
Update C library [4.3.1 -> 5.0.0-rc]
Includes database 5.0.0-2025-09-27
1 parent f22ea11 commit 9515333

File tree

8 files changed

+14
-10
lines changed

8 files changed

+14
-10
lines changed

dev-doc/updating-c-library.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ 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.1
22+
./tool/set-c-version.sh 5.0.0-rc
2323
```
2424

2525
```text
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).
26+
* Update ObjectBox database for Flutter Linux/Windows, Dart Native apps to [5.0.0-rc](https://github.com/objectbox/objectbox-c/releases/tag/v5.0.0-rc).
2727
```
2828

2929
```text
30-
Update C library [4.3.0 -> 4.3.1]
30+
Update C library [4.3.1 -> 5.0.0-rc]
3131
32-
Includes database 4.3.1-2025-07-28
32+
Includes database 5.0.0-2025-09-27
3333
```
3434

3535
### Android

flutter_libs/linux/CMakeLists.txt

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

50-
set(OBJECTBOX_VERSION 4.3.1)
50+
set(OBJECTBOX_VERSION 5.0.0-rc)
5151

5252
set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
5353
if (${OBJECTBOX_ARCH} MATCHES "x86_64")

flutter_libs/windows/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ set(objectbox_flutter_libs_bundled_libraries
5656
# ----------------------------------------------------------------------
5757
# Download and add objectbox-c prebuilt library.
5858

59-
set(OBJECTBOX_VERSION 4.3.1)
59+
set(OBJECTBOX_VERSION 5.0.0-rc)
6060

6161
set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
6262
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.1
8+
cLibVersion=5.0.0-rc
99
os=$(uname)
1010
cLibArgs="$*"
1111

objectbox/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
* Flutter packages are compiled with Android SDK 35 to support Android Gradle Plugin 8.13
44
[#755](https://github.com/objectbox/objectbox-dart/issues/755). They are also built using a
55
language level of Java 11.
6+
* Update ObjectBox database for Flutter Linux/Windows, Dart Native apps to [5.0.0-rc](https://github.com/objectbox/objectbox-c/releases/tag/v5.0.0-rc).
7+
* ToOne relations: when deleting an object with an ID larger than the maximum 32-bit unsigned
8+
integer (`4_294_967_295`) that is used as the target object of a ToOne, correctly re-set the
9+
target ID of the ToOne to `0`. [#740](https://github.com/objectbox/objectbox-dart/issues/740)
610

711
## 4.3.1 (2025-09-02)
812

sync_flutter_libs/linux/CMakeLists.txt

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

50-
set(OBJECTBOX_VERSION 4.3.1)
50+
set(OBJECTBOX_VERSION 5.0.0-rc)
5151

5252
set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
5353
if (${OBJECTBOX_ARCH} MATCHES "x86_64")

sync_flutter_libs/windows/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ set(objectbox_sync_flutter_libs_bundled_libraries
5656
# ----------------------------------------------------------------------
5757
# Download and add objectbox-c prebuilt library.
5858

59-
set(OBJECTBOX_VERSION 4.3.1)
59+
set(OBJECTBOX_VERSION 5.0.0-rc)
6060

6161
set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
6262
if (${OBJECTBOX_ARCH} MATCHES "AMD64")

tool/update-c-binding.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# copies the header files, makes some required modifications
66
# and runs the ffigen binding generator on them.
77

8-
cLibVersion=4.3.1
8+
cLibVersion=5.0.0-rc
99
echo "Downloading C library source files from GitHub..."
1010

1111
# Note: the release archives do not contain objectbox-dart.h, so get the full sources.

0 commit comments

Comments
 (0)