v2.3.0-beta.2
版本发布时间: 2022-08-01 18:44:50
ClickHouse/clickhouse-go最新发布版本:v2.29.0(2024-09-24 20:36:15)
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 - https://github.com/ClickHouse/clickhouse-go/pull/704
- Respect ReadTimeout for native - https://github.com/ClickHouse/clickhouse-go/pull/699
- Support username/password passed as parameters in DSN - https://github.com/ClickHouse/clickhouse-go/pull/691
- Support []byte for string - https://github.com/ClickHouse/clickhouse-go/pull/688
- Support for sql.Null* types on equivalent ClickHouse types - https://github.com/ClickHouse/clickhouse-go/pull/686
- Support for typed maps and slices for tuples (assuming identical sub-column types) - https://github.com/ClickHouse/clickhouse-go/pull/685
- Default addresses for native and HTTP - localhost:9000 and localhost:8123, respectively. Handles nil Options. - https://github.com/ClickHouse/clickhouse-go/pull/683
- Brotli compression support (for http) - https://github.com/ClickHouse/clickhouse-go/pull/671
- Deflate compression support (for http) - https://github.com/ClickHouse/clickhouse-go/pull/667
- Gzip compression support (for http) - https://github.com/ClickHouse/clickhouse-go/pull/664
- Allow compression algorithm to be specified in DSN - https://github.com/ClickHouse/clickhouse-go/pull/668
- Support for Array Sets in parameter binding - https://github.com/ClickHouse/clickhouse-go/pull/659
Bug Fixes
- Fix handling of empty response over HTTP - https://github.com/ClickHouse/clickhouse-go/pull/705
- Handle empty maps - https://github.com/ClickHouse/clickhouse-go/pull/694
- Immutable options - https://github.com/ClickHouse/clickhouse-go/pull/675
- Prevent maps from being used with unnamed tuples - https://github.com/ClickHouse/clickhouse-go/pull/665
- Handle special chars in column names - https://github.com/ClickHouse/clickhouse-go/pull/660