Skip to content

Releases: objectbox/objectbox-generator

v4.0.0-beta

22 Aug 09:01
Compare
Choose a tag to compare

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

20 Aug 07:58
Compare
Choose a tag to compare
v4.0.0-alpha3 Pre-release
Pre-release

Pre-release

(updated module path)

v4.0.0-alpha2

09 Aug 14:28
Compare
Choose a tag to compare
v4.0.0-alpha2 Pre-release
Pre-release

Pre-release v4.0.0-alpha2

v4.0.0-alpha1

19 Jul 15:32
Compare
Choose a tag to compare
v4.0.0-alpha1 Pre-release
Pre-release

Pre-release alpha 1

v4.0.0-alpha0

19 Jul 09:06
Compare
Choose a tag to compare
v4.0.0-alpha0 Pre-release
Pre-release

Pre-release alpha 0

v0.15.0-alpha1

18 Jul 16:14
Compare
Choose a tag to compare
v0.15.0-alpha1 Pre-release
Pre-release

Test pre-release version 2

v0.15.0-alpha0

17 Jul 14:02
Compare
Choose a tag to compare
v0.15.0-alpha0 Pre-release
Pre-release

This is a test pre-release alpha 0 to 0.15.0.

v0.14.0

04 Mar 16:54
Compare
Choose a tag to compare

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 generates std::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

Getting Started Guide

v0.13.0

01 Apr 09:11
Compare
Choose a tag to compare
  • align to-one relation ID model with other language bindings - don't use "unsigned" annotation
  • add id-companion and date-nano annotations for Go to enable TimeSeries model definition

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