Skip to content

Commit

Permalink
1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot committed Jan 27, 2022
1 parent e806fbd commit 85f1cf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ id, err := box.Put(&Person{ FirstName: "Joe", LastName: "Green" })
Want details? **[Read the docs](https://golang.objectbox.io/)** or
**[check out the API reference](https://godoc.org/github.com/objectbox/objectbox-go/objectbox)**.

Latest release: [v1.6.0 (2022-01-14)](https://golang.objectbox.io/)
Latest release: [v1.6.1 (2022-01-27)](https://golang.objectbox.io/)

High-performance Golang database
--------------------------------
Expand Down
2 changes: 1 addition & 1 deletion objectbox/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (v Version) String() string {
// VersionGo returns the Version of the ObjectBox-Go binding
func VersionGo() Version {
// for label, use `beta.0` format, increasing the counter for each subsequent release
return Version{1, 6, 0, ""}
return Version{1, 6, 1, ""}
}

// VersionLib returns the Version of the dynamic linked ObjectBox library (loaded at runtime)
Expand Down
2 changes: 1 addition & 1 deletion test/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestObjectBoxVersionString(t *testing.T) {
func TestExpectedObjectBoxVersion(t *testing.T) {
versionGo := objectbox.VersionGo()
versionGoInt := versionGo.Major*10000 + versionGo.Minor*100 + versionGo.Patch
assert.True(t, versionGoInt >= 10600) // Update with new releases (won't fail if forgotten)
assert.True(t, versionGoInt >= 10601) // Update with new releases (won't fail if forgotten)
assert.True(t, versionGoInt < 20000) // Future next major release

versionLib := objectbox.VersionLib()
Expand Down

0 comments on commit 85f1cf6

Please sign in to comment.