Skip to content

v0.2.0

Pre-release
Pre-release

Choose a tag to compare

@RashingPro RashingPro released this 12 Sep 16:30
· 95 commits to main since this release
v0.2.0
30db85a

Changelog

Warning

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

QoL

  • Add xgram::prelude::* export
  • Improve handlers registering API
  • Improve #[command_handler] usage experience
  • Add several logs for better usage experience
  • Set default HTTP polling timeout to 30 seconds (was 10 seconds)

Building and compatibility

  • Switch to nightly toolchain
  • Decrease MSRV to actual minimal compatible version
  • Update dependencies

Fixes

  • Fix potential bug with Telegram's UTF16 string indexing

Internal

  • Replace GlobalConfig with more reliable BotConfig
  • Use Arc<str> instead of Arc<String> (should improve performance)

Repository structure

  • Move all crates into crates directory
  • Better formatter and linter configuration

Full Changelog: v0.1.0...v0.2.0