Skip to content

Commit a6a8a22

Browse files
authored
Merge pull request #1740 from ClickHouse/pre_0_6_3_release
pre 0.6.3 release
2 parents e2cae1c + f32a506 commit a6a8a22

File tree

10 files changed

+41
-18
lines changed

10 files changed

+41
-18
lines changed

.github/workflows/analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828
required: false
2929

3030
env:
31-
PREFERRED_LTS_VERSION: "23.3"
31+
PREFERRED_LTS_VERSION: "24.3"
3232

3333
jobs:
3434
static:

.github/workflows/build-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ concurrency:
77
cancel-in-progress: true
88

99
env:
10-
PREFERRED_LTS_VERSION: "23.3"
10+
PREFERRED_LTS_VERSION: "24.3"
1111
CLICKHOUSE_TEST_VERSIONS: "[]"
1212

1313
jobs:

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ concurrency:
3232
cancel-in-progress: true
3333

3434
env:
35-
PREFERRED_LTS_VERSION: "23.7"
35+
PREFERRED_LTS_VERSION: "24.3"
3636

3737
jobs:
3838
compile:
@@ -179,7 +179,7 @@ jobs:
179179
matrix:
180180
# most recent LTS releases as well as latest stable builds
181181
# https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Aopen+is%3Apr+label%3Arelease
182-
clickhouse: ["22.8", "23.3", "23.7", "latest"]
182+
clickhouse: ["23.8", "24.3", "24.6", "latest"]
183183
fail-fast: false
184184
timeout-minutes: 15
185185
name: Java client + CH ${{ matrix.clickhouse }}
@@ -234,7 +234,7 @@ jobs:
234234
needs: compile
235235
strategy:
236236
matrix:
237-
clickhouse: ["22.8", "23.3", "23.7", "latest"]
237+
clickhouse: ["23.8", "24.3", "24.6", "latest"]
238238
# here http, http_client and apache_http_client represent different value of http_connection_provider
239239
protocol: ["http", "http_client", "apache_http_client", "grpc"]
240240
fail-fast: false
@@ -293,7 +293,7 @@ jobs:
293293
needs: compile
294294
strategy:
295295
matrix:
296-
clickhouse: ["22.8", "23.3", "23.7", "latest"]
296+
clickhouse: ["23.8", "24.3", "24.6", "latest"]
297297
# grpc is not fully supported, and http_client and apache_http_client do not work in CI environment(due to limited threads?)
298298
protocol: ["http"]
299299
r2dbc: ["1.0.0.RELEASE", "0.9.1.RELEASE"]

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
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.2"
15+
CHC_VERSION: "0.6.3"
1616

1717
jobs:
1818
nightly:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
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.2-SNAPSHOT"
9+
default: "0.6.3-SNAPSHOT"
1010

1111
jobs:
1212
release:

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
## Latest
1+
## Latest
2+
3+
## 0.6.3
4+
5+
### Important Changes
6+
- [Client-V1] Changed how `User-Agent` string is generated. Now `ClickHouse-JavaClient` portion is appended in all cases.
7+
It is still possible to set custom product name that will be the first part in `User-Agent` value.
8+
(https://github.com/ClickHouse/clickhouse-java/issues/1698)
9+
10+
### New Features
11+
- [Client-V1/Apache HTTP] Retry on NoHttpResponseException in Apache HTTP client.
12+
Should be used with causes because it is not always possible to resend request body.
13+
Behaviour is controlled by `com.clickhouse.client.http.config.ClickHouseHttpOption#AHC_RETRY_ON_FAILURE`.
14+
Works only for Apache HTTP client because based on its specific behavior(https://github.com/ClickHouse/clickhouse-java/pull/1721)
15+
- [Client-V1/Apache HTTP] Connection validation before sending request.
16+
Behaviour is controlled by `com.clickhouse.client.http.config.ClickHouseHttpOption#AHC_VALIDATE_AFTER_INACTIVITY`.
17+
By default, connection is validated after being in the pool for 5 seconds. (https://github.com/ClickHouse/clickhouse-java/pull/1722)
18+
19+
### Bug Fixes
20+
- [Client-V2] Fix parsing endpoint URL to detect HTTPs (https://github.com/ClickHouse/clickhouse-java/issues/1718)
21+
- [Client-V2] Fix handling asynchronous operations. Less extra threads created now. (https://github.com/ClickHouse/clickhouse-java/issues/1691)
22+
- [Client-V2] Fix way of how settings are validated to let unsupported options to be added (https://github.com/ClickHouse/clickhouse-java/issues/1691)
23+
- [Client-V1] Fix getting `localhost` effective IP address (https://github.com/ClickHouse/clickhouse-java/issues/1729)
24+
- [Client-V2] Make client instance closeable to free underlying resource (https://github.com/ClickHouse/clickhouse-java/pull/1733)
225

326
## 0.6.2
427

examples/client-v2/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<name>java-client-examples</name>
1313
<description>Java Client Examples</description>
1414
<url>https://github.com/ClickHouse/clickhouse-java</url>
15-
<inceptionYear>2022</inceptionYear>
15+
<inceptionYear>2024</inceptionYear>
1616

1717
<organization>
1818
<name>ClickHouse, Inc.</name>
@@ -60,11 +60,11 @@
6060
</repositories>
6161

6262
<properties>
63-
<project.current.year>2023</project.current.year>
63+
<project.current.year>2024</project.current.year>
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.0-SNAPSHOT</clickhouse-java.version>
67+
<clickhouse-java.version>0.6.3-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>

examples/client/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@
6262
</repositories>
6363

6464
<properties>
65-
<project.current.year>2023</project.current.year>
65+
<project.current.year>2024</project.current.year>
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.0</clickhouse-java.version>
69+
<clickhouse-java.version>0.6.3-SNAPSHOT</clickhouse-java.version>
7070
<!-- Nightly snapshot version from https://s01.oss.sonatype.org/content/repositories/snapshots/ or latest from local -->
71-
<!-- <clickhouse-java.version>0.6.0-SNAPSHOT</clickhouse-java.version>-->
71+
<!-- <clickhouse-java.version>0.6.3-SNAPSHOT</clickhouse-java.version>-->
7272

7373
<apache-httpclient.version>5.2.1</apache-httpclient.version>
7474

examples/jdbc/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@
6262
</repositories>
6363

6464
<properties>
65-
<project.current.year>2023</project.current.year>
65+
<project.current.year>2024</project.current.year>
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.0</clickhouse-java.version>
69+
<clickhouse-java.version>0.6.3-SNAPSHOT</clickhouse-java.version>
7070
<hikaricp.version>4.0.3</hikaricp.version>
7171
<apache-httpclient.version>5.2.1</apache-httpclient.version>
7272

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
</distributionManagement>
8686

8787
<properties>
88-
<revision>0.6.2-SNAPSHOT</revision>
88+
<revision>0.6.3-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)