ObjectBox C and C++ 6.0.0 beta
Pre-release
Pre-release
Lead feature: P2P Mesh Sync
- WebAssembly (WASM): the library is now built as part of releases;
also updated the Emscripten toolchain, reducing the binary size significantly - Admin: modernized user interface based on Vue.js 3 and Material Design 3
- Admin: optimized pages now loading faster
- Android: log messages now use the logcat tag "ObjectBox" (previously "Box")
- Breaking: removed previously deprecated functions from the C API:
obx_debug_log()andobx_debug_log_enabled(): useobx_log_level_set()andobx_log_level_get()insteadobx_qb_contains_key_value_string(): useobx_qb_equals_key_value_string()insteadobx_qb_any_equals_string(): useobx_qb_contains_element_string()instead
- Breaking: removed previously deprecated members from the C++ API:
Options(OBX_model*)constructor: useOptions().model(model)insteadStore::debugLog()andStore::debugLogEnabled(): useStore::logLevelSet()andStore::logLevelGet()instead- String vector query condition
contains(): usecontainsElement()instead Sync::client(store, url, credentials): use the builder instead,
e.g.Sync::client(store).url(url).credentials(credentials).build()
- Internal fixes and improvements
Sync
- New Mesh Sync API: peer-to-peer (P2P) synchronization between sync clients without a central server
- C: configure via
obx_mesh_opt_*()andobx_sync_opt_mesh();
access the running mesh viaobx_sync_mesh()andobx_mesh_*() - C++: new
MeshOptionsandMeshclasses,SyncBuilder::mesh()andSyncClient::mesh()
- C: configure via
- C++: fixed
SyncClient::removeFilterVariable()removing all filter variables instead of the given one - C++: fixed registering a
SyncClientErrorListener(the error callback was bound to the wrong listener object)
Check also docs for details