Changelog
For full release notes, see CHANGELOG.md on GitHub.
[1.0.16]
- Native MTProto Peers: Fixed
PEER_ID_INVALIDfor users and chats outside the first 200 dialogs —_input_peernow pages through all dialogs with a 5-minute per-peer cooldown. FloodWaitError.retry_after: Added.retry_afterproperty as an alias of.seconds.
[1.0.14]
- Routing & Decorators: Added
on_commandshortcut onShirdalandRouter(incoming/commands by default, configurable for selfbots) and flexible@bot.on_message/@bot.on_message(filter)syntax. - Rich Submodule: Added
shirdal.richre-exporting Rich Messages and keyboard builders. - Startup & Performance: Lazy PEP 562 exports in
shirdal.__init__, non-blocking startup banner/ping probe,happy_eyeballs_delay=0.25+TCP_NODELAYon MTProto transport, thread-safeLifoQueuepool inBotAPIAdapter, andEventType-indexedDispatcherroutes.
[1.0.13]
- Progressive Startup Banner: Prints
Bot is running...immediately, followed by active runtime diagnostics (uvloop,msgspec,shircrypt) and an in-place liveping:line refreshed every 60 seconds. - Fixes: Passed
flags=0toauth.importBotAuthorization, forwarded**kwargs(e.g.reply_markup) inHybridAdapter, and guardedcryptographyimports forshircrypt-only environments.
Earlier Highlights
- Native MTProto 2.0 (Layer 234): Schema-driven
tl_runtime, bundled Telegram RSA keys, 2FA SRP, automatic DC migration (PHONE/USER/NETWORK/FILE_MIGRATE_X), and parallel chunked file transfers. - FSM & Conversations:
FSMStrategy, multi-state &ANY_STATEfilters,MemoryStorage(ttl=...),RedisStorage(fsm_ttl=...), andawait ctx.ask(). - Modern Routing & Hybrid Mode:
Routertrees, zero-dependency magic filterF, andHybridAdapterfor automatic 50MB+ MTProto uploads.