Skip to content

Commit

Permalink
pre 0.7.1 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chernser committed Oct 31, 2024
1 parent 85f7bae commit 8d9aa24
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

env:
CHC_BRANCH: "main"
CHC_VERSION: "0.7.0"
CHC_VERSION: "0.7.1"

jobs:
nightly:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
version:
description: "Release version"
required: true
default: "0.7.0-SNAPSHOT"
default: "0.7.1-SNAPSHOT"

jobs:
release:
Expand Down
38 changes: 37 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,40 @@
## Latest
## 0.7.1

### New Features
- [client-v2] Implemented more friendly number conversion. Now it is possible to convert smaller type to bigger one.
It is also possible to convert bigger into smaller if value fits into the range. (https://github.com/ClickHouse/clickhouse-java/issues/1852)
- [client-v2] Ported a feature that allows to remember DB roles for a client instance. See `com.clickhouse.client.api.Client#setDBRoles`
for details. (https://github.com/ClickHouse/clickhouse-java/issues/1832)
- [client-v2] Ported a feature that allows adding comments to a query.
See `com.clickhouse.client.api.insert.InsertSettings#logComment` and `com.clickhouse.client.api.query.QuerySettings#logComment`
for details. (https://github.com/ClickHouse/clickhouse-java/issues/1836)
- [client-v2] Added support for SSL Authentication with client certificates. (https://github.com/ClickHouse/clickhouse-java/issues/1837)
- [client-v2] Implemented a way to define a custom matching between a column name and a field in a POJO in `Client#register` method. (https://github.com/ClickHouse/clickhouse-java/issues/1866)
- [client-v1, client-v2] Implemented HTTP Basic authentication and made it a default auth method for HTTP interface. It
was done to address problem with passwords contianing special and UTF8 characters. New configuration option
`com.clickhouse.client.http.config.ClickHouseHttpOption.USE_BASIC_AUTHENTICATION` for client v1 is added. For client v2
use `com.clickhouse.client.api.Client.Builder#useHTTPBasicAuth` method. (https://github.com/ClickHouse/clickhouse-java/issues/1305)


### Dependency Updates
- [client] Bumped org.apache.avro:avro version to 1.11.4 (https://github.com/ClickHouse/clickhouse-java/pull/1855)

### Documentation
- [client] Added links to javadoc for all classes in the README.md (https://github.com/ClickHouse/clickhouse-java/pull/1878)

### Bug Fixes
- [client-v2] Fixed deserializing nullable columns of `Nested` type (https://github.com/ClickHouse/clickhouse-java/issues/1858)
- [client-v2] Fixed dependencies needed for compression to work out of the box (https://github.com/ClickHouse/clickhouse-java/issues/1805)
- [client-v2] Fixed dependency on SNAPSHOT component (https://github.com/ClickHouse/clickhouse-java/issues/1853)
- [client-v2] Fixed using `scale` from a column definition when deserializing DateTime64 values (https://github.com/ClickHouse/clickhouse-java/issues/1851)
- [client-v2] Fixed applying database from insert settings (https://github.com/ClickHouse/clickhouse-java/issues/1868)
- [client-v2] Fixed error handling from server (https://github.com/ClickHouse/clickhouse-java/issues/1874)
- [client-v2] Fixed SerDe for SimpleAggregateFunction columns (https://github.com/ClickHouse/clickhouse-java/pull/1876)
- [client] Fixed handling error from server in response with `200 OK` status. Happens when
`send_progress_in_http_headers` is requested and query runs for a long time. (https://github.com/ClickHouse/clickhouse-java/issues/1821)
- [jdbc] Fixed incorrect error logging (https://github.com/ClickHouse/clickhouse-java/issues/1827)
- [client-v2] Fixed handling tuples in arrays (https://github.com/ClickHouse/clickhouse-java/issues/1882)
- [client-v2] Fixed passing `insert_duplication_token` through `InsertSettings`. (https://github.com/ClickHouse/clickhouse-java/issues/1877)

## 0.7.0

Expand Down
2 changes: 1 addition & 1 deletion examples/client-v2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<clickhouse-java.version>0.7.0-SNAPSHOT</clickhouse-java.version>
<clickhouse-java.version>0.7.1-SNAPSHOT</clickhouse-java.version>
<apache-httpclient.version>5.3.1</apache-httpclient.version>

<compiler-plugin.version>3.8.1</compiler-plugin.version>
Expand Down
4 changes: 2 additions & 2 deletions examples/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<clickhouse-java.version>0.7.0-SNAPSHOT</clickhouse-java.version>
<clickhouse-java.version>0.7.1-SNAPSHOT</clickhouse-java.version>
<!-- Nightly snapshot version from https://s01.oss.sonatype.org/content/repositories/snapshots/ or latest from local -->
<!-- <clickhouse-java.version>0.7.0-SNAPSHOT</clickhouse-java.version>-->
<!-- <clickhouse-java.version>0.7.1</clickhouse-java.version>-->

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

Expand Down
3 changes: 2 additions & 1 deletion examples/demo-kotlin-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ dependencies {
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor_version")

// https://mvnrepository.com/artifact/com.clickhouse/client-v2
implementation("com.clickhouse:client-v2:0.7.0-SNAPSHOT")
implementation("com.clickhouse:client-v2:0.7.1-SNAPSHOT")
// implementation("com.clickhouse:client-v2:0.7.1") // release version

testImplementation("io.ktor:ktor-server-test-host-jvm")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
Expand Down
6 changes: 3 additions & 3 deletions examples/demo-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ dependencies {

// -- clickhouse dependencies
// Main dependency
implementation("com.clickhouse:client-v2:0.7.0-SNAPSHOT") // nightly build
// implementation("com.clickhouse:client-v2:0.7.0") // stable version
implementation("com.clickhouse:client-v2:0.7.1-SNAPSHOT") // local or nightly build
// implementation("com.clickhouse:client-v2:0.7.1") // release version

// -- clickhouse-http-client dependencies if old implementation is needed
// implementation("com.clickhouse:clickhouse-http-client:0.7.0-SNAPSHOT")
// implementation("com.clickhouse:clickhouse-http-client:0.7.1-SNAPSHOT")

// -- application dependencies
implementation("org.springframework.boot:spring-boot-starter-actuator")
Expand Down
2 changes: 1 addition & 1 deletion examples/jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<clickhouse-java.version>0.7.0-SNAPSHOT</clickhouse-java.version>
<clickhouse-java.version>0.7.1-SNAPSHOT</clickhouse-java.version>
<hikaricp.version>4.0.3</hikaricp.version>
<apache-httpclient.version>5.2.1</apache-httpclient.version>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<clickhouse-java.version>0.7.0-SNAPSHOT</clickhouse-java.version>
<clickhouse-java.version>0.7.1-SNAPSHOT</clickhouse-java.version>
<spring-boot-starter.version>2.7.18</spring-boot-starter.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
</distributionManagement>

<properties>
<revision>0.7.0-SNAPSHOT</revision>
<revision>0.7.1-SNAPSHOT</revision>
<project.current.year>2024</project.current.year>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Expand Down

0 comments on commit 8d9aa24

Please sign in to comment.