Merge pull request #774 from teloxide/master

Merge v0.11.2 into `dev`
This commit is contained in:
Waffle Maybe 2022-11-23 11:45:42 +04:00 committed by GitHub
commit 582520d67f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 4 deletions

View file

@ -10,7 +10,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `rocksdb-storage` feature and associated items (See [PR #761](https://github.com/teloxide/teloxide/pull/761) for reasoning) [**BC**] - `rocksdb-storage` feature and associated items (See [PR #761](https://github.com/teloxide/teloxide/pull/761) for reasoning) [**BC**]
## 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 ### Added

View file

@ -9,7 +9,7 @@ Note that the list of required changes is not fully exhaustive and it may lack s
If you are using rocksdb storage, you'll need to either write `Storage` impl yourself, or use a third party crate. If you are using rocksdb storage, you'll need to either write `Storage` impl yourself, or use a third party crate.
<!-- FIXME: add a link once there *is* a third party crate --> <!-- FIXME: add a link once there *is* a third party crate -->
## 0.11 -> 0.11.1 ## 0.11 -> 0.11.2
### teloxide ### teloxide

View file

@ -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)
<div align="center"> <div align="center">
<img src="./media/teloxide-logo.png" width="250"/> <img src="./media/teloxide-logo.png" width="250"/>

View file

@ -1,6 +1,6 @@
//! An update dispatching model based on [`dptree`]. //! 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 //! [chain of responsibility] pattern enriched with a number of combinator
//! functions, which together form an instance of the [`dptree::Handler`] type. //! functions, which together form an instance of the [`dptree::Handler`] type.
//! //!

View file

@ -60,6 +60,7 @@
#[cfg(feature = "ctrlc_handler")] #[cfg(feature = "ctrlc_handler")]
pub use dispatching::repls::{repl, repl_with_listener}; pub use dispatching::repls::{repl, repl_with_listener};
#[cfg(feature = "ctrlc_handler")]
#[allow(deprecated)] #[allow(deprecated)]
pub use dispatching::repls::{commands_repl, commands_repl_with_listener}; pub use dispatching::repls::{commands_repl, commands_repl_with_listener};