Repository navigation
v0.3.0
Pre-release
Pre-release
Changelog
Warning
This release introduces breaking changes. Major version is not bumped because the project is in early development stage.
New features
- Update
Messagestruct to comply with the latest Telegram Bot API - Add
Unknownupdate kind - Add
CommandContext::sendmethod
Improvements and QoL
XgramConfigwas flatten into one struct -BotConfig- Rename config option
updates_channel_capacityintoupdate_buffer_capacity - Several logging improvements
- Use
tokio'sparking_lotfeature (possible performance improvement) - Rewrite
UpdateReceiverconfiguration to use static dispatch instead of dynamic - Mark
UpdateKindandMessageEntityTypewith#[non_exhaustive]
Building and compatibility
- Project is now nightly toolchain compatible only.
Fixes
CommandContext::replynow accepts&selfinstead ofself
Repository structure
- Move dependencies features into inner crate's
Cargo.toml - Add some
Messagedeserializing tests
Full Changelog: v0.3.0-canary.1...v0.3.0