diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a756814cc..a2eb777c0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -12,7 +12,7 @@ on: env: CHC_BRANCH: "main" - CHC_VERSION: "0.6.4" + CHC_VERSION: "0.6.5" jobs: nightly: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7918d4231..b2949ebfd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: version: description: "Release version" required: true - default: "0.6.4-SNAPSHOT" + default: "0.6.5-SNAPSHOT" jobs: release: diff --git a/CHANGELOG.md b/CHANGELOG.md index f8958083d..90bb7612a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ ## Latest +## 0.6.5 + +### Deprecations +- Following components will be deprecated and removed in 0.7.0 release: + - clickhouse-cli-client + - clickhouse-grpc-client +- Projects cli-client and grpc-client are excluded from release and build. +- No more builds for non-lts Java versions - no more Java 9 release builds. + +### Performance Improvements +- [client-v2] `queryAll()` optimized to use less memory (https://github.com/ClickHouse/clickhouse-java/pull/1779) +- [client-v2] `Client.Builder#setClientNetworkBufferSize` introduced to allow increasing a buffer that is used +to transfer data from socket buffer to application memory. When set to >= of send/receive socket buffer size it +significantly reduces number of system calls and improves performance. (https://github.com/ClickHouse/clickhouse-java/pull/1784) + +### New Features +- [client-v2] Client will retry on `NoHttpResponseException` when using Apache HTTP client. + It is useful when close/stale connection is leased from connection pool. No client will +retry one more time instead of failing. `Client.Builder#retryOnFailures` and `Client.Builder#setMaxRetries` were +introduced to configure client behavior. (https://github.com/ClickHouse/clickhouse-java/pull/1768) + +### Bug Fixes +- [client-v2] Correct timezone used when reading DateTime values. Affects how date/datetime values + are read when `session_timezone` is used (https://github.com/ClickHouse/clickhouse-java/issues/1780) +- [client-v2] Fix reading big integers. Previously was causing incorrect values + (https://github.com/ClickHouse/clickhouse-java/issues/1786) + (https://github.com/ClickHouse/clickhouse-java/issues/1776) +- [client-v2] Fix server compressions when using a client instance concurrently +(https://github.com/ClickHouse/clickhouse-java/pull/1791) +- [client-v2] Fix reading arrays as list. Also affected reading nested arrays (https://github.com/ClickHouse/clickhouse-java/pull/1800) +- [client-v1] Fix handling summary metadata for write operations. Previously was causing empty metadata + ## 0.6.4 ### Deprecations diff --git a/examples/client-v2/pom.xml b/examples/client-v2/pom.xml index 73a8697c4..117f52e7d 100644 --- a/examples/client-v2/pom.xml +++ b/examples/client-v2/pom.xml @@ -64,7 +64,7 @@ UTF-8 UTF-8 - 0.6.4-SNAPSHOT + 0.6.5-SNAPSHOT 5.2.1 3.8.1 diff --git a/examples/client/pom.xml b/examples/client/pom.xml index 236ba85aa..f4d11eb8f 100644 --- a/examples/client/pom.xml +++ b/examples/client/pom.xml @@ -66,7 +66,7 @@ UTF-8 UTF-8 - 0.6.4-SNAPSHOT + 0.6.5-SNAPSHOT diff --git a/examples/demo-service/build.gradle.kts b/examples/demo-service/build.gradle.kts index f41a23320..038ef18b6 100644 --- a/examples/demo-service/build.gradle.kts +++ b/examples/demo-service/build.gradle.kts @@ -29,15 +29,15 @@ dependencies { // -- clickhouse dependencies // Main dependency - implementation("com.clickhouse:client-v2:0.6.4-SNAPSHOT") // nightly build -// implementation("com.clickhouse:client-v2:0.6.4") // stable version + implementation("com.clickhouse:client-v2:0.6.5-SNAPSHOT") // nightly build +// implementation("com.clickhouse:client-v2:0.6.5") // stable version // http client used by clickhouse client implementation("org.apache.httpcomponents.client5:httpclient5:5.3.1") // compression dependencies runtimeOnly("org.apache.commons:commons-compress:1.26.2") runtimeOnly("org.lz4:lz4-pure-java:1.8.0") // client V1 if old implementation is needed -// implementation("com.clickhouse:clickhouse-http-client:0.6.3") +// implementation("com.clickhouse:clickhouse-http-client:0.6.5") diff --git a/examples/jdbc/pom.xml b/examples/jdbc/pom.xml index 05e2859c8..b0d600fc0 100644 --- a/examples/jdbc/pom.xml +++ b/examples/jdbc/pom.xml @@ -66,7 +66,7 @@ UTF-8 UTF-8 - 0.6.4-SNAPSHOT + 0.6.5-SNAPSHOT 4.0.3 5.2.1 diff --git a/pom.xml b/pom.xml index d40f3e53e..a079dc13f 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,7 @@ - 0.6.4-SNAPSHOT + 0.6.5-SNAPSHOT 2024 UTF-8 UTF-8