Skip to content

Commit 3024d90

Browse files
committed
1.7.0
1 parent 0f284d8 commit 3024d90

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
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: [v1.6.1 (2022-01-27)](https://golang.objectbox.io/)
39+
Latest release: [v1.7.0 (2023-06-23)](https://golang.objectbox.io/)
4040

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

objectbox/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (v Version) String() string {
5151
// VersionGo returns the Version of the ObjectBox-Go binding
5252
func VersionGo() Version {
5353
// for label, use `beta.0` format, increasing the counter for each subsequent release
54-
return Version{1, 6, 1, ""}
54+
return Version{1, 7, 0, ""}
5555
}
5656

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

test/version_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ 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 >= 10601) // Update with new releases (won't fail if forgotten)
53+
assert.True(t, versionGoInt >= 10700) // Update with new releases (won't fail if forgotten)
5454
assert.True(t, versionGoInt < 20000) // Future next major release
5555

5656
versionLib := objectbox.VersionLib()
5757
versionLibInt := versionLib.Major*10000 + versionLib.Minor*100 + versionLib.Patch
58-
assert.True(t, versionLibInt >= 1801) // Update with new releases (won't fail if forgotten)
58+
assert.True(t, versionLibInt >= 1800) // Update with new releases (won't fail if forgotten)
5959
assert.True(t, versionLibInt < 10000) // Future next major release
6060
}
6161

0 commit comments

Comments
 (0)