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 clickhouse-connect from 0.7.19 to 0.8.12 #1371

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps clickhouse-connect from 0.7.19 to 0.8.12.

Release notes

Sourced from clickhouse-connect's releases.

v0.8.12 JWT Authentication support

What's Changed

Full Changelog: ClickHouse/clickhouse-connect@v0.8.11...v0.8.12

v0.8.11 Nested JSON bug fixes

What's Changed

New Contributors

Full Changelog: ClickHouse/clickhouse-connect@v0.8.10...v0.8.11

v0.8.10 JSON Serialization Updates

What's Changed

Full Changelog: ClickHouse/clickhouse-connect@v0.8.9...v0.8.10

v0.8.9 Revert timezone UTC changes

What's Changed

Full Changelog: ClickHouse/clickhouse-connect@v0.8.8...v0.8.9

v0.8.8 HTTP Exception Handling

What's Changed

Full Changelog: ClickHouse/clickhouse-connect@v0.8.7...v0.8.8

v0.8.7 More Geometric Types

What's Changed

Full Changelog: ClickHouse/clickhouse-connect@v0.8.6...v0.8.7

v0.8.6 Streaming bug fixes

What's Changed

... (truncated)

Changelog

Sourced from clickhouse-connect's changelog.

0.8.12, 2025-01-06

Improvement

  • Added support for JWT authentication (ClickHouse Cloud feature). It can be set via the access_token client configuration option for both sync and async clients. The token can also be updated via the set_access_token method in the existing client instance. NB: do not mix access token and username/password credentials in the configuration; the client will throw an error if both are set.

0.8.11, 2024-12-21

Improvement

  • Support of ISO8601 strings for inserting values to columns with DateTime64 type was added. If the driver detects that the inserted data for a DateTime64 is a string, it will attempt to parse an ISO-8601 datetime from that string. Other string formats are not currently supported. Thanks to Nikita Reznikov for the PR!

Bug Fix

  • Correctly handled native format column prefixes and insert names for Variant/Dynamic/JSON. Fixes ClickHouse/clickhouse-connect#441 and likely some other issues with experimental types Variant,Dynamic, and JSON.

0.8.10, 2024-12-14

Bug Fixes

  • The experimental JSON type would break in some circumstances with ClickHouse server version 24.10 and later. This has been fixed. The fix is incompatible with ClickHouse version 24.8 and 24.9 however, so see the above WARNING about mixing JSON types
  • Experimental JSON types within a Tuple was broken. This has been fixed; however, the fix fails on ClickHouse server versions 24.8 and 24.9. If you need Tuple(JSON) support, you must use ClickHouse server version 24.10 or later. Closes ClickHouse/clickhouse-connect#436.

0.8.9, 2024-12-02

Bug Fix

  • Roll back some timezone changes that caused incorrect usage of "local time" objects for some ClickHouse queries. Note that has deprecated "naive" timestamps; however converting everything to timezone aware objects (with the UTC timezone as appropriate) causes some numpy and possibly Pandas side effects. Eventually naive datetime object support will be deprecated/eliminated, but it will take some time to ensure no breaking changes. Fixes ClickHouse/clickhouse-connect#433

0.8.8, 2024-11-27

Improvement

  • Handle low level HTTP errors as "Stream Complete". This provides better compatibility with the most recent ClickHouse version when the HTTP stream is abruptly closed after a server error.

0.8.7, 2024-11-21

Improvement

Bug Fix

0.8.6, 2024-11-01

Bug Fixes

... (truncated)

Commits

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)

Summary by Sourcery

Update clickhouse-connect to 0.8.12.

New Features:

  • Add support for JWT authentication.

Tests:

  • Correctly handle native format column prefixes and insert names for Variant/Dynamic/JSON.

Bumps [clickhouse-connect](https://github.com/ClickHouse/clickhouse-connect) from 0.7.19 to 0.8.12.
- [Release notes](https://github.com/ClickHouse/clickhouse-connect/releases)
- [Changelog](https://github.com/ClickHouse/clickhouse-connect/blob/main/CHANGELOG.md)
- [Commits](ClickHouse/clickhouse-connect@v0.7.19...v0.8.12)

---
updated-dependencies:
- dependency-name: clickhouse-connect
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 7, 2025
Copy link
Contributor

sourcery-ai bot commented Jan 7, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the clickhouse-connect dependency from version 0.7.19 to 0.8.12. This change includes several improvements, bug fixes, and a new feature supporting JWT authentication.

Sequence diagram for JWT authentication flow

sequenceDiagram
    participant Client as ClickHouse Client
    participant Server as ClickHouse Server

    Note over Client: Configure with access_token
    Client->>Server: Request with JWT token
    Server->>Server: Validate JWT
    Server-->>Client: Authenticated Response

    Note over Client: Token can be updated via
    Note over Client: set_access_token() method
Loading

Class diagram showing updated ClickHouse client capabilities

classDiagram
    class ClickHouseClient {
        +access_token: string
        +set_access_token(token: string)
        +connect()
        +query()
    }

    note for ClickHouseClient "New JWT authentication support"
    note for ClickHouseClient "Added ISO8601 DateTime64 parsing"
Loading

File-Level Changes

Change Details Files
Upgrade clickhouse-connect to 0.8.12
  • Updated the version of clickhouse-connect in the dependencies list from 0.7.19 to 0.8.12
setup.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 8, 2025

Superseded by #1372.

@dependabot dependabot bot closed this Jan 8, 2025
@dependabot dependabot bot deleted the dependabot/pip/clickhouse-connect-0.8.12 branch January 8, 2025 12:27
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants