From 2d3be6b85c2ea935b25746d9fd0e0787b643b3eb Mon Sep 17 00:00:00 2001 From: kangalioo Date: Thu, 20 Apr 2023 16:11:12 +0200 Subject: [PATCH] Bump to 0.5.3 --- CHANGELOG.md | 15 +++++++++++++++ Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- macros/Cargo.toml | 2 +- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bae9445d204..58daeddb6735 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# 0.5.3 + +New features: +- Added `builtins::paginate()` as an example implementation of pagination +- Added missing events in `EventWrapper` (#144) +- Added `FrameworkError::CommandPanic` to allow custom handling of panics (#140) + - `builtins::on_error` responds with an "Internal error" embed when encountering `CommandPanic` + +Behavior changes: +- `builtins::on_error` now prints `FrameworkError::Command` not just in Discord chat, but in console as well + - because responding in Discord sometimes doesn't work, see 0a03fb905ca0bc3b2ee0701fe35d3c89ecf5a654 +- Fixed a compile error when `name_localized` or `description_localized` are used multiple times (#143) + +Detailed changelog: https://github.com/kangalioo/poise/compare/v0.5.2...v0.5.3 + # 0.5.2 New features: diff --git a/Cargo.lock b/Cargo.lock index 3c2100c117ce..be5be757445e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -845,7 +845,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "poise" -version = "0.5.2" +version = "0.5.3" dependencies = [ "async-trait", "derivative", @@ -867,7 +867,7 @@ dependencies = [ [[package]] name = "poise_macros" -version = "0.5.2" +version = "0.5.3" dependencies = [ "darling", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index f5dca21ad253..1376ef6b2bf0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ authors = ["kangalio "] edition = "2018" name = "poise" -version = "0.5.2" +version = "0.5.3" rust-version = "1.60.0" description = "A Discord bot framework for serenity" license = "MIT" @@ -13,7 +13,7 @@ tokio = { version = "1.21.1", default-features = false } # for async in general futures-core = { version = "0.3.13", default-features = false } # for async in general futures-util = { version = "0.3.13", default-features = false } # for async in general once_cell = { version = "1.7.2", default-features = false, features = ["std"] } # to store and set user data -poise_macros = { path = "macros", version = "0.5.2" } # remember to update the version on changes! +poise_macros = { path = "macros", version = "0.5.3" } # remember to update the version on changes! async-trait = { version = "0.1.48", default-features = false } # various traits regex = { version = "1.6.0", default-features = false, features = ["std"] } # prefix log = { version = "0.4.14", default-features = false } # warning about weird state diff --git a/macros/Cargo.toml b/macros/Cargo.toml index f2d4bfcf9352..f27a2db0032b 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poise_macros" -version = "0.5.2" # remember to update the version +version = "0.5.3" # remember to update the version authors = ["kangalio "] edition = "2018" description = "Internal macro implementation crate of poise"