Skip to content

Commit 559159e

Browse files
Update release notes
1 parent 9464006 commit 559159e

File tree

5 files changed

+36
-3
lines changed

5 files changed

+36
-3
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# v2.37.0, 2025-06-16 <!-- Release notes generated using configuration in .github/release.yml at main -->
2+
3+
## What's Changed
4+
### Enhancements 🎉
5+
* Scanning Datetime and Datetime64 into int64 by @vaibhav-kt in https://github.com/ClickHouse/clickhouse-go/pull/1560
6+
* Supports scanning of Array, IPv4, IPv6, and Map types into Go values that implement the `sql.Scanner` interface. by @zapateo in https://github.com/ClickHouse/clickhouse-go/pull/1570
7+
* Support HTTP connnections in Native Go interface by @SpencerTorres in https://github.com/ClickHouse/clickhouse-go/pull/1577 (see details at bottom of release notes!)
8+
9+
### Bug fixes 🐛
10+
* fix: Prevent panic on slice map keys by @disq in https://github.com/ClickHouse/clickhouse-go/pull/1567
11+
* object_json: split JSON tag to remove any trailing omitempty by @dschofie in https://github.com/ClickHouse/clickhouse-go/pull/1547
12+
* fix: namedValue namedDatevalue usage error by @tosolveit in https://github.com/ClickHouse/clickhouse-go/pull/1575
13+
* Fix false positives in TestInterfaceArray by @tosolveit in https://github.com/ClickHouse/clickhouse-go/pull/1572
14+
15+
### HTTP in ClickHouse API
16+
17+
This release includes a bug fix / enhancement for the "ClickHouse API" interface. Previously the only way to use HTTP was through the `database/sql` interface, but now you can use `Protocol: clickhouse.HTTP` in your `clickhouse.Open` options.
18+
HTTP still has some limitations to be aware of for things like batch flushing and session context, so be cautious when switching over code to this protocol. Please report any issues you may have with this change. Native protocol shouldn't be affected, but you can downgrade to v2.36.x if you notice any issues.
19+
20+
## New Contributors
21+
* @disq made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1567
22+
* @vaibhav-kt made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1560
23+
* @tosolveit made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1572
24+
* @dschofie made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1547
25+
* @zapateo made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1570
26+
27+
**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.36.0...v2.37.0
28+
129
# v2.36.0, 2025-06-03 <!-- Release notes generated using configuration in .github/release.yml at main -->
230

331
## What's Changed

client_info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const ClientName = "clickhouse-go"
2929

3030
const (
3131
ClientVersionMajor = 2
32-
ClientVersionMinor = 36
32+
ClientVersionMinor = 37
3333
ClientVersionPatch = 0
3434
ClientTCPProtocolVersion = proto.DBMS_TCP_PROTOCOL_VERSION
3535
)

contributors/list

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Damir Sayfutdinov <[email protected]>
3232
Dan Walters <[email protected]>
3333
Daniel Bershatsky <[email protected]>
3434
Danila Migalin <[email protected]>
35+
Danny Schofield <[email protected]>
3536
Danny.Dunn <[email protected]>
3637
3738
Dave Josephsen <[email protected]>
@@ -56,6 +57,7 @@ Florian Lehner <[email protected]>
5657
5758
Félix Mattrat <[email protected]>
5859
Geoff Genz <[email protected]>
60+
Gianluca Mondini <[email protected]>
5961
GitHub Action <[email protected]>
6062
Gregory Petrosyan <[email protected]>
6163
@@ -77,6 +79,7 @@ Jimmie Han <[email protected]>
7779
John Troy <[email protected]>
7880
Jon Aquino <[email protected]>
7981
Julian Maicher <[email protected]>
82+
Kemal Hadimli <[email protected]>
8083
Kevin Joiner <[email protected]>
8184
Kirill Shvakov <[email protected]>
8285
Kiswono Prayogo <[email protected]>
@@ -186,6 +189,7 @@ hexchain <[email protected]>
186189
187190
188191
ianmcgraw <[email protected]>
192+
ilker karapanca <[email protected]>
189193
ilker moral <[email protected]>
190194
jiyongwang <[email protected]>
191195
@@ -199,6 +203,7 @@ rtkaratekid <[email protected]>
199203
200204
201205
vahid sohrabloo <[email protected]>
206+
vaibhav-kt <[email protected]>
202207
vasily.popov <[email protected]>
203208
viktorzaharov <[email protected]>
204209
vl4deee11 <[email protected]>

tests/query_parameters_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ package tests
2020
import (
2121
"context"
2222
"fmt"
23-
"time"
2423
"github.com/ClickHouse/clickhouse-go/v2"
2524
"github.com/stretchr/testify/assert"
2625
"github.com/stretchr/testify/require"
2726
"testing"
27+
"time"
2828
)
2929

3030
func TestQueryParameters(t *testing.T) {

tests/std/query_parameters_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ package std
1919

2020
import (
2121
"fmt"
22-
"time"
2322
"github.com/ClickHouse/clickhouse-go/v2"
2423
clickhouse_tests "github.com/ClickHouse/clickhouse-go/v2/tests"
2524
"github.com/stretchr/testify/assert"
2625
"github.com/stretchr/testify/require"
2726
"strconv"
2827
"testing"
28+
"time"
2929
)
3030

3131
func TestQueryParameters(t *testing.T) {

0 commit comments

Comments
 (0)