From 77e4d3a4897657c91c743f5b45a5d8975b0a778d Mon Sep 17 00:00:00 2001 From: kangalioo Date: Sun, 23 Apr 2023 21:35:49 +0200 Subject: [PATCH] Bump to 0.5.4 --- CHANGELOG.md | 11 +++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58daeddb6735..470a2e8ce73f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +# 0.5.4 + +API updates: +- The `payload` field of `FrameworkError::CommandPanic` has been changed from `Box` to `Option` + - This is technically a breaking change + - However, the newly introduced `payload` field in 0.5.3 made `FrameworkError` accidentally not Sync anymore + - And `FrameworkError::CommandPanic` has only been introduced a few days ago in 0.5.3 + - Therefore, I think it's ok to release this as a patch release to reverse the accidental breaking change from 0.5.3 + +Detailed changelog: https://github.com/kangalioo/poise/compare/v0.5.3...v0.5.4 + # 0.5.3 New features: diff --git a/Cargo.lock b/Cargo.lock index be5be757445e..56298b727f2e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -845,7 +845,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "poise" -version = "0.5.3" +version = "0.5.4" dependencies = [ "async-trait", "derivative", diff --git a/Cargo.toml b/Cargo.toml index 1376ef6b2bf0..b7f47dea552c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ authors = ["kangalio "] edition = "2018" name = "poise" -version = "0.5.3" +version = "0.5.4" rust-version = "1.60.0" description = "A Discord bot framework for serenity" license = "MIT"