diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e3d684718..838bbb988 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,6 @@ on: version: description: "Release version" required: true - default: "0.8.0-SNAPSHOT" env: CH_VERSION: "24.8" diff --git a/CHANGELOG.md b/CHANGELOG.md index 3aca09646..d249721dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ ## Latest +## 0.8.1 + +### New Features +- [client-v2] - Added support for Variant Data Type for RowBinary format. Can be read into a POJO or using a reader. +Writing is supported only for POJO. (https://github.com/ClickHouse/clickhouse-java/pull/2130) +- [client-v2] - Added support for Dynamic Data Type for RowBinary format. Can be read into a POJO or using a reader. + Writing is supported only for POJO. (https://github.com/ClickHouse/clickhouse-java/pull/2130) +- [client-v2] - Added support for JSON Data Type for RowBinary format. Can be read into a POJO or using a reader. + Writing is supported only for POJO. (https://github.com/ClickHouse/clickhouse-java/pull/2130) +- [client-v2] - Added support for `ZonedDateTime` in POJO serde. (https://github.com/ClickHouse/clickhouse-java/issues/2117) +- [client-v2] - Added suport for micrometer metrics for Apache HTTP client connection pool. It is now possible to get metrics registered +in micrometer registry by calling `com.clickhouse.client.api.Client.Builder.registerClientMetrics(registry, groupName)`. (https://github.com/ClickHouse/clickhouse-java/issues/1901) + +### Bug Fixes +- [client-v2] - Fixed `getTableSchema(tableName, databaseName)` now it doesn't ignore database name. (https://github.com/ClickHouse/clickhouse-java/issues/2139) +- [client-v2] - Fixed `returnGeneratedValues` to not throw an exception. Keep in mind that ClickHouse doesn't support +returning anything in response for `INSERT` statements. This change was done just to make client usable with certain frameworks. (https://github.com/ClickHouse/clickhouse-java/issues/2121) +- [jdbc-v2] - Fixed changing database by `USE` statement. (https://github.com/ClickHouse/clickhouse-java/issues/2137) +- [jbdc-v2] - Fixed `ResultSetMetadata.getColumnClassName()` to return null instead of throwing exception. This change is done only +to allow certain frameworks work with the client. (https://github.com/ClickHouse/clickhouse-java/issues/2112) +- [jdbc-v2] - Fixed using statements with `WITH` in JDBC v2. Previously was causing NPE. (https://github.com/ClickHouse/clickhouse-java/issues/2132) +- [repo] - Fixed failing Test in Windows when attempting to locate files with reserved characters in the file path. (https://github.com/ClickHouse/clickhouse-java/issues/2114) + ## 0.8.0 ### Highlights diff --git a/examples/client-v2/pom.xml b/examples/client-v2/pom.xml index 33d7bad18..5629e8711 100644 --- a/examples/client-v2/pom.xml +++ b/examples/client-v2/pom.xml @@ -54,7 +54,7 @@ UTF-8 UTF-8 - 0.8.0-SNAPSHOT + 0.8.1-SNAPSHOT 3.8.1 diff --git a/examples/client/pom.xml b/examples/client/pom.xml index 269260deb..2fba9b5b0 100644 --- a/examples/client/pom.xml +++ b/examples/client/pom.xml @@ -40,9 +40,9 @@ UTF-8 UTF-8 - 0.8.0-SNAPSHOT + 0.8.1-SNAPSHOT - + 5.2.1 diff --git a/examples/demo-kotlin-service/gradle.properties b/examples/demo-kotlin-service/gradle.properties index 57273fc85..05aa20726 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.8.0 \ No newline at end of file +ch_java_client_version=0.8.1 \ No newline at end of file diff --git a/examples/demo-service/gradle.properties b/examples/demo-service/gradle.properties index 5ea3c7722..6fbe286d6 100644 --- a/examples/demo-service/gradle.properties +++ b/examples/demo-service/gradle.properties @@ -1,2 +1,2 @@ -ch_java_client_version=0.8.0 \ No newline at end of file +ch_java_client_version=0.8.1 \ No newline at end of file diff --git a/examples/jdbc/pom.xml b/examples/jdbc/pom.xml index 8b00ac35b..4673e9745 100644 --- a/examples/jdbc/pom.xml +++ b/examples/jdbc/pom.xml @@ -47,7 +47,7 @@ UTF-8 UTF-8 - 0.8.0-SNAPSHOT + 0.8.1-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 1458f78f3..b7762d7ff 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.7.1-SNAPSHOT + 0.8.1-SNAPSHOT 2.7.18 diff --git a/pom.xml b/pom.xml index cd5eb1b5f..a6f30849b 100644 --- a/pom.xml +++ b/pom.xml @@ -81,7 +81,7 @@ - 0.8.0-SNAPSHOT + 0.8.1-SNAPSHOT 2025 UTF-8 UTF-8