Skip to content

Commit cbdbab0

Browse files
authored
Merge pull request #1801 from ClickHouse/pre_0.6.5
Pre 0.6.5
2 parents 12c921d + 9e0f451 commit cbdbab0

File tree

8 files changed

+41
-9
lines changed

8 files changed

+41
-9
lines changed

Diff for: .github/workflows/nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
env:
1414
CHC_BRANCH: "main"
15-
CHC_VERSION: "0.6.4"
15+
CHC_VERSION: "0.6.5"
1616

1717
jobs:
1818
nightly:

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
version:
77
description: "Release version"
88
required: true
9-
default: "0.6.4-SNAPSHOT"
9+
default: "0.6.5-SNAPSHOT"
1010

1111
jobs:
1212
release:

Diff for: CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
## Latest
22

3+
## 0.6.5
4+
5+
### Deprecations
6+
- Following components will be deprecated and removed in 0.7.0 release:
7+
- clickhouse-cli-client
8+
- clickhouse-grpc-client
9+
- Projects cli-client and grpc-client are excluded from release and build.
10+
- No more builds for non-lts Java versions - no more Java 9 release builds.
11+
12+
### Performance Improvements
13+
- [client-v2] `queryAll()` optimized to use less memory (https://github.com/ClickHouse/clickhouse-java/pull/1779)
14+
- [client-v2] `Client.Builder#setClientNetworkBufferSize` introduced to allow increasing a buffer that is used
15+
to transfer data from socket buffer to application memory. When set to >= of send/receive socket buffer size it
16+
significantly reduces number of system calls and improves performance. (https://github.com/ClickHouse/clickhouse-java/pull/1784)
17+
18+
### New Features
19+
- [client-v2] Client will retry on `NoHttpResponseException` when using Apache HTTP client.
20+
It is useful when close/stale connection is leased from connection pool. No client will
21+
retry one more time instead of failing. `Client.Builder#retryOnFailures` and `Client.Builder#setMaxRetries` were
22+
introduced to configure client behavior. (https://github.com/ClickHouse/clickhouse-java/pull/1768)
23+
24+
### Bug Fixes
25+
- [client-v2] Correct timezone used when reading DateTime values. Affects how date/datetime values
26+
are read when `session_timezone` is used (https://github.com/ClickHouse/clickhouse-java/issues/1780)
27+
- [client-v2] Fix reading big integers. Previously was causing incorrect values
28+
(https://github.com/ClickHouse/clickhouse-java/issues/1786)
29+
(https://github.com/ClickHouse/clickhouse-java/issues/1776)
30+
- [client-v2] Fix server compressions when using a client instance concurrently
31+
(https://github.com/ClickHouse/clickhouse-java/pull/1791)
32+
- [client-v2] Fix reading arrays as list. Also affected reading nested arrays (https://github.com/ClickHouse/clickhouse-java/pull/1800)
33+
- [client-v1] Fix handling summary metadata for write operations. Previously was causing empty metadata
34+
335
## 0.6.4
436

537
### Deprecations

Diff for: examples/client-v2/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6565
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6666

67-
<clickhouse-java.version>0.6.4-SNAPSHOT</clickhouse-java.version>
67+
<clickhouse-java.version>0.6.5-SNAPSHOT</clickhouse-java.version>
6868
<apache-httpclient.version>5.2.1</apache-httpclient.version>
6969

7070
<compiler-plugin.version>3.8.1</compiler-plugin.version>

Diff for: examples/client/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6767
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6868

69-
<clickhouse-java.version>0.6.4-SNAPSHOT</clickhouse-java.version>
69+
<clickhouse-java.version>0.6.5-SNAPSHOT</clickhouse-java.version>
7070
<!-- Nightly snapshot version from https://s01.oss.sonatype.org/content/repositories/snapshots/ or latest from local -->
7171
<!-- <clickhouse-java.version>0.6.4-SNAPSHOT</clickhouse-java.version>-->
7272

Diff for: examples/demo-service/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ dependencies {
2929

3030
// -- clickhouse dependencies
3131
// Main dependency
32-
implementation("com.clickhouse:client-v2:0.6.4-SNAPSHOT") // nightly build
33-
// implementation("com.clickhouse:client-v2:0.6.4") // stable version
32+
implementation("com.clickhouse:client-v2:0.6.5-SNAPSHOT") // nightly build
33+
// implementation("com.clickhouse:client-v2:0.6.5") // stable version
3434
// http client used by clickhouse client
3535
implementation("org.apache.httpcomponents.client5:httpclient5:5.3.1")
3636
// compression dependencies
3737
runtimeOnly("org.apache.commons:commons-compress:1.26.2")
3838
runtimeOnly("org.lz4:lz4-pure-java:1.8.0")
3939
// client V1 if old implementation is needed
40-
// implementation("com.clickhouse:clickhouse-http-client:0.6.3")
40+
// implementation("com.clickhouse:clickhouse-http-client:0.6.5")
4141

4242

4343

Diff for: examples/jdbc/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6767
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6868

69-
<clickhouse-java.version>0.6.4-SNAPSHOT</clickhouse-java.version>
69+
<clickhouse-java.version>0.6.5-SNAPSHOT</clickhouse-java.version>
7070
<hikaricp.version>4.0.3</hikaricp.version>
7171
<apache-httpclient.version>5.2.1</apache-httpclient.version>
7272

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
</distributionManagement>
8686

8787
<properties>
88-
<revision>0.6.4-SNAPSHOT</revision>
88+
<revision>0.6.5-SNAPSHOT</revision>
8989
<project.current.year>2024</project.current.year>
9090
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9191
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

0 commit comments

Comments
 (0)