From 52ba62d3fcbbcc3ccb8c91787a8453b071f49f81 Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Mon, 18 Apr 2022 16:32:46 +0600 Subject: [PATCH 1/2] Release v0.8.0 --- CHANGELOG.md | 2 ++ Cargo.toml | 6 +++--- README.md | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index daaa61c5..25d93a22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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**]. diff --git a/Cargo.toml b/Cargo.toml index 9ba73e08..77f615a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/README.md b/README.md index 24766a3d..61ba355e 100644 --- a/README.md +++ b/README.md @@ -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)
@@ -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"] } From e12f7a44d0a3a3695d1162ec0a087817be50970c Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Mon, 18 Apr 2022 16:35:10 +0600 Subject: [PATCH 2/2] Set `teloxide-core` to v0.5.1 Co-authored-by: Waffle Maybe --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 77f615a9..1c211294 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,7 +56,7 @@ full = [ ] [dependencies] -teloxide-core = { version = "0.5", default-features = false } +teloxide-core = { version = "0.5.1", default-features = false } teloxide-macros = { version = "0.6.0", optional = true } serde_json = "1.0"