Skip to content

Commit 12cb834

Browse files
bigbesoleg-jukovec
authored andcommitted
package: update go and package versions
* Module version update from v2 to v3, * Go version dep updated from 1.20 to 1.24, * Added stub record for migration guide.
1 parent e50fbb5 commit 12cb834

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+244
-212
lines changed

.github/workflows/reusable_testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup golang for connector and tests
3737
uses: actions/setup-go@v5
3838
with:
39-
go-version: '1.20'
39+
go-version: '1.24'
4040

4141
- name: Setup tt
4242
run: |

.github/workflows/testing.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
golang: ['1.20', 'stable']
19+
golang: ['1.24', 'stable']
2020
tarantool: ['1.10']
2121
coveralls: [false]
2222
fuzzing: [false]
@@ -36,17 +36,17 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
golang: ['1.20', 'stable']
39+
golang: ['1.24', 'stable']
4040
tarantool: ['2.11', '3.4', 'master']
4141
coveralls: [false]
4242
fuzzing: [false]
4343
include:
4444
- tarantool: 'master'
4545
coveralls: true
46-
golang: '1.20'
46+
golang: '1.24'
4747
- tarantool: 'master'
4848
fuzzing: true
49-
golang: '1.20'
49+
golang: '1.24'
5050
coveralls: false
5151
uses: ./.github/workflows/reusable-run.yml
5252
with:
@@ -71,7 +71,7 @@ jobs:
7171
fail-fast: false
7272
matrix:
7373
golang:
74-
- '1.20'
74+
- '1.24'
7575
- 'stable'
7676
runs-on:
7777
- macos-13

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release.
1212

1313
### Changed
1414

15+
* Required Go version is `1.24` now.
16+
1517
### Fixed
1618

1719
## [v2.4.0] - 2025-07-11

MIGRATION.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
# Migration guide
22

3+
## Migration from v2.x.x to v3.x.x
4+
5+
* [Major changes](#major-changes-v3)
6+
7+
TODO
8+
9+
### <a id="major-changes-v3">Major changes</a>
10+
11+
* Required Go version is `1.24` now.
12+
313
## Migration from v1.x.x to v2.x.x
414

5-
* [Major changes](#major-changes)
15+
* [Major changes](#major-changes-v2)
616
* [Main package](#main-package)
717
* [Go version](#go-version)
818
* [msgpack/v5](#msgpackv5)
@@ -25,7 +35,7 @@
2535
* [crud package](#crud-package)
2636
* [test_helpers package](#test_helpers-package)
2737

28-
### Major changes
38+
### <a id="major-changes-v2">Major changes</a>
2939

3040
* The `go_tarantool_call_17` build tag is no longer needed, since by default
3141
the `CallRequest` is `Call17Request`.
@@ -50,9 +60,9 @@ import (
5060
"fmt"
5161

5262
"github.com/tarantool/go-tarantool"
53-
_ "github.com/tarantool/go-tarantool/v2/datetime"
54-
_ "github.com/tarantool/go-tarantool/v2/decimal"
55-
_ "github.com/tarantool/go-tarantool/v2/uuid"
63+
_ "github.com/tarantool/go-tarantool/v3/datetime"
64+
_ "github.com/tarantool/go-tarantool/v3/decimal"
65+
_ "github.com/tarantool/go-tarantool/v3/uuid"
5666
)
5767

5868
func main() {
@@ -82,10 +92,10 @@ import (
8292
"fmt"
8393
"time"
8494

85-
"github.com/tarantool/go-tarantool/v2"
86-
_ "github.com/tarantool/go-tarantool/v2/datetime"
87-
_ "github.com/tarantool/go-tarantool/v2/decimal"
88-
_ "github.com/tarantool/go-tarantool/v2/uuid"
95+
"github.com/tarantool/go-tarantool/v3"
96+
_ "github.com/tarantool/go-tarantool/v3/datetime"
97+
_ "github.com/tarantool/go-tarantool/v3/decimal"
98+
_ "github.com/tarantool/go-tarantool/v3/uuid"
8999
)
90100

91101
func main() {

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ faster than other packages according to public benchmarks.
3636
We assume that you have Tarantool version 1.10+ and a modern Linux or BSD
3737
operating system.
3838

39-
You need a current version of `go`, version 1.20 or later (use `go version` to
39+
You need a current version of `go`, version 1.24 or later (use `go version` to
4040
check the version number). Do not use `gccgo-go`.
4141

42-
**Note:** If your `go` version is older than 1.20 or if `go` is not installed,
42+
**Note:** If your `go` version is older than 1.24 or if `go` is not installed,
4343
download and run the latest tarball from [golang.org][golang-dl].
4444

4545
The package `go-tarantool` is located in [tarantool/go-tarantool][go-tarantool]
@@ -98,10 +98,10 @@ import (
9898
"fmt"
9999
"time"
100100

101-
"github.com/tarantool/go-tarantool/v2"
102-
_ "github.com/tarantool/go-tarantool/v2/datetime"
103-
_ "github.com/tarantool/go-tarantool/v2/decimal"
104-
_ "github.com/tarantool/go-tarantool/v2/uuid"
101+
"github.com/tarantool/go-tarantool/v3"
102+
_ "github.com/tarantool/go-tarantool/v3/datetime"
103+
_ "github.com/tarantool/go-tarantool/v3/decimal"
104+
_ "github.com/tarantool/go-tarantool/v3/uuid"
105105
)
106106

107107
func main() {
@@ -184,10 +184,10 @@ import (
184184
"fmt"
185185
"time"
186186

187-
"github.com/tarantool/go-tarantool/v2"
188-
_ "github.com/tarantool/go-tarantool/v2/datetime"
189-
_ "github.com/tarantool/go-tarantool/v2/decimal"
190-
_ "github.com/tarantool/go-tarantool/v2/uuid"
187+
"github.com/tarantool/go-tarantool/v3"
188+
_ "github.com/tarantool/go-tarantool/v3/datetime"
189+
_ "github.com/tarantool/go-tarantool/v3/decimal"
190+
_ "github.com/tarantool/go-tarantool/v3/uuid"
191191
"github.com/tarantool/go-tlsdialer"
192192
)
193193

arrow/arrow_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import (
66
"testing"
77

88
"github.com/stretchr/testify/require"
9-
"github.com/tarantool/go-tarantool/v2/arrow"
109
"github.com/vmihailenco/msgpack/v5"
10+
11+
"github.com/tarantool/go-tarantool/v3/arrow"
1112
)
1213

1314
var longArrow, _ = hex.DecodeString("ffffffff70000000040000009effffff0400010004000000" +

arrow/example_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
"log"
1616
"time"
1717

18-
"github.com/tarantool/go-tarantool/v2"
19-
"github.com/tarantool/go-tarantool/v2/arrow"
18+
"github.com/tarantool/go-tarantool/v3"
19+
"github.com/tarantool/go-tarantool/v3/arrow"
2020
)
2121

2222
var arrowBinData, _ = hex.DecodeString("ffffffff70000000040000009effffff0400010004000000" +

arrow/request.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ import (
55
"io"
66

77
"github.com/tarantool/go-iproto"
8-
"github.com/tarantool/go-tarantool/v2"
98
"github.com/vmihailenco/msgpack/v5"
9+
10+
"github.com/tarantool/go-tarantool/v3"
1011
)
1112

1213
// InsertRequest helps you to create an insert request object for execution

arrow/request_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import (
88

99
"github.com/stretchr/testify/require"
1010
"github.com/tarantool/go-iproto"
11-
"github.com/tarantool/go-tarantool/v2"
12-
"github.com/tarantool/go-tarantool/v2/arrow"
1311
"github.com/vmihailenco/msgpack/v5"
12+
13+
"github.com/tarantool/go-tarantool/v3"
14+
"github.com/tarantool/go-tarantool/v3/arrow"
1415
)
1516

1617
const validSpace uint32 = 1 // Any valid value != default.

arrow/tarantool_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"github.com/stretchr/testify/require"
1212
"github.com/tarantool/go-iproto"
1313

14-
"github.com/tarantool/go-tarantool/v2"
15-
"github.com/tarantool/go-tarantool/v2/arrow"
16-
"github.com/tarantool/go-tarantool/v2/test_helpers"
14+
"github.com/tarantool/go-tarantool/v3"
15+
"github.com/tarantool/go-tarantool/v3/arrow"
16+
"github.com/tarantool/go-tarantool/v3/test_helpers"
1717
)
1818

1919
var isArrowSupported = false

0 commit comments

Comments
 (0)