Skip to content

v0.12.0

Compare
Choose a tag to compare
@vaind vaind released this 08 Mar 14:10
· 154 commits to main since this release
  • 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