NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #819 by repository stars
Latest stable
v0.163.0
Last release 14 days ago
08 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
1031 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.162.0...v0.163.0
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.161.0...v0.162.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.160.0...v0.161.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.159.0...v0.160.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.158.0...v0.159.0
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
https://github.com/gotd/td/commit/0550c4918accb918f8049159a5812e66391e43cd feat(message): allow setting message RandomID
Full Changelog: https://github.com/gotd/td/compare/v0.157.2...v0.158.0
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.157.1...v0.157.2
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.157.0...v0.157.1
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.156.3...v0.157.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.156.3 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.156.3 -->
Full Changelog: https://github.com/gotd/td/compare/v0.156.2...v0.156.3
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.156.1...v0.156.2
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.156.0...v0.156.1
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.155.0...v0.156.0
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.154.0...v0.154.1
Nothing published for this version
Nothing published for this version
Nothing published for this version
…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 ex…
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).
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.
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.
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
log/slog (no extra deps beyond stdlib)import (
"log/slog"
"github.com/gotd/log/logslog"
"github.com/gotd/td/telegram"
)
client := telegram.NewClient(appID, appHash, telegram.Options{
Logger: logslog.New(slog.Default()),
})
Drop-in adapter modules ship for the common loggers — import only the one you use, and its dependency stays out of your core graph:
| Backend | Adapter module |
|---|---|
go.uber.org/zap |
github.com/gotd/log/logzap |
stdlib log/slog |
github.com/gotd/log/logslog |
github.com/rs/zerolog |
github.com/gotd/log/logzerolog |
github.com/sirupsen/logrus |
github.com/gotd/log/loglogrus |
If you previously passed zap.NewNop() (or nothing), no change is required — nil now defaults
to log.Nop, which discards every record. You can also pass log.Nop explicitly:
import "github.com/gotd/log"
telegram.Options{Logger: log.Nop}
If your application logged through the same *zap.Logger you handed to gotd, you can keep using
zap directly — the migration only affects the value you pass into gotd options. If you want to log
against the gotd/log port itself, use the Helper for ergonomic call sites:
import "github.com/gotd/log"
h := log.For(l) // log.For(nil) is a no-op Helper
h.Info(ctx, "connected", log.String("dc", dc))
Full Changelog: https://github.com/gotd/td/compare/v0.153.0...v0.154.0
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/gotd/td/compare/v0.152.0...v0.153.0
Nothing published for this version
One column per quarter.