From e5d08c168efeabffac7377fddf6923df53d2d73e Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Thu, 6 Oct 2022 22:54:30 +0600 Subject: [PATCH] Release v0.7.0 --- CHANGELOG.md | 12 +++++++++--- Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3bc8fec..34b61e81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,14 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased +## 0.7.0 - 2022-10-06 + ### Removed -- Remove `derive(DialogueState)` macro +- `derive(DialogueState)` macro ### Changed -- `#[command(rename = "...")]` now always renames to `"..."`, to rename multiple commands using the same pattern, use `#[command(rename_rule = "snake_case")]` and the like. -- `#[command(parse_with = ...)]` now requires a path, instead of a string, when specifying custom parsers +- `#[command(rename = "...")]` now always renames to `"..."`; to rename multiple commands using the same pattern, use `#[command(rename_rule = "snake_case")]` and the like. +- `#[command(parse_with = ...)]` now requires a path, instead of a string, when specifying custom parsers. + +### Fixed + +- `#[derive(BotCommands)]` even if the trait is not imported ([issue #717](https://github.com/teloxide/teloxide/issues/717)). ## 0.6.3 - 2022-07-19 diff --git a/Cargo.toml b/Cargo.toml index 5900ee5f..d9295f49 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "teloxide-macros" -version = "0.6.3" +version = "0.7.0" description = "The teloxide's procedural macros" license = "MIT" edition = "2018"