ObjectBox C/C++ database v0.7.0 Release Notes
Release Date: 2019-09-09 // over 4 years ago-
- โ Added observers to listen to data changes (e.g. obx_observe())
- Added obx_last_error_pop() to get and reset the last error
- Added obx_box_rel_get_backlink_ids() to get backlinks of standalone relations
- iOS and macOS related improvements; e.g. obx_posix_sem_prefix_set() for sand-boxed macOS apps
- ๐ Better resilience for passing in NULL for many functions
- ๐ Improved API docs
- Quite a few functions got comments
- Online API docs (Doxygen)
- ๐ Minor fixes
(Breaking) Changes
- obx_txn_success(txn) now also closes the transaction making a subsequent obx_txn_close(txn) unnecessary and illegal.
Please adjust your code using one of two possibilities (depending on your code flow):
- drop
obx_txn_close(txn)
after callingobx_txn_success(txn)
, or - replace
obx_txn_success(txn)
withobx_txn_mark_success(txn, true)
if you want to keepobx_txn_close(txn)
- drop
- Function renames to drop "create" postfix: obx_query_builder(), obx_query(), obx_cursor(), obx_model(), obx_bytes_array(), obx_id_array()
- Property queries API clean up using a OBX_query_prop struct