Skip to content

Releases: ClickHouse/clickhouse-go

v2.28.3

12 Sep 07:34
Compare
Choose a tag to compare

What's Changed

Other Changes πŸ› 

  • Revert the minimum required Go version to 1.21 by @jkaflik in #1405

Full Changelog: v2.28.2...v2.28.3

v2.28.2

30 Aug 20:36
Compare
Choose a tag to compare

What's Changed

Fixes πŸ›

  • Validate connection in bad state before query execution in the stdlib database/sql driver by @jkaflik in #1396

Other Changes πŸ› 

Full Changelog: v2.28.1...v2.28.2

v2.28.1

27 Aug 08:06
Compare
Choose a tag to compare

What's Changed

Fixes πŸ›

  • Recognize empty strings as a valid enum key by @genzgd in #1387

Other Changes πŸ› 

Full Changelog: v2.28.0...v2.28.1

v2.28.0

23 Aug 08:21
Compare
Choose a tag to compare

What's Changed

Fixes πŸ›

  • Fix Enum column definition parse logic to match ClickHouse spec by @jkaflik in #1380
  • Fix support custom serialization in Nested type by @jkaflik in #1381
  • Fix panic on nil map append by @jkaflik in #1383

Other Changes πŸ› 

  • Remove test coverage for deprecated Object('JSON') type by @jkaflik in #1377
  • Remove JSON type use from a context use example by @jkaflik in #1379
  • Make sure non-secure port is used during readiness check by @jkaflik in #1382
  • Deprecate Go 1.21 ended support and require Go 1.22 by @jkaflik in #1378

Full Changelog: v2.27.2...v2.28.0

v2.27.2

20 Aug 09:32
Compare
Choose a tag to compare

What's Changed

Enhancements πŸŽ‰

Fixes πŸ›

New Contributors

Full Changelog: v2.27.1...v2.27.2

v2.27.1

05 Aug 13:03
Compare
Choose a tag to compare

What's Changed

Fixes πŸ›

  • Fix INSERT statement normalization match backtick table name by @jkaflik in #1366

Full Changelog: v2.27.0...v2.27.1

v2.27.0

01 Aug 13:47
Compare
Choose a tag to compare

Breaking change notice

v2.25.0 was released with a breaking change in #1306. Please review your implementation.

What's Changed

Enhancements πŸŽ‰

  • Unpack value of indirect types in array column to support nested structures in interfaced slices/arrays by @jmaicher in #1350

Fixes πŸ›

Other Changes πŸ› 

New Contributors

Full Changelog: v2.26.0...v2.27.0

v2.26.0

25 Jun 08:41
Compare
Choose a tag to compare

What's Changed

Enhancements πŸŽ‰

Fixes πŸ›

  • Fix rows.Close do not return too early by @yujiarista in #1314
  • Setting X-Clickhouse-SSL-Certificate-Auth header correctly given X-ClickHouse-Key by @gogingersnap777 in #1316
  • Retry on network errors and fix retries on async inserts with database/sql interface by @tommyzli in #1330
  • BatchInsert parentheses issue fix by @ramzes642 in #1327

Other Changes πŸ› 

  • ClickHouse 24.5 by @jkaflik in #1319
  • Align allow_suspicious_low_cardinality_types and allow_suspicious_low_cardinality_types settings in tests due to ClickHouse Cloud incompatibility by @jkaflik in #1331
  • Use HTTPs scheme in std connection failover tests by @jkaflik in #1332

New Contributors

Full Changelog: v2.25.0...v2.26.0

v2.25.0

28 May 10:28
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🚨

  • Add a compatibility layer for a database/sql driver to work with sql.NullString and ClickHouse nullable column by @jkaflik in #1306

Other Changes πŸ› 

Full Changelog: v2.24.0...v2.25.0

v2.24.0

08 May 11:30
Compare
Choose a tag to compare

What's Changed

Enhancements πŸŽ‰

  • Always compress responses when the client compression is on by @zhkvia in #1286
  • Optional flag to close query with flush by @hongker in #1276

Fixes πŸ›

  • Fix prepare batch does not break on values substring in table name by @Wang in #1290
  • Fix nil checks when appending slices of pointers by @markandrus in #1283

Other Changes πŸ› 

  • Don't recreate keys from LC columns from direct stream by @genzgd in #1291

New Contributors

Full Changelog: v2.23.2...v2.24.0