Skip to content

Commit aa59bd0

Browse files
committed
0.18.1
1 parent d97f7c1 commit aa59bd0

File tree

11 files changed

+29
-17
lines changed

11 files changed

+29
-17
lines changed

CHANGELOG.md

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

4+
0.18.1 (2023-01-30)
5+
-------------------
6+
Recommended bugfix release, generally recommended to update.
7+
8+
* Fixes "Could not put (-30786)", which may occur in some corner cases on some platforms.
9+
410
0.18.0 (2022-10-31)
511
-------------------
612
* Date properties can now be tagged as expiration time; which can be then be easily evicted

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ else ()
3131

3232
function(defineObjectBoxLib VARIANT)
3333
# Configuration updated for each release
34-
set(DL_VERSION 0.18.0)
34+
set(DL_VERSION 0.18.1)
3535

3636
# Platform detection and other setup
3737
set(DL_URL https://github.com/objectbox/objectbox-c/releases/download)

README.md

Lines changed: 1 addition & 1 deletion
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: 0.18.0** (2022-10-31).
21+
**Latest version: 0.18.1** (2023-01-30).
2222
See [changelog](CHANGELOG.md) for more details.
2323
2424
## Table of Contents:

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:-0.18.0}
47+
version=${1:-0.18.1}
4848
os=${2:-$(uname)}
4949
arch=${3:-$(uname -m)}
5050
echo "Base config: OS ${os} and architecture ${arch}"

doxygen/Changelog.md

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

6+
0.18.1 (2023-01-30)
7+
-------------------
8+
Recommended bugfix release, generally recommended to update.
9+
10+
* Fixes "Could not put (-30786)", which may occur in some corner cases on some platforms.
11+
612
0.18.0 (2022-10-31)
713
-------------------
814
* Date properties can now be tagged as expiration time; which can be then be easily evicted

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 = "0.18.0"
41+
PROJECT_NUMBER = "0.18.1"
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-dart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021-2022 ObjectBox Ltd. All rights reserved.
2+
* Copyright 2021-2023 ObjectBox Ltd. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

include/objectbox-sync.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2022 ObjectBox Ltd. All rights reserved.
2+
* Copyright 2018-2023 ObjectBox Ltd. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@
3434
#include "objectbox.h"
3535

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

@@ -505,7 +505,7 @@ typedef void OBX_custom_msg_server_func_client_connection_shutdown(void* connect
505505
/// Struct of the custom server function callbacks. In order to implement the custom server, you must provide
506506
/// custom methods for each of the members of this struct. This is then passed to obx_custom_msg_server_register()
507507
/// to register the custom server.
508-
struct OBX_custom_msg_server_functions {
508+
typedef struct OBX_custom_msg_server_functions {
509509
/// Must be initialized with sizeof(OBX_custom_msg_server_functions) to "version" the struct.
510510
/// This allows the library (whi) to detect older or newer versions and react properly.
511511
size_t version;
@@ -518,7 +518,7 @@ struct OBX_custom_msg_server_functions {
518518
OBX_custom_msg_server_func_client_connection_send_async* func_conn_send_async;
519519
OBX_custom_msg_server_func_client_connection_close* func_conn_close;
520520
OBX_custom_msg_server_func_client_connection_shutdown* func_conn_shutdown;
521-
};
521+
} OBX_custom_msg_server_functions;
522522

523523
/// Must be called to register a protocol for a custom messaging server. Call before starting a server.
524524
/// @param protocol the communication protocol to use, e.g. "tcp"
@@ -613,7 +613,7 @@ typedef void OBX_custom_msg_client_func_clear_outgoing_messages(void* client_use
613613
/// Struct of the custom client function callbacks. In order to implement the custom client, you must provide
614614
/// custom methods for each of the members of this struct. This is then passed to obx_custom_msg_client_register()
615615
/// to register the custom client.
616-
struct OBX_custom_msg_client_functions {
616+
typedef struct OBX_custom_msg_client_functions {
617617
/// Must be initialized with sizeof(OBX_custom_msg_client_functions) to "version" the struct.
618618
/// This allows the library to detect older or newer versions and react properly.
619619
size_t version;
@@ -627,7 +627,7 @@ struct OBX_custom_msg_client_functions {
627627
OBX_custom_msg_client_func_shutdown* func_shutdown;
628628
OBX_custom_msg_client_func_send_async* func_send_async;
629629
OBX_custom_msg_client_func_clear_outgoing_messages* func_clear_outgoing_messages;
630-
};
630+
} OBX_custom_msg_client_functions;
631631

632632
/// States of custom msg client that must be forwarded to obx_custom_msg_client_set_state().
633633
typedef enum {

include/objectbox-sync.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2022 ObjectBox Ltd. All rights reserved.
2+
* Copyright 2018-2023 ObjectBox Ltd. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
#include "objectbox-sync.h"
2020
#include "objectbox.hpp"
2121

22-
static_assert(OBX_VERSION_MAJOR == 0 && OBX_VERSION_MINOR == 18 && OBX_VERSION_PATCH == 0, // NOLINT
22+
static_assert(OBX_VERSION_MAJOR == 0 && OBX_VERSION_MINOR == 18 && OBX_VERSION_PATCH == 1, // 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2022 ObjectBox Ltd. All rights reserved.
2+
* Copyright 2018-2023 ObjectBox Ltd. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -53,7 +53,7 @@ extern "C" {
5353
/// obx_version() or obx_version_is_at_least().
5454
#define OBX_VERSION_MAJOR 0
5555
#define OBX_VERSION_MINOR 18
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

0 commit comments

Comments
 (0)