Skip to content

chore(deps): bump github.com/gotd/td from 0.131.0 to 0.154.0#740

Merged
ernado merged 1 commit into
masterfrom
td-bump
Jun 12, 2026
Merged

chore(deps): bump github.com/gotd/td from 0.131.0 to 0.154.0#740
ernado merged 1 commit into
masterfrom
td-bump

Conversation

@ernado

@ernado ernado commented Jun 12, 2026

Copy link
Copy Markdown
Member

Supersedes #731 (which Dependabot cannot complete on its own, because the upgrade requires a code change).

Summary

gotd/td migrated structured logging from *zap.Logger to the github.com/gotd/log.Logger interface, so telegram.Options.Logger no longer accepts a *zap.Logger directly:

cannot use logger.Named("client") (*zap.Logger) as "github.com/gotd/log".Logger
value in struct literal: *zap.Logger does not implement "github.com/gotd/log".Logger
(missing method Enabled)

This bumps github.com/gotd/td to v0.154.0 and bridges the zaptest logger in tg_io/download_test.go with github.com/gotd/log/logzap, as recommended by the telegram.Options docs.

Test plan

  • go build ./..., go vet ./..., go test ./tg_io/..., golangci-lint run all pass.

🤖 Generated with Claude Code

gotd/td migrated structured logging from *zap.Logger to the
github.com/gotd/log.Logger interface, so telegram.Options.Logger no
longer accepts a *zap.Logger directly. Bridge the zaptest logger with
github.com/gotd/log/logzap, as recommended by the telegram.Options docs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ernado ernado merged commit 1ae470d into master Jun 12, 2026
15 checks passed
@ernado ernado deleted the td-bump branch June 12, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant