Skip to content

Commit d46b80e

Browse files
Merge branch 'main' into issue_1648
2 parents b52ad95 + 5343347 commit d46b80e

File tree

14 files changed

+105
-68
lines changed

14 files changed

+105
-68
lines changed

.github/workflows/run-tests-cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
go:
23-
- "1.24"
23+
- "1.25"
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 58 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,32 @@
1+
# v2.40.2, 2025-09-13 <!-- Release notes generated using configuration in .github/release.yml at main -->
2+
3+
## What's Changed
4+
### Other Changes 🛠
5+
* Bump golang.org/x/net from 0.42.0 to 0.43.0 by @dependabot[bot] in https://github.com/ClickHouse/clickhouse-go/pull/1634
6+
* Bump github.com/ClickHouse/ch-go from 0.67.0 to 0.68.0 by @dependabot[bot] in https://github.com/ClickHouse/clickhouse-go/pull/1639
7+
* Bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by @dependabot[bot] in https://github.com/ClickHouse/clickhouse-go/pull/1641
8+
* Bump go.opentelemetry.io/otel/trace from 1.37.0 to 1.38.0 by @dependabot[bot] in https://github.com/ClickHouse/clickhouse-go/pull/1642
9+
* Bump github.com/docker/docker from 28.3.3+incompatible to 28.4.0+incompatible by @dependabot[bot] in https://github.com/ClickHouse/clickhouse-go/pull/1646
10+
* Bump golang.org/x/net from 0.43.0 to 0.44.0 by @dependabot[bot] in https://github.com/ClickHouse/clickhouse-go/pull/1647
11+
* chore: migrate to maintained YAML library by @joschi in https://github.com/ClickHouse/clickhouse-go/pull/1651
12+
* skip random tests on Go 1.25 by @SpencerTorres in https://github.com/ClickHouse/clickhouse-go/pull/1652
13+
* bug: headers map can be nil by @r0bobo in https://github.com/ClickHouse/clickhouse-go/pull/1650
14+
15+
## New Contributors
16+
* @joschi made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1651
17+
* @r0bobo made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1650
18+
19+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.40.1...v2.40.2
20+
121
# v2.40.1, 2025-07-30 <!-- Release notes generated using configuration in .github/release.yml at main -->
222

323
## What's Changed
424
### Bug fixes 🐛
525
* fix: `database/sql` Nullable(JSON) string scan by @SpencerTorres in https://github.com/ClickHouse/clickhouse-go/pull/1625
626

727

8-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.40.0...v2.40.1
9-
28+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.40.0...v2.40.1
29+
1030
# v2.40.0, 2025-07-30 <!-- Release notes generated using configuration in .github/release.yml at main -->
1131

1232
## What's Changed
@@ -18,8 +38,8 @@
1838
### Other Changes 🛠
1939
* Bump github.com/docker/docker from 28.3.2+incompatible to 28.3.3+incompatible by @dependabot[bot] in https://github.com/ClickHouse/clickhouse-go/pull/1621
2040

21-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.39.0...v2.40.0
22-
41+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.39.0...v2.40.0
42+
2343
# v2.39.0, 2025-07-23 <!-- Release notes generated using configuration in .github/release.yml at main -->
2444

2545
## What's Changed
@@ -32,17 +52,17 @@ This bug fix has potential to affect longer running queries, ensure you're setti
3252
## New Contributors
3353
* @GeorgeMac made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1616
3454

35-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.38.1...v2.39.0
36-
55+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.38.1...v2.39.0
56+
3757
# v2.38.1, 2025-07-23 <!-- Release notes generated using configuration in .github/release.yml at main -->
3858

3959
## What's Changed
4060
### Bug fixes 🐛
4161
* fix: build failure due to 32-bit integer overflow on 386 arch by @SpencerTorres in https://github.com/ClickHouse/clickhouse-go/pull/1616
4262

4363

44-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.38.0...v2.38.1
45-
64+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.38.0...v2.38.1
65+
4666
# v2.38.0, 2025-07-22 <!-- Release notes generated using configuration in .github/release.yml at main -->
4767

4868
## What's Changed
@@ -85,17 +105,17 @@ Feel free to create an issue in the clickhouse-go repository to report any conce
85105
* @RuslanSibgatulin made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1614
86106
* @marcboeker made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1613
87107

88-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.37.2...v2.38.0
89-
108+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.37.2...v2.38.0
109+
90110
# v2.37.2, 2025-06-23 <!-- Release notes generated using configuration in .github/release.yml at main -->
91111

92112
## What's Changed
93113
### Other Changes 🛠
94114
* remove dependency on v1, update ch-go by @SpencerTorres in https://github.com/ClickHouse/clickhouse-go/pull/1580
95115

96116

97-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.37.1...v2.37.2
98-
117+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.37.1...v2.37.2
118+
99119
# v2.37.1, 2025-06-17 <!-- Release notes generated using configuration in .github/release.yml at main -->
100120

101121
## What's Changed
@@ -106,8 +126,8 @@ Feel free to create an issue in the clickhouse-go repository to report any conce
106126

107127

108128

109-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.37.0...v2.37.1
110-
129+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.37.0...v2.37.1
130+
111131
# v2.37.0, 2025-06-16 <!-- Release notes generated using configuration in .github/release.yml at main -->
112132

113133
## What's Changed
@@ -134,17 +154,17 @@ HTTP still has some limitations to be aware of for things like batch flushing an
134154
* @dschofie made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1547
135155
* @zapateo made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1570
136156

137-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.36.0...v2.37.0
138-
157+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.36.0...v2.37.0
158+
139159
# v2.36.0, 2025-06-03 <!-- Release notes generated using configuration in .github/release.yml at main -->
140160

141161
## What's Changed
142162
### Enhancements 🎉
143163
* Add `Close` function to batch interface by @SpencerTorres in https://github.com/ClickHouse/clickhouse-go/pull/1566
144164

145165

146-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.35.0...v2.36.0
147-
166+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.35.0...v2.36.0
167+
148168
# v2.35.0, 2025-05-22 <!-- Release notes generated using configuration in .github/release.yml at main -->
149169

150170
## What's Changed
@@ -153,8 +173,8 @@ HTTP still has some limitations to be aware of for things like batch flushing an
153173
* Add support for overriding `database` in DSN URL by @kokizzu in https://github.com/ClickHouse/clickhouse-go/pull/1541
154174

155175

156-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.34.0...v2.35.0
157-
176+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.34.0...v2.35.0
177+
158178
# v2.34.0, 2025-04-01 <!-- Release notes generated using configuration in .github/release.yml at main -->
159179

160180
## What's Changed
@@ -170,17 +190,17 @@ HTTP still has some limitations to be aware of for things like batch flushing an
170190
## New Contributors
171191
* @hazzik made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1530
172192

173-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.33.1...v2.34.0
174-
193+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.33.1...v2.34.0
194+
175195
# v2.33.1, 2025-03-18 <!-- Release notes generated using configuration in .github/release.yml at main -->
176196

177197
## What's Changed
178198
### Bug fixes 🐛
179199
* fix concurrent map write errors with context by @SpencerTorres in https://github.com/ClickHouse/clickhouse-go/pull/1523
180200

181201

182-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.33.0...v2.33.1
183-
202+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.33.0...v2.33.1
203+
184204
# v2.33.0, 2025-03-07 <!-- Release notes generated using configuration in .github/release.yml at main -->
185205

186206
## What's Changed
@@ -198,26 +218,26 @@ HTTP still has some limitations to be aware of for things like batch flushing an
198218
* @Exca-DK made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1500
199219
* @holycheater made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1517
200220

201-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.32.2...v2.33.0
202-
221+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.32.2...v2.33.0
222+
203223
# v2.32.2, 2025-02-20 <!-- Release notes generated using configuration in .github/release.yml at main -->
204224

205225
## What's Changed
206226
### Bug Fixes 🐛
207227
* fix: decode prefix of nested columns in Variant by @SpencerTorres in https://github.com/ClickHouse/clickhouse-go/pull/1506
208228

209229

210-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.32.1...v2.32.2
211-
230+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.32.1...v2.32.2
231+
212232
# v2.32.1, 2025-02-17 <!-- Release notes generated using configuration in .github/release.yml at main -->
213233

214234
## What's Changed
215235
### Bug Fixes 🐛
216236
* fix: enable Array() support for Variant, Dynamic, JSON by @SpencerTorres in https://github.com/ClickHouse/clickhouse-go/pull/1501
217237

218238

219-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.32.0...v2.32.1
220-
239+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.32.0...v2.32.1
240+
221241
# v2.32.0, 2025-02-14 <!-- Release notes generated using configuration in .github/release.yml at main -->
222242

223243
## What's Changed
@@ -238,8 +258,8 @@ HTTP still has some limitations to be aware of for things like batch flushing an
238258
## New Contributors
239259
* @pablomatiasgomez made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1497
240260

241-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.31.0...v2.32.0
242-
261+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.31.0...v2.32.0
262+
243263
# v2.31.0, 2025-02-10 <!-- Release notes generated using configuration in .github/release.yml at main -->
244264

245265
## What's Changed
@@ -254,8 +274,8 @@ HTTP still has some limitations to be aware of for things like batch flushing an
254274
## New Contributors
255275
* @serprex made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1493
256276

257-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.30.3...2.31.0
258-
277+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.30.3...2.31.0
278+
259279
# v2.30.3, 2025-02-03 <!-- Release notes generated using configuration in .github/release.yml at main -->
260280

261281
## What's Changed
@@ -265,8 +285,8 @@ HTTP still has some limitations to be aware of for things like batch flushing an
265285
## New Contributors
266286
* @lobachpavel made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1487
267287

268-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.30.2...v2.30.3
269-
288+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.30.2...v2.30.3
289+
270290
# v2.30.2, 2025-01-30 <!-- Release notes generated using configuration in .github/release.yml at main -->
271291

272292
## What's Changed
@@ -277,8 +297,8 @@ HTTP still has some limitations to be aware of for things like batch flushing an
277297
## New Contributors
278298
* @matevzmihalic made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1478
279299

280-
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.30.1...v2.30.2
281-
300+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.30.1...v2.30.2
301+
282302
# v2.30.1, 2025-01-17 <!-- Release notes generated using configuration in .github/release.yml at v2.30.1 -->
283303

284304
## What's Changed

client_info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const ClientName = "clickhouse-go"
3030
const (
3131
ClientVersionMajor = 2
3232
ClientVersionMinor = 40
33-
ClientVersionPatch = 1
33+
ClientVersionPatch = 2
3434
ClientTCPProtocolVersion = proto.DBMS_TCP_PROTOCOL_VERSION
3535
)
3636

conn_http.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,12 @@ func (h *httpConnect) createRequestWithExternalTables(ctx context.Context, query
573573
if err != nil {
574574
return nil, err
575575
}
576+
577+
if headers == nil {
578+
headers = make(map[string]string)
579+
}
576580
headers["Content-Type"] = w.FormDataContentType()
581+
577582
return h.createRequest(ctx, currentUrl.String(), bytes.NewReader(payload.Bytes()), options, headers)
578583
}
579584

contributors/list

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Danny.Dunn <[email protected]>
3737
3838
Dave Josephsen <[email protected]>
3939
Dean Karn <[email protected]>
40+
Dean Lindqvist Todevski <[email protected]>
4041
Denis Gukov <[email protected]>
4142
Denis Krivak <[email protected]>
4243
@@ -77,6 +78,7 @@ Jan Was <[email protected]>
7778
Jeehoon Kim <[email protected]>
7879
7980
Jimmie Han <[email protected]>
81+
Jochen Schalanda <[email protected]>
8082
John Troy <[email protected]>
8183
Jon Aquino <[email protected]>
8284
Julian Maicher <[email protected]>

examples/clickhouse_api/main_test.go

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,16 @@ func TestIterableOrderedMapInsertRead(t *testing.T) {
153153
}
154154

155155
func TestMultiHostConnect(t *testing.T) {
156-
require.NoError(t, MultiHostVersion())
157-
require.NoError(t, MultiHostRoundRobinVersion())
158-
require.NoError(t, MultiHostRandomVersion())
156+
t.Run("Default", func(t *testing.T) {
157+
require.NoError(t, MultiHostVersion())
158+
})
159+
t.Run("RoundRobin", func(t *testing.T) {
160+
require.NoError(t, MultiHostRoundRobinVersion())
161+
})
162+
t.Run("Random", func(t *testing.T) {
163+
t.Skip("Go 1.25 math/random changes")
164+
require.NoError(t, MultiHostRandomVersion())
165+
})
159166
}
160167

161168
func TestNested(t *testing.T) {

examples/clickhouse_api/multi_host.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func MultiHostRoundRobinVersion() error {
3434
}
3535

3636
func MultiHostRandomVersion() error {
37-
rand.Seed(85206178671753423)
37+
rand.Seed(85206178671753424)
3838
defer ResetRandSeed()
3939
connOpenStrategy := clickhouse.ConnOpenRandom
4040
return multiHostVersion(&connOpenStrategy)

go.mod

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/ClickHouse/clickhouse-go/v2
22

3-
go 1.23.0
3+
go 1.24.0
44

55
toolchain go1.24.1
66

@@ -16,8 +16,8 @@ require (
1616
github.com/stretchr/testify v1.11.1
1717
github.com/testcontainers/testcontainers-go v0.38.0
1818
go.opentelemetry.io/otel/trace v1.38.0
19-
golang.org/x/net v0.43.0
20-
gopkg.in/yaml.v3 v3.0.1
19+
go.yaml.in/yaml/v3 v3.0.4
20+
golang.org/x/net v0.44.0
2121
)
2222

2323
require go.opentelemetry.io/otel v1.38.0 // indirect
@@ -72,6 +72,7 @@ require (
7272
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect
7373
go.opentelemetry.io/otel/metric v1.38.0 // indirect
7474
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
75-
golang.org/x/crypto v0.41.0 // indirect
76-
golang.org/x/sys v0.35.0 // indirect
75+
golang.org/x/crypto v0.42.0 // indirect
76+
golang.org/x/sys v0.36.0 // indirect
77+
gopkg.in/yaml.v3 v3.0.1 // indirect
7778
)

go.sum

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -178,21 +178,23 @@ go.opentelemetry.io/otel/trace v1.38.0 h1:Fxk5bKrDZJUH+AMyyIXGcFAPah0oRcT+LuNtJr
178178
go.opentelemetry.io/otel/trace v1.38.0/go.mod h1:j1P9ivuFsTceSWe1oY+EeW3sc+Pp42sO++GHkg4wwhs=
179179
go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I=
180180
go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM=
181+
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
182+
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
181183
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
182184
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
183185
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
184186
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
185-
golang.org/x/crypto v0.41.0 h1:WKYxWedPGCTVVl5+WHSSrOBT0O8lx32+zxmHxijgXp4=
186-
golang.org/x/crypto v0.41.0/go.mod h1:pO5AFd7FA68rFak7rOAGVuygIISepHftHnr8dr6+sUc=
187+
golang.org/x/crypto v0.42.0 h1:chiH31gIWm57EkTXpwnqf8qeuMUi0yekh6mT2AvFlqI=
188+
golang.org/x/crypto v0.42.0/go.mod h1:4+rDnOTJhQCx2q7/j6rAN5XDw8kPjeaXEUR2eL94ix8=
187189
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
188190
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
189191
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
190192
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
191193
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
192194
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
193195
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
194-
golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE=
195-
golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg=
196+
golang.org/x/net v0.44.0 h1:evd8IRDyfNBMBTTY5XRF1vaZlD+EmWx6x8PkhR04H/I=
197+
golang.org/x/net v0.44.0/go.mod h1:ECOoLqd5U3Lhyeyo/QDCEVQ4sNgYsqvCZ722XogGieY=
196198
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
197199
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
198200
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -210,17 +212,17 @@ golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBc
210212
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
211213
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
212214
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
213-
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
214-
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
215+
golang.org/x/sys v0.36.0 h1:KVRy2GtZBrk1cBYA7MKu5bEZFxQk4NIDV6RLVcC8o0k=
216+
golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
215217
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
216-
golang.org/x/term v0.34.0 h1:O/2T7POpk0ZZ7MAzMeWFSg6S5IpWd/RXDlM9hgM3DR4=
217-
golang.org/x/term v0.34.0/go.mod h1:5jC53AEywhIVebHgPVeg0mj8OD3VO9OzclacVrqpaAw=
218+
golang.org/x/term v0.35.0 h1:bZBVKBudEyhRcajGcNc3jIfWPqV4y/Kt2XcoigOWtDQ=
219+
golang.org/x/term v0.35.0/go.mod h1:TPGtkTLesOwf2DE8CgVYiZinHAOuy5AYUYT1lENIZnA=
218220
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
219221
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
220222
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
221223
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
222-
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
223-
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
224+
golang.org/x/text v0.29.0 h1:1neNs90w9YzJ9BocxfsQNHKuAT4pkghyXc4nhZ6sJvk=
225+
golang.org/x/text v0.29.0/go.mod h1:7MhJOA9CD2qZyOKYazxdYMF85OwPdEr9jTtBpO7ydH4=
224226
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 h1:vVKdlvoWBphwdxWKrFZEuM0kGgGLxUOYcY4U/2Vjg44=
225227
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
226228
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

lib/proto/handshake.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ package proto
2020
import (
2121
"fmt"
2222
chproto "github.com/ClickHouse/ch-go/proto"
23-
"gopkg.in/yaml.v3"
23+
"go.yaml.in/yaml/v3"
2424
"strconv"
2525
"strings"
2626
"time"

0 commit comments

Comments
 (0)