diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e84df63..596a52e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased -## 0.11.1 - 2022-10-31 +## 0.11.2 - 2022-11-18 + +### Fixed + +- Add missing feature gate for `dispatching::repls` import ([issue #770](https://github.com/teloxide/teloxide/issues/770)) + +## 0.11.1 - 2022-10-31 [yanked] + +This release was yanked because it accidentally [breaks backwards compatibility](https://github.com/teloxide/teloxide/issues/770). ### Added diff --git a/Cargo.toml b/Cargo.toml index f4056c49..031827af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "teloxide" -version = "0.11.1" +version = "0.11.2" edition = "2021" description = "An elegant Telegram bots framework for Rust" repository = "https://github.com/teloxide/teloxide" diff --git a/MIGRATION_GUIDE.md b/MIGRATION_GUIDE.md index c5da2a04..4bfbc892 100644 --- a/MIGRATION_GUIDE.md +++ b/MIGRATION_GUIDE.md @@ -1,7 +1,7 @@ This document describes breaking changes of `teloxide` crate, as well as the ways to update code. Note that the list of required changes is not fully exhaustive and it may lack something in rare cases. -## 0.11 -> 0.11.1 +## 0.11 -> 0.11.2 ### teloxide diff --git a/README.md b/README.md index f211a547..127ca103 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -> [v0.11 -> v0.11.1 migration guide >>](MIGRATION_GUIDE.md#011---0111) +> [v0.11 -> v0.11.2 migration guide >>](MIGRATION_GUIDE.md#011---0112)
diff --git a/src/dispatching.rs b/src/dispatching.rs index e65eca20..5138e398 100644 --- a/src/dispatching.rs +++ b/src/dispatching.rs @@ -1,6 +1,6 @@ //! An update dispatching model based on [`dptree`]. //! -//! In teloxide, update dispatching is declarative: it takes the form of a +//! In `teloxide`, update dispatching is declarative: it takes the form of a //! [chain of responsibility] pattern enriched with a number of combinator //! functions, which together form an instance of the [`dptree::Handler`] type. //! diff --git a/src/lib.rs b/src/lib.rs index 04012a60..f1e835e0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,6 +60,7 @@ #[cfg(feature = "ctrlc_handler")] pub use dispatching::repls::{repl, repl_with_listener}; +#[cfg(feature = "ctrlc_handler")] #[allow(deprecated)] pub use dispatching::repls::{commands_repl, commands_repl_with_listener};