Skip to content

Commit 713dda4

Browse files
Update C-API [4.3.0 -> 4.3.1]
1 parent 2eb1d46 commit 713dda4

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

dev-doc/updating-c-library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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
```

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

objectbox/lib/src/native/bindings/objectbox-sync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "objectbox.h"
3535

3636
#if defined(static_assert) || defined(__cplusplus)
37-
static_assert(OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 3 && OBX_VERSION_PATCH == 0, // NOLINT
37+
static_assert(OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 3 && OBX_VERSION_PATCH == 1, // NOLINT
3838
"Versions of objectbox.h and objectbox-sync.h files do not match, please update");
3939
#endif
4040

objectbox/lib/src/native/bindings/objectbox.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ extern "C" {
5353
/// obx_version() or obx_version_is_at_least().
5454
#define OBX_VERSION_MAJOR 4
5555
#define OBX_VERSION_MINOR 3
56-
#define OBX_VERSION_PATCH 0 // values >= 100 are reserved for dev releases leading to the next minor/major increase
56+
#define OBX_VERSION_PATCH 1 // values >= 100 are reserved for dev releases leading to the next minor/major increase
5757

5858
//----------------------------------------------
5959
// Common types
@@ -176,6 +176,10 @@ typedef enum {
176176
/// Enables additional authentication/authorization methods for sync login, e.g. JWT based methods.
177177
OBXFeature_Auth = 17,
178178

179+
/// This is a free trial version; only applies to server builds (no trial builds for database and Sync clients).
180+
OBXFeature_Trial = 18,
181+
182+
179183
} OBXFeature;
180184

181185
/// Checks whether the given feature is available in the currently loaded library.

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10397,6 +10397,9 @@ abstract class OBXFeature {
1039710397

1039810398
/// Enables additional authentication/authorization methods for sync login, e.g. JWT based methods.
1039910399
static const int Auth = 17;
10400+
10401+
/// This is a free trial version; only applies to server builds (no trial builds for database and Sync clients).
10402+
static const int Trial = 18;
1040010403
}
1040110404

1040210405
/// Log level as passed to obx_log_callback.
@@ -11678,7 +11681,7 @@ const int OBX_VERSION_MAJOR = 4;
1167811681

1167911682
const int OBX_VERSION_MINOR = 3;
1168011683

11681-
const int OBX_VERSION_PATCH = 0;
11684+
const int OBX_VERSION_PATCH = 1;
1168211685

1168311686
const int OBX_ID_NEW = -1;
1168411687

0 commit comments

Comments
 (0)