Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump com.clickhouse:clickhouse-jdbc from 0.7.0 to 0.8.1 in /modules/clickhouse #9970

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 17, 2025

Bumps com.clickhouse:clickhouse-jdbc from 0.7.0 to 0.8.1.

Release notes

Sourced from com.clickhouse:clickhouse-jdbc's releases.

Release v0.8.1

New Features

  • [client-v2] - Added support for Variant Data Type for RowBinary format. Can be read into a POJO or using a reader. Writing is supported only for POJO. (ClickHouse/clickhouse-java#2130)
  • [client-v2] - Added support for Dynamic Data Type for RowBinary format. Can be read into a POJO or using a reader. Writing is supported only for POJO. (ClickHouse/clickhouse-java#2130)
  • [client-v2] - Added support for JSON Data Type for RowBinary format. Can be read into a POJO or using a reader. Writing is supported only for POJO. (ClickHouse/clickhouse-java#2130)
  • [client-v2] - Added support for ZonedDateTime in POJO serde. (ClickHouse/clickhouse-java#2117)
  • [client-v2] - Added suport for micrometer metrics for Apache HTTP client connection pool. It is now possible to get metrics registered in micrometer registry by calling com.clickhouse.client.api.Client.Builder.registerClientMetrics(registry, groupName). (ClickHouse/clickhouse-java#1901)

Bug Fixes

  • [client-v2] - Fixed getTableSchema(tableName, databaseName) now it doesn't ignore database name. (ClickHouse/clickhouse-java#2139)
  • [client-v2] - Fixed returnGeneratedValues to not throw an exception. Keep in mind that ClickHouse doesn't support returning anything in response for INSERT statements. This change was done just to make client usable with certain frameworks. (ClickHouse/clickhouse-java#2121)
  • [jdbc-v2] - Fixed changing database by USE statement. (ClickHouse/clickhouse-java#2137)
  • [jbdc-v2] - Fixed ResultSetMetadata.getColumnClassName() to return null instead of throwing exception. This change is done only to allow certain frameworks work with the client. (ClickHouse/clickhouse-java#2112)
  • [jdbc-v2] - Fixed using statements with WITH in JDBC v2. Previously was causing NPE. (ClickHouse/clickhouse-java#2132)
  • [repo] - Fixed failing Test in Windows when attempting to locate files with reserved characters in the file path. (ClickHouse/clickhouse-java#2114)

Release v0.8.0

Highlights

  • We've updated ClickHouseDriver and ClickHouseDataSource to default to using the new (jdbc-v2) implementation of the JDBC driver. Setting clickhouse.jdbc.v1=true will revert this change.

JDBC Changes

  • jdbc-v2 - Removed support for Transaction Support. Early versions of the driver only simulated transaction support, which could have unexpected results.
  • jdbc-v2 - Removed support for Response Column Renaming. ResultSet was mutable - for efficiency sake they're now read-only
  • jdbc-v2 - Removed support for Multi-Statement SQL. Multi-statement support was only simulated, now it strictly follows 1:1
  • jdbc-v2 - Removed support for Named Parameters. Not part of the JDBC spec
  • jdbc-v2 - Removed support for Stream-based PreparedStatement. Early version of the driver allowed for non-jdbc usage of PreparedStatement - if you desire such options, we recommend looking at client-v2.

New Features

  • [client-v2, jdbc-v2] - Added support for Bearer token authentication like JWT. Now it is possible to specify encoded token while creating a client and change while runtime using com.clickhouse.client.api.Client.updateBearerToken. (ClickHouse/clickhouse-java#1834, ClickHouse/clickhouse-java#1988)
  • [client-v2] - Exposed connection pool metrics through Micrometer. It allows to monitor internal connection pool for number of active and leased connections. (ClickHouse/clickhouse-java#1901)

Bug Fixes

  • [client-v2] - Fixed construction of User-Agent header. Prev. implementation uses class.getPackage().getImplementationVersion() what returns incorrect title and version when library is shaded. New implementation uses build time information from resource files generated while build. (ClickHouse/clickhouse-java#2007)
  • [client-v2] - Fixed multiple issues with handling connectivity disruption. Socket timeout is unlimited by default. Added retry on timeout. Added more information to exception message. Please read the issue for more details. (ClickHouse/clickhouse-java#1994)
  • [client-v2] - Client doesn't close provided executor anymore letting application close it instead. (ClickHouse/clickhouse-java#1956)
  • [client-v2] - Removed unnecessary initialization to make startup time shorter. (ClickHouse/clickhouse-java#2032)

Release v0.7.2

New Components

  • jdbc-v2 - pre-release version of upcoming clickhouse-jdbc replacement. Supports basic functionality, works only with client-v2.

... (truncated)

Changelog

Sourced from com.clickhouse:clickhouse-jdbc's changelog.

0.8.1

New Features

  • [client-v2] - Added support for Variant Data Type for RowBinary format. Can be read into a POJO or using a reader. Writing is supported only for POJO. (ClickHouse/clickhouse-java#2130)
  • [client-v2] - Added support for Dynamic Data Type for RowBinary format. Can be read into a POJO or using a reader. Writing is supported only for POJO. (ClickHouse/clickhouse-java#2130)
  • [client-v2] - Added support for JSON Data Type for RowBinary format. Can be read into a POJO or using a reader. Writing is supported only for POJO. (ClickHouse/clickhouse-java#2130)
  • [client-v2] - Added support for ZonedDateTime in POJO serde. (ClickHouse/clickhouse-java#2117)
  • [client-v2] - Added suport for micrometer metrics for Apache HTTP client connection pool. It is now possible to get metrics registered in micrometer registry by calling com.clickhouse.client.api.Client.Builder.registerClientMetrics(registry, groupName). (ClickHouse/clickhouse-java#1901)

Bug Fixes

  • [client-v2] - Fixed getTableSchema(tableName, databaseName) now it doesn't ignore database name. (ClickHouse/clickhouse-java#2139)
  • [client-v2] - Fixed returnGeneratedValues to not throw an exception. Keep in mind that ClickHouse doesn't support returning anything in response for INSERT statements. This change was done just to make client usable with certain frameworks. (ClickHouse/clickhouse-java#2121)
  • [jdbc-v2] - Fixed changing database by USE statement. (ClickHouse/clickhouse-java#2137)
  • [jbdc-v2] - Fixed ResultSetMetadata.getColumnClassName() to return null instead of throwing exception. This change is done only to allow certain frameworks work with the client. (ClickHouse/clickhouse-java#2112)
  • [jdbc-v2] - Fixed using statements with WITH in JDBC v2. Previously was causing NPE. (ClickHouse/clickhouse-java#2132)
  • [repo] - Fixed failing Test in Windows when attempting to locate files with reserved characters in the file path. (ClickHouse/clickhouse-java#2114)

0.8.0

Highlights

  • We've updated ClickHouseDriver and ClickHouseDataSource to default to using the new (jdbc-v2) implementation of the JDBC driver. Setting clickhouse.jdbc.v1=true will revert this change.

JDBC Changes

  • jdbc-v2 - Removed support for Transaction Support. Early versions of the driver only simulated transaction support, which could have unexpected results.
  • jdbc-v2 - Removed support for Response Column Renaming. ResultSet was mutable - for efficiency sake they're now read-only
  • jdbc-v2 - Removed support for Multi-Statement SQL. Multi-statement support was only simulated, now it strictly follows 1:1
  • jdbc-v2 - Removed support for Named Parameters. Not part of the JDBC spec
  • jdbc-v2 - Removed support for Stream-based PreparedStatement. Early version of the driver allowed for non-jdbc usage of PreparedStatement - if you desire such options, we recommend looking at client-v2.

New Features

  • [client-v2, jdbc-v2] - Added support for Bearer token authentication like JWT. Now it is possible to specify encoded token while creating a client and change while runtime using com.clickhouse.client.api.Client.updateBearerToken. (ClickHouse/clickhouse-java#1834, ClickHouse/clickhouse-java#1988)
  • [client-v2] - Exposed connection pool metrics through Micrometer. It allows to monitor internal connection pool for number of active and leased connections. (ClickHouse/clickhouse-java#1901)

Bug Fixes

  • [client-v2] - Fixed construction of User-Agent header. Prev. implementation uses class.getPackage().getImplementationVersion() what returns incorrect title and version when library is shaded. New implementation uses build time information from resource files generated while build. (ClickHouse/clickhouse-java#2007)
  • [client-v2] - Fixed multiple issues with handling connectivity disruption. Socket timeout is unlimited by default. Added retry on timeout. Added more information to exception message. Please read the issue for more details. (ClickHouse/clickhouse-java#1994)
  • [client-v2] - Client doesn't close provided executor anymore letting application close it instead. (ClickHouse/clickhouse-java#1956)
  • [client-v2] - Removed unnecessary initialization to make startup time shorter. (ClickHouse/clickhouse-java#2032)

0.7.2

... (truncated)

Commits
  • 25af97d Update release.yml
  • 1f0426c Update release.yml
  • 46b5839 Merge pull request #2153 from ClickHouse/pre_0.8.1
  • 8601c02 Merge pull request #2149 from ClickHouse/resolve-null-dtos
  • 32c015c updated changelog and versions
  • 3ccfeb0 Send null when nullable
  • eb27cad Merge pull request #2130 from ClickHouse/v2_support_dynamic_and_json
  • edc87a1 fixed Period serialization
  • 17b8770 added interval serialization/deserialization
  • 296d676 addressed some issues
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.clickhouse:clickhouse-jdbc](https://github.com/ClickHouse/clickhouse-java) from 0.7.0 to 0.8.1.
- [Release notes](https://github.com/ClickHouse/clickhouse-java/releases)
- [Changelog](https://github.com/ClickHouse/clickhouse-java/blob/main/CHANGELOG.md)
- [Commits](ClickHouse/clickhouse-java@v0.7.0...v0.8.1)

---
updated-dependencies:
- dependency-name: com.clickhouse:clickhouse-jdbc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner February 17, 2025 22:22
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java labels Feb 17, 2025
@settings settings bot removed the java label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file modules/clickhouse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants