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`]