Skip to content

fix(deps): Update module github.com/ClickHouse/clickhouse-go/v2 to v2.43.0#22142

Merged
kodiakhq[bot] merged 4 commits into
mainfrom
renovate/github.com-clickhouse-clickhouse-go-v2-2.x
Mar 2, 2026
Merged

fix(deps): Update module github.com/ClickHouse/clickhouse-go/v2 to v2.43.0#22142
kodiakhq[bot] merged 4 commits into
mainfrom
renovate/github.com-clickhouse-clickhouse-go-v2-2.x

Conversation

@cq-bot
Copy link
Copy Markdown
Contributor

@cq-bot cq-bot commented Mar 1, 2026

This PR contains the following updates:

Package Type Update Change
github.com/ClickHouse/clickhouse-go/v2 require minor v2.42.0 -> v2.43.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

ClickHouse/clickhouse-go (github.com/ClickHouse/clickhouse-go/v2)

v2.43.0

Compare Source

What's Changed

Enhancements 🎉
Bug fixes 🐛
Other Changes 🛠

New Contributors

Full Changelog: ClickHouse/clickhouse-go@v2.42.0...v2.43.0


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@cq-bot cq-bot added the automerge Automatically merge once required checks pass label Mar 1, 2026
@cq-bot
Copy link
Copy Markdown
Contributor Author

cq-bot commented Mar 1, 2026

ℹ Artifact update notice

File name: plugins/destination/clickhouse/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/ClickHouse/ch-go v0.69.0 -> v0.71.0
github.com/klauspost/compress v1.18.2 -> v1.18.3
github.com/pierrec/lz4/v4 v4.1.23 -> v4.1.25

@cq-bot
Copy link
Copy Markdown
Contributor Author

cq-bot commented Mar 1, 2026

/gen sha=4409f459ac15c225a35827601f057d0a4be8f29a dir=plugins/destination/clickhouse

@erezrokah
Copy link
Copy Markdown
Member

@copilot fix the lint errors in this PR.

  Error: /home/runner/work/cloudquery/cloudquery/plugins/destination/clickhouse/client/client.go:60:2: SA1019: options.Debugf is deprecated: Use Logger instead. Debugf provides a custom debug logging function. For structured logging with levels and custom handlers, use the Logger field with a custom slog.Handler. (staticcheck)
  	options.Debugf = l.Printf

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 2, 2026

@erezrokah I've opened a new pull request, #22168, to work on those changes. Once the pull request is ready, I'll request review from you.

…r/slog-zerolog (#22168)

`clickhouse-go` v2.43.0 deprecated `Options.Debugf` in favour of
`Options.Logger` (`*slog.Logger`), causing a `SA1019` staticcheck
failure. Fixes this by wiring the existing zerolog logger through the
`samber/slog-zerolog` bridge.

## Changes

- **`client/client.go`**: Replace `options.Debugf = l.Printf` with
`options.Logger = slog.New(slogzerolog.Option{Logger:
&l}.NewZerologHandler())`
- **`client/zerolog_slog.go`** _(removed)_: Drop the hand-rolled
`slog.Handler` implementation in favour of
`github.com/samber/slog-zerolog v1.0.0`
- **`go.mod` / `go.sum`**: Add `github.com/samber/slog-zerolog v1.0.0`

```go
// before
options.Debugf = l.Printf

// after
options.Logger = slog.New(slogzerolog.Option{Logger: &l}.NewZerologHandler())
```

<!-- START COPILOT CODING AGENT TIPS -->
---

💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: erezrokah <26760571+erezrokah@users.noreply.github.com>
Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
@erezrokah erezrokah requested a review from a team as a code owner March 2, 2026 12:10
@erezrokah erezrokah self-requested a review March 2, 2026 12:10
@cq-bot
Copy link
Copy Markdown
Contributor Author

cq-bot commented Mar 2, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@kodiakhq kodiakhq Bot merged commit e6e65d0 into main Mar 2, 2026
14 checks passed
@kodiakhq kodiakhq Bot deleted the renovate/github.com-clickhouse-clickhouse-go-v2-2.x branch March 2, 2026 15:18
kodiakhq Bot pushed a commit that referenced this pull request Mar 6, 2026
🤖 I have created a release *beep* *boop*
---


## [8.1.3](plugins-destination-clickhouse-v8.1.2...plugins-destination-clickhouse-v8.1.3) (2026-03-06)


### Bug Fixes

* **deps:** Update golang.org/x/exp digest to 3dfff04 ([#22125](#22125)) ([409e35a](409e35a))
* **deps:** Update module github.com/ClickHouse/clickhouse-go/v2 to v2.43.0 ([#22142](#22142)) ([e6e65d0](e6e65d0))
* **deps:** Update module go.opentelemetry.io/otel/sdk to v1.40.0 [SECURITY] ([#22099](#22099)) ([605e22f](605e22f))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/plugin/destination/clickhouse automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants