diff --git a/CHANGELOG.md b/CHANGELOG.md index 426cb8f28d41..cd3e47fa27aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +# 0.5.7 + +New features: +- Added serenity trait impls for ApplicationContext and PrefixContext as well + - Previously, `AsRef`, `AsRef`, `AsRef`, `AsRef`, and `CacheHttp` were only implemented for `poise::Context` + - With these impls, poise's context types can be used as-is for the context parameter in serenity functions +- Support generics in `#[poise::command]`-annotated functions +- Added `Context.guild_channel()` + +Behavior changes: +- Improved formatting of `builtins::servers` command + - More compact and respects the message character limit +- Titles from thread creations are not interpreted as command invocations anymore + - To return to previous behavior, set `PrefixFrameworkOptions.ignore_thread_creation` to `false` + +Detailed changelog: https://github.com/kangalioo/poise/compare/v0.5.6...v0.5.7 + # 0.5.6 New features: diff --git a/Cargo.lock b/Cargo.lock index e22f566e1200..b0901582f1f6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -879,7 +879,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "poise" -version = "0.5.6" +version = "0.5.7" dependencies = [ "async-trait", "derivative", @@ -901,7 +901,7 @@ dependencies = [ [[package]] name = "poise_macros" -version = "0.5.6" +version = "0.5.7" dependencies = [ "darling", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 35a6d244a108..203f35097c09 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ authors = ["kangalio "] edition = "2018" name = "poise" -version = "0.5.6" +version = "0.5.7" rust-version = "1.63.0" description = "A Discord bot framework for serenity" license = "MIT" @@ -13,7 +13,7 @@ tokio = { version = "1.25.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.6" } # remember to update the version on changes! +poise_macros = { path = "macros", version = "0.5.7" } # 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 eff9b7c18c3d..6feb4cccc649 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poise_macros" -version = "0.5.6" # remember to update the version +version = "0.5.7" # remember to update the version authors = ["kangalio "] edition = "2018" description = "Internal macro implementation crate of poise"