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

chore(deps): bump com.clickhouse:clickhouse-jdbc from 0.7.2 to 0.8.0 #495

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2025

Bumps com.clickhouse:clickhouse-jdbc from 0.7.2 to 0.8.0.

Release notes

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

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)
Changelog

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

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)
Commits
  • 5b5ac2e added debug
  • 063bafe Merge pull request #2108 from ClickHouse/updating-changelog
  • 78fcc9b Update CHANGELOG.md
  • 2ebfa06 Update CHANGELOG.md
  • 4807241 Merge pull request #2107 from ClickHouse/timezone-testing
  • 3f57bc5 Update PreparedStatementImpl.java
  • 2581f3b Merge pull request #2083 from ClickHouse/simple-jdbc-example
  • b07d20b Updating for accuracy and helpfulness
  • 2309e9c Same behavior between V1 and V2
  • d8ef304 Changing the default calendar back and adding a comparison test
  • 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.2 to 0.8.0.
- [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.2...v0.8.0)

---
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 added the dependency-upgrade Dependency upgrade is needed label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency-upgrade Dependency upgrade is needed
Projects
Status: To review
Development

Successfully merging this pull request may close these issues.

0 participants