diff --git a/CHANGELOG.md b/CHANGELOG.md index e47ff9cf8..805114453 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased -### Changed +## 0.7.0 - 2022-02-09 + +### Fixed -- Make `DispatcherBuilder::{default_handler, error_handler}` accept a handler that implements `Send + Sync` ([PR 517](https://github.com/teloxide/teloxide/pull/517)). +- `Dispatcher` wasn't `Send`. Make `DispatcherBuilder::{default_handler, error_handler}` accept a handler that implements `Send + Sync` ([PR 517](https://github.com/teloxide/teloxide/pull/517)). ## 0.6.1 - 2022-02-06 diff --git a/Cargo.toml b/Cargo.toml index 8bb19f134..8e79ded98 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "teloxide" -version = "0.6.1" +version = "0.7.0" edition = "2018" description = "An elegant Telegram bots framework for Rust" repository = "https://github.com/teloxide/teloxide" diff --git a/README.md b/README.md index 4f7994736..e61ac24ce 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,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.6", features = ["macros", "auto-send"] } +teloxide = { version = "0.7", features = ["macros", "auto-send"] } log = "0.4" pretty_env_logger = "0.4.0" tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] }