Skip to content

v1.6.0

Choose a tag to compare

@o1xhack o1xhack released this 31 Mar 05:55
· 39 commits to main since this release

What's New in v1.6.0

Features

  • Realtime Push Mode (Experimental) — Forward tracked messages to the control chat the instant they arrive, instead of waiting for the next summary interval. Includes a 7-layer rate protection suite (sliding window, jittered delay, media throttle, hourly/daily caps, exponential backoff, circuit breaker + Bark alerts, startup warmup) to prevent Telegram account restrictions.
  • Automatic Update Checker — Daemon checks GitHub Releases on startup and every 24 hours. Pushes up to 3 bilingual notifications per new version to all control groups with a release link.
  • GUI Internationalization — Auto-detects browser language (Chinese/English) with a manual toggle button. Language preference syncs to config.
  • Configurable Heartbeat — heartbeat_interval_hours (default 2, set 0 to disable). Message language follows the display.language setting.
  • Language Setting — display.language ("auto" / "zh" / "en") controls all backend push messages.

Reliability

  • Cloud-sync resilience — SQLite WAL mode and busy_timeout enabled on all databases for safer operation in Dropbox/iCloud directories. Automatic retry on transient I/O errors.
  • Cloud sync detection — doctor command and GUI warn when data files reside inside a cloud-synced folder.
  • Realtime push hardening — FloodWait events properly surface to the circuit breaker. Each media attachment counts as a separate send. Failed pushes retry up to 3 times. Jitter never drops below the configured minimum.

Fixes

  • Suppress repeated experimental-mode warning during GUI status polling.
  • SQLite retry counter resets after sporadic errors.
  • Window purge boundary corrected to prevent one-message overshoot at rate limits.

Upgrade from v1.5.0

No breaking changes. New config fields have sensible defaults and are optional:

[display]
language = "auto"  # "auto" | "zh" | "en"

[notifications]
heartbeat_interval_hours = 2  # 0 = disable, 1-24
check_updates = true

[realtime]
push_mode = "realtime"  # enable realtime push

v1.6.0 更新内容

新功能

  • 即时推送模式 (实验性) — 被追踪用户的消息到达后立即转发至控制群组,无需等待汇总周期。内置 7 层速率防护体系。
  • 自动更新检查 — daemon 启动时及每 24 小时查询 GitHub Releases,新版本最多推送 3 次中英双语通知到所有控制群。
  • GUI 国际化 — 根据浏览器语言自动切换中文/英文,支持手动切换按钮,语言偏好同步到配置文件。
  • 心跳间隔可配置 — heartbeat_interval_hours(默认 2 小时,0=关闭),消息语言跟随 display.language 设置。
  • 语言设置 — display.language("auto" / "zh" / "en")控制所有后端推送消息语言。

稳定性

  • 云同步目录适配 — 所有数据库启用 SQLite WAL 模式和 busy_timeout,新增 I/O 错误自动重试。
  • 云同步检测 — doctor 命令和 GUI 会在数据文件位于云同步目录时发出警告。
  • 即时推送加固 — FloodWait 正确传递到熔断器,媒体附件单独计入速率配额,推送失败最多重试 3 次。

从 v1.5.0 升级

无破坏性变更。新增配置项均有默认值,可选配置:

[display]
language = "auto"  # "auto" | "zh" | "en"

[notifications]
heartbeat_interval_hours = 2  # 0 = 关闭, 1-24
check_updates = true

[realtime]
push_mode = "realtime"  # 启用即时推送

完整变更记录: v1.5.0...v1.6.0