github GeiserX/Telegram-Archive v7.1.2

latest releases: v7.28.0, v7.27.1, v7.27.0...
4 months ago

Fixed

  • Two-tier session protection — Replaces the single-backup approach from v7.1.1 with a robust two-tier system:
    • Golden backup (.session.authenticated) — only written after a successful login, guarantees a known-good recovery point that crash-loops can never corrupt
    • Pre-connect snapshot (.session.bak) — taken before every connect attempt as a secondary fallback
    • On auth failure, restores from golden backup first, then snapshot. Prevents Telethon's silent DH key renegotiation from permanently destroying authenticated sessions during crash-loops.
    • Uses raw sqlite3 to verify auth_key presence before deciding whether to back up or restore, avoiding false positives from empty/corrupted session files
    • Flushes WAL checkpoint before creating golden backup to ensure file completeness

📋 Full changelog: docs/CHANGELOG.md

Don't miss a new Telegram-Archive release

NewReleases is sending notifications on new releases.