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. (#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. (#1832) - [client-v2] Ported a feature that allows adding comments to a query.
Seecom.clickhouse.client.api.insert.InsertSettings#logCommentandcom.clickhouse.client.api.query.QuerySettings#logComment
for details. (#1836) - [client-v2] Added support for SSL Authentication with client certificates. (#1837)
- [client-v2] Implemented a way to define a custom matching between a column name and a field in a POJO in
Client#registermethod. (#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_AUTHENTICATIONfor client v1 is added. For client v2
usecom.clickhouse.client.api.Client.Builder#useHTTPBasicAuthmethod. (#1305)
Dependency Updates
- [client] Bumped org.apache.avro:avro version to 1.11.4 (#1855)
Documentation
- [client] Added links to javadoc for all classes in the README.md (#1878)
Bug Fixes
- [client-v2] Fixed deserializing nullable columns of
Nestedtype (#1858) - [client-v2] Fixed dependencies needed for compression to work out of the box (#1805)
- [client-v2] Fixed dependency on SNAPSHOT component (#1853)
- [client-v2] Fixed using
scalefrom a column definition when deserializing DateTime64 values (#1851) - [client-v2] Fixed applying database from insert settings (#1868)
- [client-v2] Fixed error handling from server (#1874)
- [client-v2] Fixed SerDe for SimpleAggregateFunction columns (#1876)
- [client] Fixed handling error from server in response with
200 OKstatus. Happens when
send_progress_in_http_headersis requested and query runs for a long time. (#1821) - [jdbc] Fixed incorrect error logging (#1827)
- [client-v2] Fixed handling tuples in arrays (#1882)
- [client-v2] Fixed passing
insert_duplication_tokenthroughInsertSettings. (#1877)