Skip to content

v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@RashingPro RashingPro released this 19 Sep 15:04
· 56 commits to main since this release
v0.3.0
597786a

Changelog

Warning

This release introduces breaking changes. Major version is not bumped because the project is in early development stage.

New features

  • Update Message struct to comply with the latest Telegram Bot API
  • Add Unknown update kind
  • Add CommandContext::send method

Improvements and QoL

  • XgramConfig was flatten into one struct - BotConfig
  • Rename config option updates_channel_capacity into update_buffer_capacity
  • Several logging improvements
  • Use tokio's parking_lot feature (possible performance improvement)
  • Rewrite UpdateReceiver configuration to use static dispatch instead of dynamic
  • Mark UpdateKind and MessageEntityType with #[non_exhaustive]

Building and compatibility

  • Project is now nightly toolchain compatible only.

Fixes

  • CommandContext::reply now accepts &self instead of self

Repository structure

  • Move dependencies features into inner crate's Cargo.toml
  • Add some Message deserializing tests

Full Changelog: v0.3.0-canary.1...v0.3.0