Skip to content

Commit 431d26d

Browse files
committed
Version 4.0.3
1 parent ae135a5 commit 431d26d

File tree

10 files changed

+31
-22
lines changed

10 files changed

+31
-22
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
ObjectBox C and C++ API Changelog
22
=================================
33

4+
4.0.3 (2024-11-05)
5+
------------------
6+
* CMake Integration with ObjectBox Generator 4.0.0
7+
48
4.0.2 (2024-10-15)
59
------------------
610
* Made closing the store more robust; e.g. it waits for ongoing queries and transactions to finish

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ else ()
4949

5050
function(defineObjectBoxLib VARIANT)
5151
# Configuration updated for each release
52-
set(DL_VERSION 4.0.2)
52+
set(DL_VERSION 4.0.3)
5353

5454
# Platform detection and other setup
5555
set(DL_URL https://github.com/objectbox/objectbox-c/releases/download)
@@ -104,7 +104,7 @@ else ()
104104
if(NOT DEFINED ObjectBoxGenerator_CMAKE_VERSION OR ObjectBoxGenerator_CMAKE_VERSION STREQUAL "")
105105
# The default version is a specific version that "matches" the ObjectBox library version of this repo.
106106
# Nevertheless, it's often possible to use a newer Generator version as breaking changes are infrequent.
107-
set(ObjectBoxGenerator_CMAKE_VERSION "v4.0.0-beta")
107+
set(ObjectBoxGenerator_CMAKE_VERSION "v4.0.0")
108108
endif ()
109109
set(OBX_GEN_DL_URL https://raw.githubusercontent.com/objectbox/objectbox-generator/${ObjectBoxGenerator_CMAKE_VERSION}/cmake/FindObjectBoxGenerator.cmake)
110110

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ box.put({.text = "Buy milk"});
1818
1919
See [ObjectBox C and C++ docs](https://cpp.objectbox.io/) for API details.
2020
21-
**Latest version: 4.0.2** (2024-10-15).
21+
**Latest version: 4.0.3** (2024-11-04).
2222
See [changelog](CHANGELOG.md) for more details.
2323
2424
## Table of Contents:
@@ -27,8 +27,8 @@ See [changelog](CHANGELOG.md) for more details.
2727
- [C++ API](#c-api)
2828
- [Examples](#examples)
2929
- [Documentation](#documentation)
30-
- [Current state / Changelog](#current-state--changelog)
31-
- [Supported platforms](#supported-platforms)
30+
- [Current state / Changelog](#changelogupdating)
31+
- [Supported platforms](#supported-platforms)
3232
- [C API as the Foundation for Higher Languages](#c-api-as-the-foundation-for-higher-languages)
3333
- [Other languages/bindings](#other-languagesbindings)
3434
- [How can I help ObjectBox?](#how-can-i-help-objectbox)
@@ -99,25 +99,26 @@ Documentation
9999
* [include/objectbox.hpp](include/objectbox.hpp) - C++ API header file contains docs as code comments
100100
* [C and C++ API reference docs](https://objectbox.io/docfiles/c/current/) - online HTML docs (Doxygen)
101101
102-
Current state / Changelog
103-
-------------------------
104-
The C API is a thin wrapper around a robust DB core, which is version 3.x and already used on millions of devices.
105-
106-
**Beta notice:** the C API will become stable starting from version 1.0.
107-
Until then, API improvements may result in breaking changes. For example, functions may still be renamed.
102+
Changelog/Updating
103+
------------------
104+
Please refer to the **[Changelog](CHANGELOG.md)** for the latest updates and changes.
105+
We are (mostly) following [Semantic Versioning](https://semver.org/).
108106
109-
**[Changelog](CHANGELOG.md):** If you update from a previous version, please check the [changelog](CHANGELOG.md).
110-
Besides new features, there may be breaking changes requiring modifications to your code.
107+
If you update from a previous version, please also check the changelog.
111108
112-
### Supported platforms:
109+
Supported platforms
110+
-------------------
113111
* Linux 64-bit
114112
* Linux ARMv6hf (e.g. Raspberry PI Zero)
115113
* Linux ARMv7hf (e.g. Raspberry PI 3/4)
116-
* Linux ARMv8/AArch64 (e.g. Raspberry PI 3/4 with a 64 bit OS like Ubuntu)
117-
* MacOS 64-bit
114+
* Linux ARMv8/AArch64 (e.g. Raspberry PI 3/4 with a 64-bit OS like Ubuntu)
115+
* macOS 64-bit
118116
* Windows 32-bit
119117
* Windows 64-bit
120118
119+
Note that e.g. our Android SDK (part of [another repo](https://github.com/objectbox/objectbox-java))
120+
also exposes the C API, so you can use ObjectBox in your Android NDK projects.
121+
121122
C API as the Foundation for Higher Languages
122123
--------------------------------------------
123124
The plain C API (without the Generator) also serves as a basis for ObjectBox bindings in higher languages.

download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ tty -s || quiet=true
4444

4545
# Note: optional arguments like "--quiet" shifts argument positions in the case block above
4646

47-
version=${1:-4.0.2}
47+
version=${1:-4.0.3}
4848
os=${2:-$(uname)}
4949
arch=${3:-$(uname -m)}
5050
echo "Base config: OS ${os} and architecture ${arch}"

doxygen/Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
ObjectBox C and C++ API Changelog
44
=================================
55

6+
4.0.3 (2024-11-05)
7+
------------------
8+
* CMake Integration with ObjectBox Generator 4.0.0
9+
610
4.0.2 (2024-10-15)
711
------------------
812
* Made closing the store more robust; e.g. it waits for ongoing queries and transactions to finish

doxygen/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "ObjectBox C and C++ API"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = "4.0.2"
41+
PROJECT_NUMBER = "4.0.3"
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

include/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 == 0 && OBX_VERSION_PATCH == 2, // NOLINT
37+
static_assert(OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 0 && OBX_VERSION_PATCH == 3, // NOLINT
3838
"Versions of objectbox.h and objectbox-sync.h files do not match, please update");
3939
#endif
4040

include/objectbox-sync.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "objectbox-sync.h"
2020
#include "objectbox.hpp"
2121

22-
static_assert(OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 0 && OBX_VERSION_PATCH == 2, // NOLINT
22+
static_assert(OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 0 && OBX_VERSION_PATCH == 3, // NOLINT
2323
"Versions of objectbox.h and objectbox-sync.hpp files do not match, please update");
2424

2525
namespace obx {

include/objectbox.h

Lines changed: 1 addition & 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 0
56-
#define OBX_VERSION_PATCH 2 // values >= 100 are reserved for dev releases leading to the next minor/major increase
56+
#define OBX_VERSION_PATCH 3 // values >= 100 are reserved for dev releases leading to the next minor/major increase
5757

5858
//----------------------------------------------
5959
// Common types

include/objectbox.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include <optional>
3737
#endif
3838

39-
static_assert(OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 0 && OBX_VERSION_PATCH == 2, // NOLINT
39+
static_assert(OBX_VERSION_MAJOR == 4 && OBX_VERSION_MINOR == 0 && OBX_VERSION_PATCH == 3, // NOLINT
4040
"Versions of objectbox.h and objectbox.hpp files do not match, please update");
4141

4242
#ifdef __clang__

0 commit comments

Comments
 (0)