File tree Expand file tree Collapse file tree 13 files changed +805
-237
lines changed Expand file tree Collapse file tree 13 files changed +805
-237
lines changed Original file line number Diff line number Diff line change 11ObjectBox C and C++ API Changelog
22=================================
33
4+ 0.17.0 (2022-06-14)
5+ -------------------
6+ * Added a "weak store" API providing weak reference for stores (typically used by background threads)
7+ * Added Store ID API, e.g. getting a store by its ID
8+ * Various internal improvements including minor optimizations for binary size and performance
9+
10+ ### C++
11+
12+ * New "OBX_CPP_FILE" define to place declarations in a single .cpp/.cc file: improves compilation time and results
13+ * New "Exception" base class for all thrown exceptions
14+ * Various internal improvements, e.g. a "internal" namespace to better distinguish from userland API
15+
4160.16.0 (2022-05-06)
517-------------------
618* Allow UTF-8 for database directories on Windows (available for other platforms before)
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ else ()
3131
3232 function (defineObjectBoxLib VARIANT)
3333 # Configuration updated for each release
34- set (DL_VERSION 0.16 .0)
34+ set (DL_VERSION 0.17 .0)
3535
3636 # Platform detection and other setup
3737 set (DL_URL https://github.com/objectbox/objectbox-c/releases/download)
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ box.put({.text = "Buy milk"});
1717
1818See [ObjectBox C and C++ docs](https://cpp.objectbox.io/) for API details.
1919
20- **Latest version: 0.16 .0** (2022-05-06 ).
20+ **Latest version: 0.17 .0** (2022-06-14 ).
2121See [changelog](CHANGELOG.md) for more details.
2222
2323Feature Highlights
Original file line number Diff line number Diff 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.16 .0}
47+ version=${1:- 0.17 .0}
4848os=${2:- $(uname)}
4949arch=${3:- $(uname -m)}
5050echo " Base config: OS ${os} and architecture ${arch} "
Original file line number Diff line number Diff line change 33ObjectBox C and C++ API Changelog
44=================================
55
6+ 0.17.0 (2022-06-14)
7+ -------------------
8+ * Added a "weak store" API providing weak reference for stores (typically used by background threads)
9+ * Added Store ID API, e.g. getting a store by its ID
10+ * Various internal improvements including minor optimizations for binary size and performance
11+
12+ ### C++
13+
14+ * New "OBX_CPP_FILE" define to place declarations in a single .cpp/.cc file: improves compilation time and results
15+ * New "Exception" base class for all thrown exceptions
16+ * Various internal improvements, e.g. a "internal" namespace to better distinguish from userland API
17+
6180.16.0 (2022-05-06)
719-------------------
820* Allow UTF-8 for database directories on Windows (available for other platforms before)
Original file line number Diff line number Diff 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.16 .0"
41+ PROJECT_NUMBER = "0.17 .0"
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
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ void do_action_help(char* program_path) {
159159//--------------------------------------------------------------------------------------------------------------------
160160
161161int do_action_new (OBX_store * store , int argc , char * argv []) {
162- char * text = NULL ;
162+ char * text = "n/a" ;
163163 void * buff = NULL ;
164164 size_t size = 0 ;
165165 OBX_txn * txn = NULL ;
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17+ #define OBX_CPP_FILE
1718#include " tasklist-example-app.hpp"
1819
19-
2020using namespace obx ;
2121
2222int main (int argc, char * argv[]) {
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17+ #define OBX_CPP_FILE
1718#include " tasklist-example-app.hpp"
1819
1920int main (int argc, char * argv[]) {
Original file line number Diff line number Diff line change 3434#include "objectbox.h"
3535
3636#if defined(static_assert ) || defined(__cplusplus )
37- static_assert (OBX_VERSION_MAJOR == 0 && OBX_VERSION_MINOR == 16 && OBX_VERSION_PATCH == 0 ,
37+ static_assert (OBX_VERSION_MAJOR == 0 && OBX_VERSION_MINOR == 17 && OBX_VERSION_PATCH == 0 ,
3838 "Versions of objectbox.h and objectbox-sync.h files do not match, please update" );
3939#endif
4040
You can’t perform that action at this time.
0 commit comments