Merge pull request #593 from teloxide/v0.8.0

Release v0.8.0
This commit is contained in:
Waffle Maybe 2022-04-18 14:42:34 +04:00 committed by GitHub
commit 6a4a35bb2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View file

@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## unreleased
## 0.8.0 - 2022-04-18
### Removed
- The old dispatching system and related stuff: `dispatching`, `utils::UpState`, `prelude`, `repls2`, `crate::{dialogues_repl, dialogues_repl_with_listener}`, and `#[teloxide(subtransition)]` [**BC**].

View file

@ -1,6 +1,6 @@
[package]
name = "teloxide"
version = "0.7.2"
version = "0.8.0"
edition = "2021"
description = "An elegant Telegram bots framework for Rust"
repository = "https://github.com/teloxide/teloxide"
@ -56,13 +56,13 @@ full = [
]
[dependencies]
teloxide-core = { version = "0.5", default-features = false }
teloxide-macros = { git = "https://github.com/teloxide/teloxide-macros.git", rev = "dfba097c7146ba6244a36001d703e04b771baa05", optional = true }
teloxide-core = { version = "0.5.1", default-features = false }
teloxide-macros = { version = "0.6.0", optional = true }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
dptree = { version = "0.2.0" }
dptree = "0.2.0"
tokio = { version = "1.8", features = ["fs"] }
tokio-util = "0.6"

View file

@ -1,4 +1,4 @@
> [v0.5 -> v0.6 migration guide >>](MIGRATION_GUIDE.md#05---06)
> [v0.7 -> v0.8 migration guide >>](MIGRATION_GUIDE.md#07---08)
<div align="center">
<img src="ICON.png" width="250"/>
@ -70,7 +70,7 @@ $ rustup override set nightly
5. Run `cargo new my_bot`, enter the directory and put these lines into your `Cargo.toml`:
```toml
[dependencies]
teloxide = { version = "0.7", features = ["macros", "auto-send"] }
teloxide = { version = "0.8", features = ["macros", "auto-send"] }
log = "0.4"
pretty_env_logger = "0.4"
tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] }