Skip to content

Commit a2a13df

Browse files
committed
Release 4.0.0
1 parent d7dee55 commit a2a13df

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# ObjectBox Generator
77

8-
Current version: 4.0.0-beta
8+
Current version: 4.0.0
99

1010
ObjectBox is a superfast cross-platform object-oriented database.
1111
ObjectBox Generator produces code for ObjectBox C, C++ and Go APIs (more languages to be supported in the future).
@@ -36,9 +36,10 @@ Build notes:
3636
To get started, have a look at the specific language bindings (the approaches differ):
3737

3838
* C and C++ [repository](https://github.com/objectbox/objectbox-c) and [docs](https://cpp.objectbox.io/).
39-
In summary, you define a FlatBuffers schema file, and the ObjectBox Generator will create plain C++ data classes
40-
and helper classes that "glue" the data classes to the ObjectBox runtime library.
41-
CMake users can also use the convenient add_obx_schema() task instead of using the generator executable directly.
39+
* CMake users use `add_obx_schema()` task to configure and invoke the generator at build time.
40+
* Non-CMake users can run the generator directly.
41+
In summary, you define a FlatBuffers schema file, and the ObjectBox Generator will create plain C++ data classes
42+
and helper classes that "glue" the data classes to the ObjectBox runtime library.
4243
* Go [repository](https://github.com/objectbox/objectbox-go) and [docs](https://golang.objectbox.io/).
4344
Here, you start with Go data structs, for which the Generator generates the glue code directly.
4445

cmake/FindObjectBoxGenerator.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Generated headers and sources are written to the sub-directories ``ObjectBoxGene
128128
option(OBX_GENERATOR_ALLOW_FETCH "Opt-in automatic download and prepare for local execution" ON)
129129

130130
# Updated by maintainer to latest available version:
131-
set(ObjectBoxGenerator_FETCH_VERSION 4.0.0-beta) # Note: must be safe for filename
131+
set(ObjectBoxGenerator_FETCH_VERSION 4.0.0) # Note: must be safe for filename
132132
# Using the version in the directories used for the generator executable to cleanly support multiple versions.
133133
# This is e.g. relevant when updating to ensure fetching the new version.
134134
set(ObjectBoxGenerator_FETCH_DIR ${CMAKE_BINARY_DIR}/ObjectBoxGenerator-download/${ObjectBoxGenerator_FETCH_VERSION}/fetch)

internal/generator/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535
)
3636

3737
// Version specifies the current generator version.
38-
const Version = "4.0.0-beta"
38+
const Version = "4.0.0"
3939

4040
// VersionId specifies the current generator version identifier.
4141
// It is used to validate generated code compatibility and is increased when there are changes in the generated code.

0 commit comments

Comments
 (0)