Skip to content

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

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/gotd/td-0.133.0
Closed

chore(deps): bump github.com/gotd/td from 0.131.0 to 0.154.0#731
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/gotd/td-0.133.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 7, 2025

Copy link
Copy Markdown
Contributor

Bumps github.com/gotd/td from 0.131.0 to 0.154.0.

Release notes

Sourced from github.com/gotd/td's releases.

v0.154.0

Highlights

This release replaces the hard dependency on go.uber.org/zap with the minimal, dependency-free github.com/gotd/log logging port across all packages. This is a breaking change for any code that sets Logger on telegram.Options (or any other gotd option struct that exposes a logger).

Why

zap leaked into the core dependency graph of every gotd consumer. gotd/log is a two-method port (Enabled/Log) with no third-party dependencies; the concrete backend is chosen by the consumer through a separate adapter module, so the backend's dependency never enters the core graph. Levels match log/slog and scalar attributes avoid boxing on hot paths.

Migrating your loggers

The Logger fields changed type from *zap.Logger to github.com/gotd/log.Logger. Pick the migration path that matches the logger you already use.

Keeping zap (smallest change)

Wrap your existing *zap.Logger with the logzap adapter:

import (
	"go.uber.org/zap"
	"github.com/gotd/log/logzap"
	"github.com/gotd/td/telegram"
)
zapLog, _ := zap.NewProduction()
client := telegram.NewClient(appID, appHash, telegram.Options{
Logger: logzap.New(zapLog), // was: Logger: zapLog
})

Add the adapter module to your build:

go get github.com/gotd/log/logzap@latest

Using the standard library log/slog (no extra deps beyond stdlib)

import (
	"log/slog"
	"github.com/gotd/log/logslog"
</tr></table> 

... (truncated)

Commits
  • 6ac0462 feat(log): migrate to github.com/gotd/log abstraction (#1770)
  • e1eca1e Merge pull request #1769 from gotd/feat/update-schema
  • d5d35d9 fix(rich): adapt server-parsed messages to new InputRichFile schema
  • c01becd chore(mod): tidy
  • a132589 feat(schema): update Telegram to the latest layer
  • ed4b8cb Merge pull request #1767 from gotd/dependabot/go_modules/golang-563a210b6d
  • 0db15d5 Merge pull request #1768 from gotd/dependabot/go_modules/_tools/golang-563a21...
  • d9ffdec chore(deps): bump golang.org/x/tools in the golang group
  • e7dc31d chore(deps): bump golang.org/x/tools in /_tools in the golang group
  • 218bea0 Merge pull request #1766 from gotd/feat/rich-messages
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 7, 2025
@ernado

ernado commented Jun 12, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot changed the title chore(deps): bump github.com/gotd/td from 0.131.0 to 0.133.0 chore(deps): bump github.com/gotd/td from 0.131.0 to 0.154.0 Jun 12, 2026
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/gotd/td-0.133.0 branch from 72db9f3 to febe057 Compare June 12, 2026 18:37
@ernado

ernado commented Jun 12, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [github.com/gotd/td](https://github.com/gotd/td) from 0.131.0 to 0.154.0.
- [Release notes](https://github.com/gotd/td/releases)
- [Commits](gotd/td@v0.131.0...v0.154.0)

---
updated-dependencies:
- dependency-name: github.com/gotd/td
  dependency-version: 0.133.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/gotd/td-0.133.0 branch from febe057 to f7a4df1 Compare June 12, 2026 18:47
@ernado

ernado commented Jun 12, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Looks like github.com/gotd/td is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 12, 2026
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/gotd/td-0.133.0 branch June 12, 2026 19:29
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 go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant