Skip to content

Commit bcd9965

Browse files
authored
fix(deps): update module github.com/clickhouse/clickhouse-go/v2 to v2.40.1 (#7412)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/ClickHouse/clickhouse-go/v2](https://redirect.github.com/ClickHouse/clickhouse-go) | `v2.37.2` -> `v2.40.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.40.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.37.2/v2.40.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ClickHouse/clickhouse-go (github.com/ClickHouse/clickhouse-go/v2)</summary> ### [`v2.40.1`](https://redirect.github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2401-2025-07-30----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://redirect.github.com/ClickHouse/clickhouse-go/compare/v2.40.0...v2.40.1) #### What's Changed ##### Bug fixes 🐛 - fix: `database/sql` Nullable(JSON) string scan by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1625](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1625) **Full Changelog**: ClickHouse/clickhouse-go@v2.40.0...v2.40.1 ### [`v2.40.0`](https://redirect.github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2400-2025-07-30----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://redirect.github.com/ClickHouse/clickhouse-go/compare/v2.39.0...v2.40.0) #### What's Changed ##### Enhancements 🎉 - support `database/sql` scanning json into `string`/`[]byte`/`json.RawMessage` by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1623](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1623) ##### Bug fixes 🐛 - fix: json v1 encoding/decoding for prefixed types by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1622](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1622) - fix: Nullable base types with prefix by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1624](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1624) ##### Other Changes 🛠 - Bump github.com/docker/docker from 28.3.2+incompatible to 28.3.3+incompatible by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/ClickHouse/clickhouse-go/pull/1621](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1621)1 **Full Changelog**: ClickHouse/clickhouse-go@v2.39.0...v2.40.0 ### [`v2.39.0`](https://redirect.github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2390-2025-07-23----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://redirect.github.com/ClickHouse/clickhouse-go/compare/v2.38.1...v2.39.0) #### What's Changed ##### Bug fixes 🐛 - Fix `ReadTimeout` so that it applies to each call to `conn.Read` not just the first read block by [@&#8203;GeorgeMac](https://redirect.github.com/GeorgeMac) in [https://github.com/ClickHouse/clickhouse-go/pull/1616](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1616), [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) [https://github.com/ClickHouse/clickhouse-go/pull/1617](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1617) #### Read Timeout behavior changes This bug fix has potential to affect longer running queries, ensure you're setting `clickhouse.Options` `ReadTimeout` to a reasonable value, and that your `context.WithDeadline` is also set to a reasonable value. The read timeout will now be applied to all blocks, previously it was only set for the first block. #### New Contributors - [@&#8203;GeorgeMac](https://redirect.github.com/GeorgeMac) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1616](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1616) **Full Changelog**: ClickHouse/clickhouse-go@v2.38.1...v2.39.0 ### [`v2.38.1`](https://redirect.github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2381-2025-07-23----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://redirect.github.com/ClickHouse/clickhouse-go/compare/v2.38.0...v2.38.1) #### What's Changed ##### Bug fixes 🐛 - fix: build failure due to 32-bit integer overflow on 386 arch by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1616](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1616) **Full Changelog**: ClickHouse/clickhouse-go@v2.38.0...v2.38.1 ### [`v2.38.0`](https://redirect.github.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2380-2025-07-22----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://redirect.github.com/ClickHouse/clickhouse-go/compare/v2.37.2...v2.38.0) #### What's Changed ##### Enhancements 🎉 - `Dynamic` serialization version 3 by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1588](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1588) - `JSON` serialization version 3 by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1589](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1589) - Add `client_protocol_version` param for HTTP interface by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1594](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1594) - Add missing interval types by [@&#8203;marcboeker](https://redirect.github.com/marcboeker) in [https://github.com/ClickHouse/clickhouse-go/pull/1613](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1613) ##### Bug fixes 🐛 - fix format function to handle pointer of time.Time by [@&#8203;KimMachineGun](https://redirect.github.com/KimMachineGun) in [https://github.com/ClickHouse/clickhouse-go/pull/1559](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1559) - Fix variant prefix by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1591](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1591) - fix(batch): nested column name parsing [#&#8203;1587](https://redirect.github.com/ClickHouse/clickhouse-go/issues/1587) by [@&#8203;RuslanSibgatulin](https://redirect.github.com/RuslanSibgatulin) in [https://github.com/ClickHouse/clickhouse-go/pull/1614](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1614) ##### Other Changes 🛠 - Bump github.com/andybalholm/brotli from 1.1.1 to 1.2.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/ClickHouse/clickhouse-go/pull/1581](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1581)1 - Bump github.com/docker/docker from 28.2.2+incompatible to 28.3.0+incompatible by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/ClickHouse/clickhouse-go/pull/1583](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1583)3 - Bump go.opentelemetry.io/otel/trace from 1.36.0 to 1.37.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/ClickHouse/clickhouse-go/pull/1584](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1584)4 - Bump github.com/docker/docker from 28.3.0+incompatible to 28.3.1+incompatible by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/ClickHouse/clickhouse-go/pull/1585](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1585)5 - Bump github.com/docker/docker from 28.3.1+incompatible to 28.3.2+incompatible by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/ClickHouse/clickhouse-go/pull/1593](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1593)3 - Bump golang.org/x/net from 0.41.0 to 0.42.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/ClickHouse/clickhouse-go/pull/1595](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1595)5 - add HTTP wait condition for container tests by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1604](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1604) - include server revision in block/column parsing by [@&#8203;SpencerTorres](https://redirect.github.com/SpencerTorres) in [https://github.com/ClickHouse/clickhouse-go/pull/1605](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1605) - Bump github.com/testcontainers/testcontainers-go from 0.37.0 to 0.38.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/ClickHouse/clickhouse-go/pull/1603](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1603)3 - docs: add client configuration options by [@&#8203;shivanshuraj1333](https://redirect.github.com/shivanshuraj1333) in [https://github.com/ClickHouse/clickhouse-go/pull/1598](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1598) - Bump github.com/ClickHouse/ch-go from 0.66.1 to 0.67.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/ClickHouse/clickhouse-go/pull/1609](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1609)9 #### Upgrades for Dynamic / JSON Dynamic and JSON were never fully functional in previous versions. If you exceeded the maximum types for `Dynamic`, the data would become unreadable since it was encoded as a single `SharedVariant` type. Same for JSON, if you exceeded the maximum dynamic paths the data would also become unreadable since it was stored in a `SharedData` structure. In ClickHouse 25.6, a setting was added that abstracts these structures away so that clients don't have to implement them. To begin using Dynamic and JSON to their fullest ability, upgrade to ClickHouse 25.6 along with clickhouse-go v2.38.0, and enable `output_format_native_use_flattened_dynamic_and_json_serialization` in your connection settings. This will allow you to read all Dynamic and JSON data, even the portions that are stored in the SharedVariant and SharedData blobs on the server. If you are using older versions of ClickHouse, things will continue to work as before (with the previously mentioned limitations). Feel free to create an issue in the clickhouse-go repository to report any concerns or bugs with this change. #### New Contributors - [@&#8203;KimMachineGun](https://redirect.github.com/KimMachineGun) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1559](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1559) - [@&#8203;shivanshuraj1333](https://redirect.github.com/shivanshuraj1333) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1598](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1598) - [@&#8203;RuslanSibgatulin](https://redirect.github.com/RuslanSibgatulin) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1614](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1614) - [@&#8203;marcboeker](https://redirect.github.com/marcboeker) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1613](https://redirect.github.com/ClickHouse/clickhouse-go/pull/1613) **Full Changelog**: ClickHouse/clickhouse-go@v2.37.2...v2.38.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/jaegertracing/jaeger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS40Ni4zIiwidXBkYXRlZEluVmVyIjoiNDEuNjAuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhbmdlbG9nOmRlcGVuZGVuY2llcyJdfQ==--> Signed-off-by: Mend Renovate <[email protected]>
1 parent 69d4233 commit bcd9965

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ go 1.24.6
55
toolchain go1.25.0
66

77
require (
8-
github.com/ClickHouse/ch-go v0.66.1
9-
github.com/ClickHouse/clickhouse-go/v2 v2.37.2
8+
github.com/ClickHouse/ch-go v0.67.0
9+
github.com/ClickHouse/clickhouse-go/v2 v2.40.1
1010
github.com/HdrHistogram/hdrhistogram-go v1.1.2
1111
github.com/Shopify/sarama v1.37.2
1212
github.com/apache/thrift v0.22.0

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ github.com/AzureAD/microsoft-authentication-library-for-go v1.4.2 h1:oygO0locgZJ
2323
github.com/AzureAD/microsoft-authentication-library-for-go v1.4.2/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI=
2424
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
2525
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
26-
github.com/ClickHouse/ch-go v0.66.1 h1:LQHFslfVYZsISOY0dnOYOXGkOUvpv376CCm8g7W74A4=
27-
github.com/ClickHouse/ch-go v0.66.1/go.mod h1:NEYcg3aOFv2EmTJfo4m2WF7sHB/YFbLUuIWv9iq76xY=
28-
github.com/ClickHouse/clickhouse-go/v2 v2.37.2 h1:wRLNKoynvHQEN4znnVHNLaYnrqVc9sGJmGYg+GGCfto=
29-
github.com/ClickHouse/clickhouse-go/v2 v2.37.2/go.mod h1:pH2zrBGp5Y438DMwAxXMm1neSXPPjSI7tD4MURVULw8=
26+
github.com/ClickHouse/ch-go v0.67.0 h1:18MQF6vZHj+4/hTRaK7JbS/TIzn4I55wC+QzO24uiqc=
27+
github.com/ClickHouse/ch-go v0.67.0/go.mod h1:2MSAeyVmgt+9a2k2SQPPG1b4qbTPzdGDpf1+bcHh+18=
28+
github.com/ClickHouse/clickhouse-go/v2 v2.40.1 h1:PbwsHBgqXRydU7jKULD1C8CHmifczffvQqmFvltM2W4=
29+
github.com/ClickHouse/clickhouse-go/v2 v2.40.1/go.mod h1:GDzSBLVhladVm8V01aEB36IoBOVLLICfyeuiIp/8Ezc=
3030
github.com/Code-Hex/go-generics-cache v1.5.1 h1:6vhZGc5M7Y/YD8cIUcY8kcuQLB4cHR7U+0KMqAA0KcU=
3131
github.com/Code-Hex/go-generics-cache v1.5.1/go.mod h1:qxcC9kRVrct9rHeiYpFWSoW1vxyillCVzX13KZG8dl4=
3232
github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM=
@@ -137,8 +137,8 @@ github.com/digitalocean/godo v1.152.0 h1:WRgkPMogZSXEJK70IkZKTB/PsMn16hMQ+NI3wCI
137137
github.com/digitalocean/godo v1.152.0/go.mod h1:tYeiWY5ZXVpU48YaFv0M5irUFHXGorZpDNm7zzdWMzM=
138138
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
139139
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
140-
github.com/docker/docker v28.2.2+incompatible h1:CjwRSksz8Yo4+RmQ339Dp/D2tGO5JxwYeqtMOEe0LDw=
141-
github.com/docker/docker v28.2.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
140+
github.com/docker/docker v28.3.3+incompatible h1:Dypm25kh4rmk49v1eiVbsAtpAsYURjYkaKubwuBdxEI=
141+
github.com/docker/docker v28.3.3+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
142142
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c=
143143
github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc=
144144
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=

0 commit comments

Comments
 (0)