Skip to content

Releases: objectbox/objectbox-generator

v0.12.0

08 Mar 14:10
Compare
Choose a tag to compare
  • objectbox-generator can be run with a path pattern (glob or recursive path style - see objectbox-generator --help) to support entity removal
  • support optional annotation on fields that you want to support NULL value semantics in C and C++; see objectbox-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

13 Nov 14:32
Compare
Choose a tag to compare
  • support specifying an index type with a unique annotation
  • add sync entity annotation
  • accommodate changes in objectbox-c v0.11.0

v0.10.1

25 Aug 12:40
Compare
Choose a tag to compare
  • decrease FlatBuffers minimum version dependency to v1.11.0
  • Go generator support comma in addition to space as a multiple annotation separator

v0.10.0

14 Aug 11:57
Compare
Choose a tag to compare
  • 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

v0.9.1

23 Jun 15:47
Compare
Choose a tag to compare
  • generated code fixes
  • update to objectbox-c v0.9.1

v0.9.0

16 Jun 12:29
Compare
Choose a tag to compare
  • first public release
  • supports C & C++ code generation