diff --git a/CHANGELOG.md b/CHANGELOG.md index b06d07d4..ac7d6ca8 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.5.0] - 2021-07-08 + ### Added - `Storage::get_dialogue` to obtain a dialogue indexed by a chat ID. diff --git a/Cargo.toml b/Cargo.toml index d86f5f0c..a6410918 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,16 +1,17 @@ [package] name = "teloxide" -version = "0.4.0" +version = "0.5.0" edition = "2018" description = "An elegant Telegram bots framework for Rust" repository = "https://github.com/teloxide/teloxide" documentation = "https://docs.rs/teloxide/" readme = "README.md" keywords = ["teloxide", "telegram", "telegram-bot", "telegram-bot-api"] +categories = ["web-programming", "api-bindings", "asynchronous"] license = "MIT" exclude = ["media"] authors = [ - "Temirkhan Myrzamadi ", + "Hirrolot ", "Waffle Lapkin ", "p0lunin ", "Mishko torop'izhko", diff --git a/README.md b/README.md index 088dd691..6e2a1a86 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,4 @@ -
- FYI: Updating from v0.3.4 to v0.4.0 - - - `answer_str` -> `answer` - - `msg.text_owned()` -> `msg.map(ToOwned::to_owned)` - - Use `.auto_send()` to construct your bot: `let bot = Bot::from_env().auto_send();`. This allows not to write `.send()` after each request; now it is done automatically. Also, rewrite `UpdateWithCx` -> `UpdateWithCx, Message>`. - - `ResponseResult<()>` -> `Result<(), Box>` (or import `ResponseResult` beforehand: `use teloxide::requests::ResponseResult;`) - - Tokio updated to v1.2. - -Note: this list is non-exhaustive; for the full list of changes, see the [teloxide-core changelog] and [teloxide changelog]. - -[teloxide-core changelog]: https://github.com/teloxide/teloxide-core/blob/master/CHANGELOG.md -[teloxide changelog]: CHANGELOG.md - -
+[_v0.4.0 => v0.5.0 migration guide >>_](MIGRATION_GUIDE.md#04---05)
@@ -30,7 +16,7 @@ Note: this list is non-exhaustive; for the full list of changes, see the [teloxi - +