diff --git a/CHANGELOG.md b/CHANGELOG.md index bcfe72fd04..e0a2fe34de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +# v2.18.0, 2024-02-01 + +## What's Changed +### Enhancements 🎉 +* Add WithAllocBufferColStrProvider string column allocator for batch insert performance boost by @hongker in https://github.com/ClickHouse/clickhouse-go/pull/1181 +### Fixes 🐛 +* Fix bind for seconds scale DateTime by @jkaflik in https://github.com/ClickHouse/clickhouse-go/pull/1184 +### Other Changes 🛠 +* resolves #1163 debugF function is not respected by @omurbekjk in https://github.com/ClickHouse/clickhouse-go/pull/1166 + +## New Contributors +* @omurbekjk made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1166 +* @hongker made their first contribution in https://github.com/ClickHouse/clickhouse-go/pull/1181 + +**Full Changelog**: https://github.com/ClickHouse/clickhouse-go/compare/v2.17.1...v2.18.0 + # v2.17.1, 2023-12-27 ## What's Changed diff --git a/client_info.go b/client_info.go index d7b7c24208..c161a376dd 100644 --- a/client_info.go +++ b/client_info.go @@ -29,8 +29,8 @@ const ClientName = "clickhouse-go" const ( ClientVersionMajor = 2 - ClientVersionMinor = 17 - ClientVersionPatch = 1 + ClientVersionMinor = 18 + ClientVersionPatch = 0 ClientTCPProtocolVersion = proto.DBMS_TCP_PROTOCOL_VERSION ) diff --git a/contributors/list b/contributors/list index 01d276261d..61b916e4f9 100644 --- a/contributors/list +++ b/contributors/list @@ -1 +1 @@ -Nityananda Gohain +hongker diff --git a/lib/column/column_gen_option.go b/lib/column/column_gen_option.go index ea307612d3..03f93694cc 100644 --- a/lib/column/column_gen_option.go +++ b/lib/column/column_gen_option.go @@ -32,7 +32,8 @@ func defaultColStrProvider() proto.ColStr { // issue: https://github.com/ClickHouse/clickhouse-go/issues/1164 // WithAllocBufferColStrProvider allow pre alloc buffer cap for proto.ColStr -// It is more suitable for scenarios where a lot of data is written in batches +// +// It is more suitable for scenarios where a lot of data is written in batches func WithAllocBufferColStrProvider(cap int) { colStrProvider = func() proto.ColStr { return proto.ColStr{Buf: make([]byte, 0, cap)}