Skip to content

Commit 7500f66

Browse files
committed
updated revision, changelog
1 parent 4b71fb2 commit 7500f66

File tree

9 files changed

+39
-9
lines changed

9 files changed

+39
-9
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
## 0.9.1
2+
3+
### Improvements
4+
- [client-v2] Improved exceptions and error handling. The `com.clickhouse.client.api.ClickHouseException` became a root for
5+
`ServerException` and `ClientException`. `com.clickhouse.client.api.ClickHouseException.isRetryable` is added to determine if
6+
exception caused in a retriable state. It means that catching such exception application may repeat operation to fix a
7+
problem. (https://github.com/ClickHouse/clickhouse-java/pull/2453)
8+
- [client-v2] Improved configuration handling. (https://github.com/ClickHouse/clickhouse-java/pull/2470)
9+
- [client-v2] Custom type hint for the client to make `Reader` and `GenericRecord` return specific types. For example,
10+
collection instead of `Array`. (https://github.com/ClickHouse/clickhouse-java/pull/2476)
11+
- [client-v2] Added option to set SNI for SSL connections. (https://github.com/ClickHouse/clickhouse-java/pull/2467)
12+
- [client-v2] Added default port for HTTP and improved endpoint string validation - only one allowed. (https://github.com/ClickHouse/clickhouse-java/pull/2489)
13+
- [client-v2] Added utility methods to format `Instant` to a DB DateTime format. See `com.clickhouse.client.api.DataTypeUtils.formatInstant(java.time.Instant, com.clickhouse.data.ClickHouseDataType)` (https://github.com/ClickHouse/clickhouse-java/pull/2501, https://github.com/ClickHouse/clickhouse-java/issues/2456)
14+
- [client-v2, jdbc-v2] Added support for `Time` and `Time64` data types. (https://github.com/ClickHouse/clickhouse-java/pull/2487)
15+
- [client-v2] Improved handling error response. (https://github.com/ClickHouse/clickhouse-java/pull/2511)
16+
17+
### Bug Fixes
18+
- [client-v2] Fixed metrics to be parsed as Long to avoid integer overflow. Especially for elapsed time in nanos. (https://github.com/ClickHouse/clickhouse-java/pull/2465)
19+
- [client-v2] Fixed a bug with passing some server settings from JDBC to the Client. (https://github.com/ClickHouse/clickhouse-java/issues/2359)
20+
- [jdbc-v2] Fixed `DatabaseMetadata` to return correct column type. (https://github.com/ClickHouse/clickhouse-java/issues/2475)
21+
- [jdbc-v2] Fixed problem with JDBC URL when Database names that include dash `-` were parsed wrong. (https://github.com/ClickHouse/clickhouse-java/issues/2463)
22+
- [jdbc-v2] Fixed problem with nested arrays. Previously `ArrayValue` object was returned as element of a nested array.
23+
After the fix array values contain primitive types. (https://github.com/ClickHouse/clickhouse-java/issues/2464, https://github.com/ClickHouse/clickhouse-java/issues/2340)
24+
- [jdbc-v2] Fixed JDBC Connection's `isValid` method returning `true` all the time. (https://github.com/ClickHouse/clickhouse-java/issues/2472)
25+
- [client-v2] Fixed problem with not closed response object when exception happens. That fixes connections leaking. (https://github.com/ClickHouse/clickhouse-java/issues/1741)
26+
- [jdbc-v2] Fixed a set of issue in `StatementImpl`. (https://github.com/ClickHouse/clickhouse-java/issues/2414)
27+
- [jdbc-v2] Fixed a set of issues in `PreparedStatementImpl`. (https://github.com/ClickHouse/clickhouse-java/issues/2418)
28+
- [jdbc-v2] Fixed multiple issues linked to parsing statements in JDBC. (https://github.com/ClickHouse/clickhouse-java/issues/2450, https://github.com/ClickHouse/clickhouse-java/issues/2451, https://github.com/ClickHouse/clickhouse-java/issues/2461, https://github.com/ClickHouse/clickhouse-java/issues/2500, https://github.com/ClickHouse/clickhouse-java/issues/2493, https://github.com/ClickHouse/clickhouse-java/issues/2478)
29+
- [jdbc-v2] Fixed result set returning not a DB compliant date/time format. (https://github.com/ClickHouse/clickhouse-java/issues/2408, https://github.com/ClickHouse/clickhouse-java/issues/2448)
30+
131
## 0.9.0
232

333
### Important Changes

examples/client-v2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5555
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
5656

57-
<clickhouse-java.version>0.9.0-SNAPSHOT</clickhouse-java.version>
57+
<clickhouse-java.version>0.9.1-SNAPSHOT</clickhouse-java.version>
5858

5959
<compiler-plugin.version>3.8.1</compiler-plugin.version>
6060

examples/client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4141
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4242

43-
<clickhouse-java.version>0.9.0-SNAPSHOT</clickhouse-java.version>
43+
<clickhouse-java.version>0.9.1-SNAPSHOT</clickhouse-java.version>
4444
<!-- Nightly snapshot version from https://central.sonatype.com/repository/maven-snapshots/or latest from local -->
45-
<!-- <clickhouse-java.version>0.9.0-SNAPSHOT</clickhouse-java.version>-->
45+
<!-- <clickhouse-java.version>0.9.1-SNAPSHOT</clickhouse-java.version>-->
4646

4747
<apache-httpclient.version>5.2.1</apache-httpclient.version>
4848

examples/demo-kotlin-service/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ ktor_version=2.3.12
33
kotlin_version=2.0.20
44
logback_version=1.4.14
55

6-
ch_java_client_version=0.9.0
6+
ch_java_client_version=0.9.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
ch_java_client_version=0.9.0
2+
ch_java_client_version=0.9.1

examples/jdbc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4848
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4949

50-
<clickhouse-java.version>0.9.0-SNAPSHOT</clickhouse-java.version>
50+
<clickhouse-java.version>0.9.1-SNAPSHOT</clickhouse-java.version>
5151
<hikaricp.version>4.0.3</hikaricp.version>
5252
<apache-httpclient.version>5.2.1</apache-httpclient.version>
5353

examples/r2dbc/clickhouse-r2dbc-spring-webflux-sample/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<properties>
1515
<maven.compiler.source>1.8</maven.compiler.source>
1616
<maven.compiler.target>1.8</maven.compiler.target>
17-
<clickhouse-java.version>0.9.0-SNAPSHOT</clickhouse-java.version>
17+
<clickhouse-java.version>0.9.1-SNAPSHOT</clickhouse-java.version>
1818
<spring-boot-starter.version>2.7.18</spring-boot-starter.version>
1919
</properties>
2020

performance/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<properties>
1616
<apache.httpclient.version>5.3.1</apache.httpclient.version>
1717
<slf4j.version>2.0.17</slf4j.version>
18-
<ch.jdbc.revision>0.9.0-SNAPSHOT</ch.jdbc.revision>
18+
<ch.jdbc.revision>0.9.1-SNAPSHOT</ch.jdbc.revision>
1919
<jmh.version>1.37</jmh.version>
2020
<testcontainers.version>1.20.6</testcontainers.version>
2121

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
</ciManagement>
7070

7171
<properties>
72-
<revision>0.9.0-SNAPSHOT</revision>
72+
<revision>0.9.1-SNAPSHOT</revision>
7373
<project.current.year>2025</project.current.year>
7474
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7575
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

0 commit comments

Comments
 (0)