Skip to content

Releases: ClickHouse/clickhouse-go

v2.3.0-beta.2

01 Aug 10:44
34665af
Compare
Choose a tag to compare

v2.3.0-beta.2

Notes

  • The release is beta as we only have support for Go 1.18. Will be promoted to GA on the release of Go 1.19.
  • Utilizes ch-go v0.47.2.

New Features

  • Support flush (experimental) on batch - allows multiple blocks per batch - #704
  • Respect ReadTimeout for native - #699
  • Support username/password passed as parameters in DSN - #691
  • Support []byte for string - #688
  • Support for sql.Null* types on equivalent ClickHouse types - #686
  • Support for typed maps and slices for tuples (assuming identical sub-column types) - #685
  • Default addresses for native and HTTP - localhost:9000 and localhost:8123, respectively. Handles nil Options. - #683
  • Brotli compression support (for http) - #671
  • Deflate compression support (for http) - #667
  • Gzip compression support (for http) - #664
  • Allow compression algorithm to be specified in DSN - #668
  • Support for Array Sets in parameter binding - #659

Bug Fixes

  • Fix handling of empty response over HTTP - #705
  • Handle empty maps - #694
  • Immutable options - #675
  • Prevent maps from being used with unnamed tuples - #665
  • Handle special chars in column names - #660

v2.3.0-beta.1

11 Jul 14:38
Compare
Choose a tag to compare
  • Adds http support via the std interface #622 #642
  • Low level encoding/decoding performed by ch-go (1.18 golang support only) #646
  • Zstd compression support #656
  • Support for HTTP compression #650
  • Support duration in int64 #635

This version only supports Golang 1.18+.

v2.2.0

27 Jun 15:07
4a65f55
Compare
Choose a tag to compare
  • Fix Uint128, UInt256 integer overflow #629
  • Support for JSON in std interface
  • Support for Nested flatten_nested=0
  • JSON support v2 - still experimental.
  • Named tuples can not be marshalled into a map

v2.1.0

17 Jun 09:13
65eec68
Compare
Choose a tag to compare
  • Experimental JSON Support - #590
  • Allow writing Tuple data as a pointer - #608

v2.0.15

07 Jun 15:59
a5c9ef7
Compare
Choose a tag to compare
  • Error if no address is provided #606
  • Fix Decimal on negatives #605
  • Allow ipv4 to be passed in ipv6 #604
  • Support maps in exec #603
  • Explicit support and testing
  • Failure over connections properly #591
  • Support string decoding into BinaryUnmarshaler #586
  • Support positional arguments #577
  • Support uint128 #568
  • Support string in datetime64 #571
  • Fix race condition on structMap cache #567

v2.0.14

04 May 16:20
7fa2272
Compare
Choose a tag to compare

Fix broken release. Identical to v2.0.13 but fixes #561

v2.0.13

04 May 15:19
Compare
Choose a tag to compare

IMPORTANT
THIS RELEASE IS BROKEN. Please use v2.0.14 which is identical with respect to the following changes.

Changes included this in release:

  1. Fix map of maps #554
  2. Increase row limit to 1b - #559
  3. Fix deadlock on Close() #548
  4. Rename external to ext #530

v2.0.12

21 Feb 10:38
Compare
Choose a tag to compare

What's Changed

  • Bump go.opentelemetry.io/otel/trace from 1.4.0 to 1.4.1 by @dependabot in #503

Full Changelog: v2.0.11...v2.0.12

v2.0.11

17 Feb 17:18
Compare
Choose a tag to compare

What's Changed

  • Bump go.opentelemetry.io/otel/trace from 1.3.0 to 1.4.0 by @dependabot in #492
  • Fix nullable column for batch insertion by @grizio in #498
  • v2: Add ability to pass as query arguments any type based on string. by @f0mster in #496

New Contributors

Full Changelog: v2.0.10...v2.0.11

v2.0.10

12 Feb 09:03
Compare
Choose a tag to compare

What's Changed

  • Batch: add abort method #469

Full Changelog: v2.0.9...v2.0.10