Releases: objectbox/objectbox-generator
Releases · objectbox/objectbox-generator
v4.0.0-beta
C++ improvements
- Integration with CMake via Find Module featuring
add_obx_schema
helper function. - Support for Float Vectors and HNSW Vector-Search Indexing
v4.0.0-alpha3
Pre-release
(updated module path)
v4.0.0-alpha2
Pre-release v4.0.0-alpha2
v4.0.0-alpha1
Pre-release alpha 1
v4.0.0-alpha0
Pre-release alpha 0
v0.15.0-alpha1
Test pre-release version 2
v0.15.0-alpha0
This is a test pre-release alpha 0 to 0.15.0.
v0.14.0
General improvements
- Update FlatBuffers to v23.5.26
C++ improvements
- The
-cpp
CLI parameter now defaults to (at least) C++14 output, e.g. now generatesstd::make_unique()
- Added new mode
-cpp11
for C++11 output (C++11 stays the minimal supported version) - New CLI parameters
-empty-string-as-null
and-nan-as-null
to persist "special values" as null in the database - Fixes to generated code that fills a given object with DB values: strings, vectors, and optional members are now properly reset on null values
- Update catch2 to
2.13.10
v0.13.0
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