Skip to content

Releases: ClickHouse/clickhouse-java

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

Release v0.4.4

17 Apr 05:27
887b686
Compare
Choose a tag to compare

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

17 Apr 00:44
a1ef196
Compare
Choose a tag to compare

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