From 4e56dd29b12fc0e737a7faf89647a68dcc712601 Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Fri, 7 Oct 2022 16:55:57 +0600 Subject: [PATCH 1/2] Release v0.11.0 --- CHANGELOG.md | 6 ++++-- Cargo.toml | 2 +- README.md | 6 +++--- src/dispatching.rs | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f83a4fb..0d890843 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased +## 0.11.0 - 2022-10-07 + ### Changed - -- Updated `teloxide-macros` see its [changelog](https://github.com/teloxide/teloxide-macros/blob/master/CHANGELOG.md#unreleased) for more +- Updated `teloxide-macros` to v0.7.0; see its [changelog](https://github.com/teloxide/teloxide-macros/blob/master/CHANGELOG.md#070---2022-10-06) for more +- Updated `teloxide-core` to v0.8.0; see its [changelog](https://github.com/teloxide/teloxide-core/blob/master/CHANGELOG.md#080---2022-10-03) for more - `UpdateListener` now has an associated type `Err` instead of a generic - `AsUpdateStream` now has an associated type `StreamErr` instead of a generic - Rename `dispatching::stop_token::{AsyncStopToken, AsyncStopFlag}` => `stop::{StopToken, StopFlag}` diff --git a/Cargo.toml b/Cargo.toml index 83a5ab08..65e5135a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "teloxide" -version = "0.10.1" +version = "0.11.0" edition = "2021" description = "An elegant Telegram bots framework for Rust" repository = "https://github.com/teloxide/teloxide" diff --git a/README.md b/README.md index ab74b6d7..296cd770 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -> [v0.9 -> v0.10 migration guide >>](MIGRATION_GUIDE.md#09---010) +> [v0.10 -> v0.11 migration guide >>](MIGRATION_GUIDE.md#010---011)
@@ -13,7 +13,7 @@ - + @@ -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.10", features = ["macros", "auto-send"] } +teloxide = { version = "0.11", features = ["macros", "auto-send"] } log = "0.4" pretty_env_logger = "0.4" tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] } diff --git a/src/dispatching.rs b/src/dispatching.rs index f22c99c1..e65eca20 100644 --- a/src/dispatching.rs +++ b/src/dispatching.rs @@ -138,7 +138,7 @@ //! } //! ``` //! -//! Each parameter is supplied as a dependency by teloxide. In particular: +//! Each parameter is supplied as a dependency by `teloxide`. In particular: //! - `bot: Bot` comes from the dispatcher (see below) //! - `msg: Message` comes from [`Update::filter_message`] //! - `q: CallbackQuery` comes from [`Update::filter_callback_query`] From 5bed819c9fc0206e770432ea805f13e0c5a59f6a Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Fri, 7 Oct 2022 17:22:46 +0600 Subject: [PATCH 2/2] Update MSRV in `README.md` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 296cd770..f3fae40d 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ $ set TELOXIDE_TOKEN= $ $env:TELOXIDE_TOKEN= ``` - 4. Make sure that your Rust compiler is up to date (teloxide currently requires rustc at least version 1.58): + 4. Make sure that your Rust compiler is up to date (teloxide currently requires rustc at least version 1.64): ```bash # If you're using stable $ rustup update stable