Releases: objectbox/objectbox-generator
Releases · objectbox/objectbox-generator
v0.12.0
objectbox-generator
can be run with a path pattern (glob or recursive path style - seeobjectbox-generator --help
) to support entity removal- support
optional
annotation on fields that you want to supportNULL
value semantics in C and C++; seeobjectbox-generator --help
to specify a type for C++ code (std:: optional/shared_ptr/unique_ptr
) - add
id(assignable)
annotation you can use on an ID field if you want to manually set object IDs before inserting (instead of the default auto-increment ID assigned by ObjectBox) - add
sync(sharedGlobalIds)
annotation to disable ID mapping on synced objects - C++ generate code - make
_OBX_MetaInfo
a sub-struct in the generated struct instead of part of the "underscore" class - avoiding potential duplicate symbols
v0.11.0
v0.10.1
v0.10.0
- update to objectbox-c v0.10.0 introducing many new C++ API features
- new generated C & C++ functions simplifying the most common operations
- split generated C++ code to headers (.obx.hpp) and sources (.obx.cpp) - make sure to use in your project and remove the old "-cpp.obx.h"
- support generating Go code moved from objectbox-gogen
- standalone (many-to-many) relation and date-nano annotation support