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-r2dbc from 0.7.0 to 0.8.0 in /modules/clickhouse #9896

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 Jan 27, 2025

Bumps com.clickhouse:clickhouse-r2dbc from 0.7.0 to 0.8.0.

Release notes

Sourced from com.clickhouse:clickhouse-r2dbc'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)

Release v0.7.2

New Components

  • jdbc-v2 - pre-release version of upcoming clickhouse-jdbc replacement. Supports basic functionality, works only with client-v2. More information will be available after its release

Highlights

  • [repo] Added shaded packages with requires a set of dependencies. Use all classified for client-v2 full package. Use shaded-all for old jdbc driver.
  • [client-v2] New Data Writer API was added. It allows to gain a control over writing data to low-level output stream. This API makes it possible to write compressed data directly to server. See com.clickhouse.client.api.Client#insert(java.lang.String, com.clickhouse.client.api.DataStreamWriter, com.clickhouse.data.ClickHouseFormat, com.clickhouse.client.api.insert.InsertSettings) (ClickHouse/clickhouse-java#2034)

New Features

  • [client-v2] Added ability to specify client name. It means User-Agent will be filled with proper information (ClickHouse/clickhouse-java#1948)
  • [client-v2] Implemented statement parameters for queryAll and queryRecords API methods. (ClickHouse/clickhouse-java#1979)
  • [client-v2] Implemented string to number conversion. (ClickHouse/clickhouse-java#2014)
  • [client-v1] Added basic auth support for proxies. Now you can specify username/password when connecting via a proxy that requires it with HttpURLConnection and Apache HttpClient.
  • [client-v2] Enum columns can be read as string and number. Previously only as number. Now number matching string constant is returned when get as string. (ClickHouse/clickhouse-java#2028)
  • [client-v2] Client will load some server context (timezone, user) right after build. (ClickHouse/clickhouse-java#2029)

Bug Fixes

... (truncated)

Changelog

Sourced from com.clickhouse:clickhouse-r2dbc'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)

0.7.2

New Components

  • jdbc-v2 - pre-release version of upcoming clickhouse-jdbc replacement. Supports basic functionality, works only with client-v2. More information will be available after its release

Highlights

  • [repo] Added shaded packages with requires a set of dependencies. Use all classified for client-v2 full package. Use shaded-all for old jdbc driver.
  • [client-v2] New Data Writer API was added. It allows to gain a control over writing data to low-level output stream. This API makes it possible to write compressed data directly to server. See com.clickhouse.client.api.Client#insert(java.lang.String, com.clickhouse.client.api.DataStreamWriter, com.clickhouse.data.ClickHouseFormat, com.clickhouse.client.api.insert.InsertSettings) (ClickHouse/clickhouse-java#2034)

New Features

  • [client-v2] Added ability to specify client name. It means User-Agent will be filled with proper information (ClickHouse/clickhouse-java#1948)
  • [client-v2] Implemented statement parameters for queryAll and queryRecords API methods. (ClickHouse/clickhouse-java#1979)
  • [client-v2] Implemented string to number conversion. (ClickHouse/clickhouse-java#2014)
  • [client-v1] Added basic auth support for proxies. Now you can specify username/password when connecting via a proxy that requires it with HttpURLConnection and Apache HttpClient.
  • [client-v2] Enum columns can be read as string and number. Previously only as number. Now number matching string constant is returned when get as string. (ClickHouse/clickhouse-java#2028)
  • [client-v2] Client will load some server context (timezone, user) right after build. (ClickHouse/clickhouse-java#2029)

Bug Fixes

... (truncated)

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-r2dbc](https://github.com/ClickHouse/clickhouse-java) from 0.7.0 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.0...v0.8.0)

---
updated-dependencies:
- dependency-name: com.clickhouse:clickhouse-r2dbc
  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 January 27, 2025 22:30
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java labels Jan 27, 2025
@settings settings bot removed the java label Jan 30, 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