File tree Expand file tree Collapse file tree 12 files changed +127
-16
lines changed Expand file tree Collapse file tree 12 files changed +127
-16
lines changed Original file line number Diff line number Diff line change 1
1
ObjectBox C and C++ API Changelog
2
2
=================================
3
3
4
+ 4.2.0 (2025-03-04)
5
+ ------------------
6
+ * Extended the model by external names and types:
7
+ allows defining a different name for an external database, which ObjectBox syncs with.
8
+
9
+ This prepares upcoming features for our [ MongoDB Sync Connector] ( https://sync.objectbox.io/mongodb-sync-connector ) .
10
+
4
11
4.1.0 (2025-01-28)
5
12
------------------
6
13
* New query conditions for map properties (via flex properties):
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ else ()
49
49
50
50
function (defineObjectBoxLib VARIANT)
51
51
# Configuration updated for each release
52
- set (DL_VERSION 4.1 .0)
52
+ set (DL_VERSION 4.2 .0)
53
53
54
54
# Platform detection and other setup
55
55
set (DL_URL https://github.com/objectbox/objectbox-c/releases/download)
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ box.put({.text = "Buy milk"});
18
18
19
19
See [ObjectBox C and C++ docs](https://cpp.objectbox.io/) for API details.
20
20
21
- **Latest version: 4.1 .0** (2025-01-28 ).
21
+ **Latest version: 4.2 .0** (2025-03-04 ).
22
22
See [changelog](CHANGELOG.md) for more details.
23
23
24
24
## Table of Contents:
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ tty -s || quiet=true
44
44
45
45
# Note: optional arguments like "--quiet" shifts argument positions in the case block above
46
46
47
- version=${1:- 4.1 .0}
47
+ version=${1:- 4.2 .0}
48
48
os=${2:- $(uname)}
49
49
arch=${3:- $(uname -m)}
50
50
echo " Base config: OS ${os} and architecture ${arch} "
Original file line number Diff line number Diff line change 3
3
ObjectBox C and C++ API Changelog
4
4
=================================
5
5
6
+ 4.2.0 (2025-03-04)
7
+ ------------------
8
+ * Extended the model by external names and types:
9
+ allows defining a different name for an external database, which ObjectBox syncs with.
10
+
11
+ This prepares upcoming features for our [ MongoDB Sync Connector] ( https://sync.objectbox.io/mongodb-sync-connector ) .
12
+
6
13
4.1.0 (2025-01-28)
7
14
------------------
8
15
* New query conditions for map properties (via flex properties):
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ PROJECT_NAME = "ObjectBox C and C++ API"
38
38
# could be handy for archiving the generated documentation or if some version
39
39
# control system is used.
40
40
41
- PROJECT_NUMBER = "4.1 .0"
41
+ PROJECT_NUMBER = "4.2 .0"
42
42
43
43
# Using the PROJECT_BRIEF tag one can provide an optional one line description
44
44
# for a project that appears at the top of each page and should give viewer a
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ add_subdirectory(c-gen)
3
3
add_subdirectory (cpp-gen)
4
4
add_subdirectory (cpp-gen-sync)
5
5
6
- find_package (ObjectBoxGenerator 4.0.0)
6
+ # Since core project is also using this CMakeLists.txt and it did not fetch the ObjectBoxGenerator, find it quietly.
7
+ find_package (ObjectBoxGenerator 4.0.0 QUIET )
7
8
# Some platforms such as Linux ARM(64) and Windows ARM(64) are not supported.
8
9
# We exclude this example for these cases where the generator was not found.
9
10
if (ObjectBoxGenerator_FOUND)
10
11
add_subdirectory (cpp-autogen)
11
12
else ()
12
- message (WARNING "Did not add all examples, as the ObjectBoxGenerator CMake was not found" )
13
+ message (STATUS "Did not add all examples, as the ObjectBoxGenerator CMake was not found" )
13
14
endif ()
14
15
add_subdirectory (vectorsearch-cities)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ add_executable(${PROJECT_NAME}
5
5
main.cpp
6
6
)
7
7
8
- # add_obx_schema provided by ObjectBoxGenerator package.
8
+ # add_obx_schema provided by ObjectBoxGenerator package, which is fetched in one of the parent CMakeLists.txt files .
9
9
add_obx_schema(TARGET ${PROJECT_NAME} SCHEMA_FILES tasklist.fbs INSOURCE)
10
10
11
11
set_target_properties (${PROJECT_NAME} PROPERTIES
Original file line number Diff line number Diff line change 34
34
#include "objectbox.h"
35
35
36
36
#if defined(static_assert ) || defined(__cplusplus )
37
- static_assert (OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 1 && OBX_VERSION_PATCH == 0 , // NOLINT
37
+ static_assert (OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 2 && OBX_VERSION_PATCH == 0 , // NOLINT
38
38
"Versions of objectbox.h and objectbox-sync.h files do not match, please update" );
39
39
#endif
40
40
Original file line number Diff line number Diff line change 19
19
#include " objectbox-sync.h"
20
20
#include " objectbox.hpp"
21
21
22
- static_assert (OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 1 && OBX_VERSION_PATCH == 0 , // NOLINT
22
+ static_assert (OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 2 && OBX_VERSION_PATCH == 0 , // NOLINT
23
23
" Versions of objectbox.h and objectbox-sync.hpp files do not match, please update" );
24
24
25
25
namespace obx {
You can’t perform that action at this time.
0 commit comments