Skip to content

Commit affbf00

Browse files
committed
Release 1.9.0
For 2.0.0 we need the change the module to /v2, including the Generator (postponing this for now).
1 parent 7e2bab9 commit affbf00

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ id, err := box.Put(&Person{ FirstName: "Joe", LastName: "Green" })
3636
Want details? **[Read the docs](https://golang.objectbox.io/)** or
3737
**[check out the API reference](https://godoc.org/github.com/objectbox/objectbox-go/objectbox)**.
3838

39-
Latest release: [v2.0.0 (2025-03-11)](https://golang.objectbox.io/)
39+
Latest release: [v1.9.0 (2025-03-12)](https://golang.objectbox.io/)
4040

4141
## Table of Contents:
4242
- [High-performance Golang database](#high-performance-golang-database)

objectbox/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func (v Version) String() string {
5757
// VersionGo returns the Version of the ObjectBox-Go binding
5858
func VersionGo() Version {
5959
// for label, use `beta.0` format, increasing the counter for each subsequent release
60-
return Version{2, 0, 0, ""}
60+
return Version{1, 9, 0, ""}
6161
}
6262

6363
// VersionLib returns the Version of the dynamic linked ObjectBox library (loaded at runtime)

test/version_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func TestObjectBoxVersionString(t *testing.T) {
5050
func TestExpectedObjectBoxVersion(t *testing.T) {
5151
versionGo := objectbox.VersionGo()
5252
versionGoInt := versionGo.Major*10000 + versionGo.Minor*100 + versionGo.Patch
53-
assert.True(t, versionGoInt >= 20000) // Update with new releases (won't fail if forgotten); e.g. >= V2.0.0
53+
assert.True(t, versionGoInt >= 10900) // Update with new releases (won't fail if forgotten); e.g. >= V2.0.0
5454
assert.True(t, versionGoInt < 30000) // Future next major release; e.g. not yet V3.0.0
5555

5656
versionLib := objectbox.VersionLib()

0 commit comments

Comments
 (0)