Skip to content

chore(deps): bump github.com/gotd/td from 0.166.0 to 0.166.1 - #486

Merged
ernado merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gotd/td-0.166.1
Nov 19, 2026
Merged

ernado merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gotd/td-0.166.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 19, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/gotd/td from 0.166.0 to 0.166.1.

Release notes

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

v0.166.1

Fixes reconnects after an expired server salt, a regression of v0.165.0.

Fixes

A ping rejected by bad_server_salt no longer kills the connection (#1984)

  • Since v0.165.0 the client doesn't request get_future_salts (like Telegram Desktop) and learns a new salt from bad_server_salt. The salt was stored only when an RPC request was retried; when the first message with the expired salt was a ping, the new salt was dropped (rpc callback not set), the pong never came and the connection was reconnected after PingTimeout ("pong missed"), about hourly on a quiet connection and far more often overall.
  • Now the new salt is stored for any rejected message, and a pending ping is sent again with it, as Telegram Desktop does (resendAll).

All changes

Full Changelog: gotd/td@v0.166.0...v0.166.1

Commits
  • a45380b Merge pull request #1984 from gotd/fix/bad-server-salt-ping
  • 9539978 fix(mtproto): keep the new salt of a rejected ping and resend the ping
  • c711531 Merge pull request #1983 from gotd/test/dc-transfer-flaky
  • 1ccd3f4 test(telegram): wait for stored DC key before dropping it in transfer test
  • See full diff in compare view

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 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)

Bumps [github.com/gotd/td](https://github.com/gotd/td) from 0.166.0 to 0.166.1.
- [Release notes](https://github.com/gotd/td/releases)
- [Commits](gotd/td@v0.166.0...v0.166.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 19, 2026
@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.50%. Comparing base (87bff85) to head (58849b8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #486   +/-   ##
=======================================
  Coverage   78.50%   78.50%           
=======================================
  Files         119      119           
  Lines        8579     8579           
=======================================
  Hits         6735     6735           
  Misses       1307     1307           
  Partials      537      537           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ernado
ernado merged commit f72811d into main Nov 19, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/gotd/td-0.166.1 branch November 19, 2026 01:04
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