Releases: objectbox/objectbox-generator
Releases · objectbox/objectbox-generator
ObjectBox Generator v5.0.0
C/C++
- Support for external name and type annotations
- Add the new vector distance type "Geo"
- Bump the CMake min version to 3.5 for compatibility with CMake 4.x
Go
- Support for external name and type annotations
TypeScript/JavaScript
- Releasing a preview of JavaScript code generation, which can be used with the ObjectBox TS/JS library
v4.0.0
C++ improvements
- ObjectBox Generator is now integrated with CMake.
You can now useadd_obx_schema()directly from your C++ project.
For details, check the Generator documentation page. - Support for float vector properties and HNSW vector search indexing
- The generator is now statically linked for Linux making the executable usable from more distributions
v4.0.0-beta
See 4.0.0 final for release notes
v0.14.0
General improvements
- Update FlatBuffers to v23.5.26
C++ improvements
- The
-cppCLI parameter now defaults to (at least) C++14 output, e.g. now generatesstd::make_unique() - Added new mode
-cpp11for C++11 output (C++11 stays the minimal supported version) - New CLI parameters
-empty-string-as-nulland-nan-as-nullto 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-generatorcan be run with a path pattern (glob or recursive path style - seeobjectbox-generator --help) to support entity removal- support
optionalannotation on fields that you want to supportNULLvalue semantics in C and C++; seeobjectbox-generator --helpto 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_MetaInfoa 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