From 28678890d6b8b90e36467ca8a8808dfa7319a06e Mon Sep 17 00:00:00 2001 From: Sergey Chernov Date: Tue, 17 Mar 2026 13:23:07 -0700 Subject: [PATCH 1/2] PRE 0.9.8 --- CHANGELOG.md | 23 +++++++++++++++++++ examples/client-v2/pom.xml | 2 +- examples/client/pom.xml | 4 ++-- .../demo-kotlin-service/gradle.properties | 2 +- examples/demo-service/gradle.properties | 2 +- examples/jdbc/pom.xml | 2 +- .../pom.xml | 2 +- performance/pom.xml | 2 +- pom.xml | 2 +- 9 files changed, 32 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31d011412..0dc2eb4a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +## 0.9.8 + +### Updated Dependencies + +- **[repo]** Upgraded `at.yawk.lz4:lz4-java` from `1.10.2` to `1.10.4` to pick up native performance fixes. (https://github.com/ClickHouse/clickhouse-java/pull/2778) + +- **[repo]** Upgraded `com.fasterxml.jackson.core:jackson-core` from `2.17.2` to `2.18.6` in `jdbc-v2`. (https://github.com/ClickHouse/clickhouse-java/pull/2767) + +- **[repo]** Upgraded `com.fasterxml.jackson.core:jackson-core` from `2.17.2` to `2.18.6` in `examples/client-v2`. (https://github.com/ClickHouse/clickhouse-java/pull/2766) + +### Improvements + +- **[client-v2]** Added `Records#getSchema()` to expose table schema metadata even when query result is empty. (https://github.com/ClickHouse/clickhouse-java/pull/2777) + +### Bug Fixes + +- **[jdbc-v1, jdbc-v2]** Fixed type mapping/conversion behavior for large unsigned integer values (issue #2779), including related test coverage updates. (https://github.com/ClickHouse/clickhouse-java/issues/2779) + +- **[jdbc-v2]** Fixed off-by-one bug in `ArrayResultSet#next()` that could return `true` one extra time and then fail with `SQLException: No current row`. (https://github.com/ClickHouse/clickhouse-java/pull/2790) + +- **[jdbc-v2]** Fixed handling of `UNKNOWN` SQL statements that return a result set. (https://github.com/ClickHouse/clickhouse-java/issues/2784) + + ## 0.9.7 ### Breaking Changes diff --git a/examples/client-v2/pom.xml b/examples/client-v2/pom.xml index 55b2921d7..360e0722e 100644 --- a/examples/client-v2/pom.xml +++ b/examples/client-v2/pom.xml @@ -54,7 +54,7 @@ UTF-8 UTF-8 - 0.9.7-SNAPSHOT + 0.9.8-SNAPSHOT 3.8.1 diff --git a/examples/client/pom.xml b/examples/client/pom.xml index fab78f9bb..55e0e354b 100644 --- a/examples/client/pom.xml +++ b/examples/client/pom.xml @@ -40,9 +40,9 @@ UTF-8 UTF-8 - 0.9.7-SNAPSHOT + 0.9.8-SNAPSHOT - + 5.2.1 diff --git a/examples/demo-kotlin-service/gradle.properties b/examples/demo-kotlin-service/gradle.properties index 6900be03d..910243552 100644 --- a/examples/demo-kotlin-service/gradle.properties +++ b/examples/demo-kotlin-service/gradle.properties @@ -3,4 +3,4 @@ ktor_version=2.3.12 kotlin_version=2.0.20 logback_version=1.4.14 -ch_java_client_version=0.9.7 \ No newline at end of file +ch_java_client_version=0.9.8 \ No newline at end of file diff --git a/examples/demo-service/gradle.properties b/examples/demo-service/gradle.properties index 584d85b82..17c78e75c 100644 --- a/examples/demo-service/gradle.properties +++ b/examples/demo-service/gradle.properties @@ -1,2 +1,2 @@ -ch_java_client_version=0.9.7 \ No newline at end of file +ch_java_client_version=0.9.8 \ No newline at end of file diff --git a/examples/jdbc/pom.xml b/examples/jdbc/pom.xml index 94021cfd6..c21b09fba 100644 --- a/examples/jdbc/pom.xml +++ b/examples/jdbc/pom.xml @@ -54,7 +54,7 @@ UTF-8 UTF-8 - 0.9.7-SNAPSHOT + 0.9.8-SNAPSHOT 4.0.3 5.2.1 diff --git a/examples/r2dbc/clickhouse-r2dbc-spring-webflux-sample/pom.xml b/examples/r2dbc/clickhouse-r2dbc-spring-webflux-sample/pom.xml index 511902206..4c39b3184 100644 --- a/examples/r2dbc/clickhouse-r2dbc-spring-webflux-sample/pom.xml +++ b/examples/r2dbc/clickhouse-r2dbc-spring-webflux-sample/pom.xml @@ -14,7 +14,7 @@ 1.8 1.8 - 0.9.7-SNAPSHOT + 0.9.8-SNAPSHOT 2.7.18 diff --git a/performance/pom.xml b/performance/pom.xml index 3596d83e5..7f25f9a27 100644 --- a/performance/pom.xml +++ b/performance/pom.xml @@ -15,7 +15,7 @@ 5.3.1 2.0.17 - 0.9.7-SNAPSHOT + 0.9.8-SNAPSHOT 1.37 2.0.2 diff --git a/pom.xml b/pom.xml index b05fd6c63..161be8872 100644 --- a/pom.xml +++ b/pom.xml @@ -69,7 +69,7 @@ - 0.9.7-SNAPSHOT + 0.9.8-SNAPSHOT 2026 UTF-8 UTF-8 From 649347c7ce8677f2fe159a1b0da0fd3d4020ebd9 Mon Sep 17 00:00:00 2001 From: Sergey Chernov Date: Wed, 18 Mar 2026 13:10:56 -0700 Subject: [PATCH 2/2] Updated changelog --- CHANGELOG.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dc2eb4a2..f836a5c89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,5 @@ ## 0.9.8 -### Updated Dependencies - -- **[repo]** Upgraded `at.yawk.lz4:lz4-java` from `1.10.2` to `1.10.4` to pick up native performance fixes. (https://github.com/ClickHouse/clickhouse-java/pull/2778) - -- **[repo]** Upgraded `com.fasterxml.jackson.core:jackson-core` from `2.17.2` to `2.18.6` in `jdbc-v2`. (https://github.com/ClickHouse/clickhouse-java/pull/2767) - -- **[repo]** Upgraded `com.fasterxml.jackson.core:jackson-core` from `2.17.2` to `2.18.6` in `examples/client-v2`. (https://github.com/ClickHouse/clickhouse-java/pull/2766) - ### Improvements - **[client-v2]** Added `Records#getSchema()` to expose table schema metadata even when query result is empty. (https://github.com/ClickHouse/clickhouse-java/pull/2777) @@ -18,8 +10,15 @@ - **[jdbc-v2]** Fixed off-by-one bug in `ArrayResultSet#next()` that could return `true` one extra time and then fail with `SQLException: No current row`. (https://github.com/ClickHouse/clickhouse-java/pull/2790) -- **[jdbc-v2]** Fixed handling of `UNKNOWN` SQL statements that return a result set. (https://github.com/ClickHouse/clickhouse-java/issues/2784) +- **[jdbc-v2]** Fixed handling of malformed `SELECT`-like queries (for example, `SELECT a, FROM table`): previously, the driver could fail to read returned data when query type was not inferred before execution; now it detects a returned result set at runtime from the server response and reads it correctly. (https://github.com/ClickHouse/clickhouse-java/issues/2784) +### Updated Dependencies + +- **[repo]** Upgraded `at.yawk.lz4:lz4-java` from `1.10.2` to `1.10.4` to pick up native performance fixes. (https://github.com/ClickHouse/clickhouse-java/pull/2778) + +- **[repo]** Upgraded `com.fasterxml.jackson.core:jackson-core` from `2.17.2` to `2.18.6` in `jdbc-v2`. (https://github.com/ClickHouse/clickhouse-java/pull/2767) + +- **[repo]** Upgraded `com.fasterxml.jackson.core:jackson-core` from `2.17.2` to `2.18.6` in `examples/client-v2`. (https://github.com/ClickHouse/clickhouse-java/pull/2766) ## 0.9.7