Skip to content

Commit 5fcb84d

Browse files
committed
package: update go and package versions
* Module version update from v2 to v3, * Go version dep updated from 1.20 to 1.24, * Tarantool versions in CI updated from 2.8 to 3.4. * CI matrix in tarantool is now 1.10, 2.11, 3.4 and master.. * Added stub record for migration guide.
1 parent 44917a0 commit 5fcb84d

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

+233
-209
lines changed

.github/workflows/check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
- uses: actions/checkout@master
1616

1717
- name: Setup Tarantool
18-
uses: tarantool/setup-tarantool@v2
18+
uses: tarantool/setup-tarantool@v3
1919
with:
20-
tarantool-version: '2.8'
20+
tarantool-version: '3.4'
2121

2222
- name: Setup tt
2323
run: |

.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
golang:
32-
- '1.20'
32+
- '1.24'
3333
- 'stable'
3434
tarantool:
3535
- '1.10'
36-
- '2.8'
37-
- '2.10'
36+
- '2.11'
37+
- '3.4'
3838
- 'master'
3939
coveralls: [false]
4040
fuzzing: [false]
@@ -65,7 +65,7 @@ jobs:
6565

6666
- name: Setup Tarantool ${{ matrix.tarantool }}
6767
if: matrix.tarantool != 'master'
68-
uses: tarantool/setup-tarantool@v2
68+
uses: tarantool/setup-tarantool@v3
6969
with:
7070
tarantool-version: ${{ matrix.tarantool }}
7171

MIGRATION.md

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

3+
## Migration from v2.x.x to v3.x.x
4+
5+
TODO
6+
37
## Migration from v1.x.x to v2.x.x
48

59
* [Major changes](#major-changes)
@@ -50,9 +54,9 @@ import (
5054
"fmt"
5155

5256
"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"
57+
_ "github.com/tarantool/go-tarantool/v3/datetime"
58+
_ "github.com/tarantool/go-tarantool/v3/decimal"
59+
_ "github.com/tarantool/go-tarantool/v3/uuid"
5660
)
5761

5862
func main() {
@@ -82,10 +86,10 @@ import (
8286
"fmt"
8387
"time"
8488

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"
89+
"github.com/tarantool/go-tarantool/v3"
90+
_ "github.com/tarantool/go-tarantool/v3/datetime"
91+
_ "github.com/tarantool/go-tarantool/v3/decimal"
92+
_ "github.com/tarantool/go-tarantool/v3/uuid"
8993
)
9094

9195
func main() {

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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)