Release v0.8.0

This commit is contained in:
Hirrolot 2022-04-18 16:32:46 +06:00
parent 7186eddb75
commit 52ba62d3fc
3 changed files with 7 additions and 5 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"
@ -57,12 +57,12 @@ 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-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"] }