From 30d37741e41e1e70986a2c172119d45d55ce6aa4 Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Wed, 9 Feb 2022 08:36:25 +0600 Subject: [PATCH 1/2] Release v0.7.0 --- CHANGELOG.md | 2 ++ Cargo.toml | 2 +- README.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e47ff9cf8..6e74c334b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased +## 0.7.0 - 2022-02-09 + ### Changed - Make `DispatcherBuilder::{default_handler, error_handler}` accept a handler that implements `Send + Sync` ([PR 517](https://github.com/teloxide/teloxide/pull/517)). 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"] } From f923114d204f29d8c19bf5aeaecfbfdee620d6d6 Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Wed, 9 Feb 2022 17:06:17 +0600 Subject: [PATCH 2/2] Fix the changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e74c334b..805114453 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,9 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## 0.7.0 - 2022-02-09 -### Changed +### 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