Skip to content

Commit

Permalink
Update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ch-integrations-robot committed Feb 1, 2024
1 parent d5e4452 commit 19a5bf2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# v2.18.0, 2024-02-01 <!-- Release notes generated using configuration in .github/release.yml at main -->

## 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 <!-- Release notes generated using configuration in .github/release.yml at main -->

## What's Changed
Expand Down
4 changes: 2 additions & 2 deletions client_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion contributors/list
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Nityananda Gohain <nityanandagohain@gmail.com>
hongker <xiaok2013@live.com>
3 changes: 2 additions & 1 deletion lib/column/column_gen_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit 19a5bf2

Please sign in to comment.