Skip to content

Commit 4996b7a

Browse files
Update C library [4.1.0 -> 4.2.0]
1 parent 2f3ca9d commit 4996b7a

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

dev-doc/updating-c-library.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ 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.1.0
22+
./tool/set-c-version.sh 4.2.0
2323
```
2424

2525
```text
26-
* Flutter for Linux/Windows, Dart Native: update to [objectbox-c 4.1.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.1.0).
26+
* Update database runtime library for Flutter for Linux/Windows, Dart Native to [4.2.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.2.0).
2727
```
2828

2929
```text
30-
Update C library [4.0.2 -> 4.1.0]
30+
Update C library [4.1.0 -> 4.2.0]
3131
```
3232

3333
### Android

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.1.0)
47+
set(OBJECTBOX_VERSION 4.2.0)
4848

4949
set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
5050
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
@@ -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.1.0)
53+
set(OBJECTBOX_VERSION 4.2.0)
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.1.0
8+
cLibVersion=4.2.0
99
os=$(uname)
1010
cLibArgs="$*"
1111

objectbox/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Examples: demos are compatible with JDK 21 included with Android Studio Ladybug or later, require
55
Flutter SDK 3.24 (with Dart SDK 3.5) or newer.
66
* Requires at least Dart SDK 3.4 or Flutter SDK 3.22.
7+
* Update database runtime library for Flutter for Linux/Windows, Dart Native to [4.2.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.2.0).
78

89
## 4.1.0 (2025-02-04)
910

sync_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.1.0)
47+
set(OBJECTBOX_VERSION 4.2.0)
4848

4949
set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
5050
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
@@ -50,7 +50,7 @@ set(objectbox_sync_flutter_libs_bundled_libraries
5050
# ----------------------------------------------------------------------
5151
# Download and add objectbox-c prebuilt library.
5252

53-
set(OBJECTBOX_VERSION 4.1.0)
53+
set(OBJECTBOX_VERSION 4.2.0)
5454

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

0 commit comments

Comments
 (0)