Skip to content

Releases: ClickHouse/clickhouse-go

v2.8.0

27 Mar 21:38
Compare
Choose a tag to compare

New features

Chores

  • Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 #933
  • fix: small typo in the text of an error #936 by @lspgn
  • Improved bug template #916 by @mshustov

v2.7.0

08 Mar 06:15
Compare
Choose a tag to compare

New features

Bug fixes

  • fix: fix connect.compression's format verb #924 by @mind1949
  • Add extra padding for strings shorter than FixedColumn length #910 by @jkaflik

Chore

  • Bump github.com/andybalholm/brotli from 1.0.4 to 1.0.5 #911
  • Bump github.com/paulmach/orb from 0.8.0 to 0.9.0 #912
  • Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 #928

v2.6.5

28 Feb 08:17
Compare
Choose a tag to compare

Bug fixes

  • Fix array parameter formatting in binding mechanism #921 by @genzgd

v2.6.4

23 Feb 21:27
Compare
Choose a tag to compare

Bug fixes

v2.6.3

22 Feb 10:42
Compare
Choose a tag to compare

Bug fixes

  • Fixed lib/binary/string_safe.go for non 64bit arch #914 by @atoulme

v2.6.2

20 Feb 12:11
Compare
Choose a tag to compare

Bug fixes

  • Fix decimal encoding with non-standard exponential representation #909 by @vogrelord
  • Add extra padding for strings shorter than FixedColumn length #910 by @jkaflik

Chore

v2.6.1

13 Feb 11:20
Compare
Choose a tag to compare

2.6.1, 2023-02-13

Bug fixes

  • Do not reuse expired connections (ConnMaxLifetime) #892 by @iamluc
  • Extend default dial timeout value to 30s #893 by @jkaflik
  • Compression name fixed in sendQuery log #884 by @fredgnr

v2.6.0

27 Jan 17:48
Compare
Choose a tag to compare

v2.6.0, 2023-01-27

New features

Bug fixes

  • Better handling for broken connection errors in the std interface #879 by @n-oden

Chore

  • Document way to provide table or database identifier with query parameters #875 by @jkaflik
  • Bump github.com/ClickHouse/ch-go from 0.51.0 to 0.51.2 #881

v2.5.1

19 Jan 19:41
Compare
Choose a tag to compare

Bug fixes

  • Flag connection as closed on broken pipe #871 by @n-oden

v2.5.0

10 Jan 19:23
Compare
Choose a tag to compare

New features

  • Buffered compression column by column for a native protocol. Introduces the MaxCompressionBuffer option - max size (bytes) of compression buffer during column-by-column compression (default 10MiB) #808 by @gingerwizard and @jkaflik
  • Support custom types that implement sql.Scanner interface (e.g. type customString string) #850 by @DarkDrim
  • Append query options to the context instead of overwriting #860 by @aaron276h
  • Query parameters support #854 by @jkaflik
  • Expose DialStrategy function to the user for custom connection routing. #855 by @jkaflik

Bug fixes

  • Close connection on Cancel. This is to make sure context timed out/canceled connection is not reused further #764 by @gingerwizard
  • Fully parse secure and skip_verify in DSN query parameters. #862 by @n-oden

Chore