Releases: ClickHouse/clickhouse-java
Release v0.6.0-patch2
Reason:
Vulnerability in dependencies
Dependencies update:
org.apache.commons:commons-compress
from1.23.0
to1.26.1
org.postgresql:postgresql
from42.6.0
to42.6.1
Release v0.6.0-patch1
Bug Fixes
- Fix decompress bug in NonBlockingPipedOutputStream (#1542)
- Fix decompress bug in NonBlockingPipedOutputStream & extra logging
- Use StringUtils to make large content
- Move test to http client test
Release v0.6.0
WARNING -- ClickHouse CLI Client deprecation
clickhouse-cli-client
package is deprecated from version 0.6.0 and it's going to be removed in 0.7.0
. We recommend using clickhouse-client instead.
WARNING -- ClickHouse GRPC Client deprecation
clickhouse-grpc-client
package is deprecated from version 0.6.0 and it's going to be removed in 0.7.0
. We recommend using HTTP protocol instead.
Breaking Changes
- Remove WEB_CONTEXT support - #1512
New Features
- Add support in RowBinaryWithDefaults #1508
Bug Fixes
Release v0.5.1-SNAPSHOT
Commits
- [048b9e4]: Fix buffering issue casue decompress not to work (mzitnik) #1500
- [8658147]: Added different content sizes testting (mzitnik) #1500
- [d6cd675]: Disable until web context ping reqests until research is done. (mzitnik) #1500
- [c66377e]: Adding extra logging (mzitnik) #1500
- [a930f62]: Disable ping tests (mzitnik) #1500
Release v0.5.0
0.5.0
Breaking Changes
- ClickHouseByteBuffer can no longer be extended
- rename ClickHouseByteUtils methods by removing LE suffix
- change default databaseTerm from schema to catalog
- remove deprecated API load, dump and connect
- remove use_no_proxy settings
New Features
- Adding new proxy support #1338
- Add support for customer socket factory #1391
- use VarHandle in JDK 9+ to read/write numbers
- Establish secured connection with custom Trust Store file
- Change default HTTP Client to Apache HTTP client #1421
Bug Fixes
- Java client threw confusing error when query is invalid.
- JDBC Driver correctly processes
AggregateFunction(Nested(...))
columns - Incorrect parameter position
- Fix testing framework to support secured clickhouse server
Release v0.4.6
This is a patch release mainly for bug fixes. It's highly recommended to upgrade, especially when you're using nested arrays, or client certificate authentication with password protection.
-
🐛 Bug Fix
-
✨ New Feature
- ClickHouseStatement.setMirroredOutput() for dumping ResultSet
- ClickHouseResponse.records(Class<?>) for object mapping
- Two new options(use_compilation & max_mapper_cache) reserved for future usage
Release v0.4.5
Another tiny release trying to unblock some of the work relying on Java client. You don't have to upgrade if you use JDBC or R2DBC driver.
-
💥 BREAKING CHANGES
- Refactored data processors and response classes to ensure input stream remain intact before first read - performance penalty is ~3%
- move ClickHouseSimpleRecord to com.clickhouse.data
- stop reading input stream when instantiating ClickHouseDataProcessor
- remove createRecord() method in ClickHouseDataProcessor along with some duplicated code
- Refactored data processors and response classes to ensure input stream remain intact before first read - performance penalty is ~3%
-
🐛 Bug Fix
-
✨ New Feature
- Disabled SQL rewrite for DELETE statement in ClickHouse 23.3+
-
🎨 Misc
- bump MySQL JDBC driver to 8.0.33 - by @pan3793
Release v0.4.4
Same as v0.4.3 except updated POM for the following changes:
- bump dependencies
- roll back Maven flatten plugin from 1.4.1 to 1.2.7
Release v0.4.3
Warning Please upgrade to v0.4.4 to resolve dependency issue.
This is a tiny release for bug fixing. Please upgrade if your work rely on text-based data format and/or R2DBC driver.
- 🐛 Bug Fix
- unable to convert empty string to default value when using text-based data format
- r2dbc driver does not support most client options - #1299
- incorrect content from Lz4InputStream when using text-based data format - ClickHouse/ClickHouse#48446
Release v0.4.2
This is a minor release with bug fixes and some new features.
-
💥 BREAKING CHANGES
- Refactored SQL parser to support keywords
compression
,infile
, andoutfile
- Refactored SQL parser to support keywords
-
🐛 Bug Fix
- remove duplicated socket options - #1263 by @JackyWoo
- error while converting Nested values to Java maps
- incorrect algorithm extracted from PEM - #1274
- transaction failure introduced in 0.4.0
- respect node-specific credentials - #1114
- USE statement does nothing - #1160
- executeBatch does not support on cluster anymore - #1261
-
✨ New Feature
- Add credentials overload for Java client - #1265 by @rickysaltzer
- centralized configuration for JDBC driver using custom server setting
custom_jdbc_config
- #1290 - support
BEGIN TRANSACTION
,COMMIT
, andROLLBACK
statements in JDBC driver - new options for JDBC driver
-
🎨 Misc
- move docs to ClickHouse website as well as bug template and contribution guide - by @mshustov
- improved error messages for missing dependency
- replaced default JDBC artifact with shaded jar and more dependencies in
provided
scope