Releases: mtgo-labs/plugins
Release list
updatesrecovery v0.2.0
Dependencies
- Updated github.com/mtgo-labs/mtgo from v0.1.0 to v0.2.0
Full Changelog: updatesrecovery/v0.1.0...updatesrecovery/v0.2.0
throttle v0.2.0
Dependencies
- Updated github.com/mtgo-labs/mtgo from v0.1.0 to v0.2.0
Full Changelog: throttle/v0.1.0...throttle/v0.2.0
scheduler v0.2.0
Dependencies
- Updated github.com/mtgo-labs/mtgo from v0.1.0 to v0.2.0
Full Changelog: scheduler/v0.1.0...scheduler/v0.2.0
rawdebug v0.2.0
Dependencies
- Updated github.com/mtgo-labs/mtgo from v0.1.0 to v0.2.0
Full Changelog: rawdebug/v0.1.0...rawdebug/v0.2.0
i18n v0.5.0
Dependencies
- Updated github.com/mtgo-labs/mtgo from v0.4.0 to v0.5.0
Full Changelog: i18n/v0.4.0...i18n/v0.5.0
fsm v0.2.0
Dependencies
- Updated github.com/mtgo-labs/mtgo from v0.1.0 to v0.2.0
Full Changelog: fsm/v0.1.0...fsm/v0.2.0
conversations v0.5.0
Dependencies
- Updated github.com/mtgo-labs/mtgo from v0.4.0 to v0.5.0
Full Changelog: conversations/v0.4.0...conversations/v0.5.0
updatesrecovery v0.1.0
Initial release.
Features
- Persist and restore Telegram update state (pts, qts, date, seq)
- Gap detection via
updates.getDifferencewith debounced 500ms buffer - Recovery after restart, reconnect, network failure, PTS gap
- Cold-start handling (first update accepted as baseline)
- Debounced async persistence — never blocks dispatch loop
- Atomic single-flight gap recovery
- Backend-agnostic
Storeinterface (Storage()adapter for anystorage.UpdateStateStore) - Nil store = disabled no-op (feature flag)
- Uses core lifecycle hooks (
OnUpdateReceived,OnReconnect) — no recovery logic in core
::: warning
Requires mtgo lifecycle hooks (OnUpdateReceived, OnConnected, OnReconnect) — available after v0.11.0.
:::
Dependencies
github.com/mtgo-labs/mtgo v0.11.0(with local replace pending mtgo v0.12.0)github.com/mtgo-labs/storage v0.4.0
Full Changelog: https://github.com/mtgo-labs/plugins/commits/updatesrecovery/v0.1.0
throttle v0.1.0
Initial release.
Features
- Local anti-spam / rate limiting before requests reach Telegram
- Scopes: global, per-method, per-chat, per-user, custom key
- Three exceed behaviors: FailFast, Wait, Custom handler
- Typed
*ErrThrottledwith rule name, retry-after, scope key - Sliding-window log algorithm (exact, not approximate)
- Per-key isolation, background bucket sweeper, reflection caching
Dependencies
github.com/mtgo-labs/mtgo v0.11.0
Full Changelog: https://github.com/mtgo-labs/plugins/commits/throttle/v0.1.0
scheduler v0.1.0
Initial release.
Features
- One-time jobs (
After), scheduled jobs (At), recurring jobs (Every) - Retry with exponential backoff
- Bounded concurrency (semaphore-limited worker pool)
- Panic recovery, context cancellation, graceful shutdown
- No busy loops — driven by
time.AfterFunc - Works standalone without a Telegram client
Dependencies
github.com/mtgo-labs/mtgo v0.11.0
Full Changelog: https://github.com/mtgo-labs/plugins/commits/scheduler/v0.1.0