Skip to content

Releases: ClickHouse/clickhouse-java

Release v0.6.0-patch5

26 May 15:43
067ae0b
Compare
Choose a tag to compare

Bug Fixes

  • Roles (memorized by client) can be reset with 'SET ROLE NONE' query (#1647)
  • MaxBufferSize can be greater than internal MAX value now
  • Updated example project to use the latest version of the client

Release v0.6.0-patch4

24 Apr 23:09
6a4ffc4
Compare
Choose a tag to compare

New Features

  • Added possibility to set client ID in Referer HTTP Header (#1572)
  • [HTTP] Persistence of a role after it is set by SET ROLE <role>

Bug Fixes

  • Change RowBinaryWithDefaults settings. Output is changed from true to false
  • Fix fail over for Apache HTTP client. Connect timeout error is not detected correctly
  • Fix password logging in DEBUG (#1571)
  • Fix handling "NoHttpResponseException" in Apache HTTP client
  • Fix param error in ByteUtils#equals in java9

Release v0.6.0-patch3

31 Mar 05:11
4c3e0eb
Compare
Choose a tag to compare

Bug Fixes

  • Not detecting correctly ClickHouse error code
  • Fix JDBC read error - Multidimensional empty errors raise a java.lang.ArrayStoreException

Release v0.6.0-patch2

21 Mar 15:44
be06439
Compare
Choose a tag to compare

Reason:
Vulnerability in dependencies

Dependencies update:

  • org.apache.commons:commons-compress from 1.23.0 to 1.26.1
  • org.postgresql:postgresql from 42.6.0 to 42.6.1

Release v0.6.0-patch1

11 Feb 12:47
c63a34d
Compare
Choose a tag to compare

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

16 Jan 06:03
cb8e198
Compare
Choose a tag to compare

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

  • Fix faulty node detection in ClickHouseNodes - #1595
  • Fix while getting addBatch with an exception drop the all batch #1373
  • Fix buffering issue caused by decompress flag not to work #1500

Release v0.5.1-SNAPSHOT

20 Dec 21:02
Compare
Choose a tag to compare

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

09 Oct 06:21
d384444
Compare
Choose a tag to compare

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

02 May 14:43
dd91e17
Compare
Choose a tag to compare

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

    • Too many socket fds generated by Apache HttpClient - by @JackyWoo
    • NoClassDefFoundError with clickhouse-apache-http-client-jdbc - #1319 by @JackyWoo
    • Nested array in tuple array is incorrectly deserialized - #1324
    • Client certificate password exposure in exception - #1331
  • ✨ 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

25 Apr 00:31
e369681
Compare
Choose a tag to compare

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
  • 🐛 Bug Fix

    • Slow when using Apache Http Client - #1320 by @JackyWoo
    • ClickHouseResponse.getInputStream may return closed input stream
    • ConcurrentModificationException may occur during deserialization - #1327 by @pan3793
    • ClickHouseSslContextProvider is not customizable - #1329
  • ✨ New Feature

    • Disabled SQL rewrite for DELETE statement in ClickHouse 23.3+
  • 🎨 Misc

    • bump MySQL JDBC driver to 8.0.33 - by @pan3793