github sanyok12345/teleproto v1.228.0

latest releases: v1.234.0, v1.233.0, v1.232.1...
4 months ago

Changes

  • TL layer 228
  • Network core rewritten: one clear connection lifecycle instead of tangled reconnect logic
  • Temporary auth keys now live and die with their connection, so they can no longer go stale
  • Faster downloads and uploads: far less copying on every file part and message
  • Idle media sessions stay warm for 60s, repeat downloads skip the reconnect cost
  • Connecting has a real timeout now, and unreachable DC addresses switch to alternates
  • downloadMedia and downloadProfilePhoto accept a string as the output path
  • downloadPool.requestDeadlineMs lets slow networks raise the per-part time limit

Fixes

  • Media downloads no longer deadlock after the server drops an auth key (#23)
  • Failed requests fail fast and retry instead of hanging forever
  • Handshake bug that failed 1 in 256 connection attempts
  • Connection state events (connected, disconnected, broken) reach event handlers again
  • Downloading something non-downloadable throws a clear error instead of returning an empty result

Upgrade

  • npm i teleproto@latest

Don't miss a new teleproto release

NewReleases is sending notifications on new releases.