Skip to content

Commit 4f81f3c

Browse files
committed
Bump to 0.5.7
1 parent bf3294d commit 4f81f3c

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# 0.5.7
2+
3+
New features:
4+
- Added serenity trait impls for ApplicationContext and PrefixContext as well
5+
- Previously, `AsRef<Cache>`, `AsRef<Http>`, `AsRef<ShardMessenger>`, `AsRef<Context>`, and `CacheHttp` were only implemented for `poise::Context`
6+
- With these impls, poise's context types can be used as-is for the context parameter in serenity functions
7+
- Support generics in `#[poise::command]`-annotated functions
8+
- Added `Context.guild_channel()`
9+
10+
Behavior changes:
11+
- Improved formatting of `builtins::servers` command
12+
- More compact and respects the message character limit
13+
- Titles from thread creations are not interpreted as command invocations anymore
14+
- To return to previous behavior, set `PrefixFrameworkOptions.ignore_thread_creation` to `false`
15+
16+
Detailed changelog: https://github.com/kangalioo/poise/compare/v0.5.6...v0.5.7
17+
118
# 0.5.6
219

320
New features:

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["kangalio <[email protected]>"]
33
edition = "2018"
44
name = "poise"
5-
version = "0.5.6"
5+
version = "0.5.7"
66
rust-version = "1.63.0"
77
description = "A Discord bot framework for serenity"
88
license = "MIT"
@@ -13,7 +13,7 @@ tokio = { version = "1.25.1", default-features = false } # for async in general
1313
futures-core = { version = "0.3.13", default-features = false } # for async in general
1414
futures-util = { version = "0.3.13", default-features = false } # for async in general
1515
once_cell = { version = "1.7.2", default-features = false, features = ["std"] } # to store and set user data
16-
poise_macros = { path = "macros", version = "0.5.6" } # remember to update the version on changes!
16+
poise_macros = { path = "macros", version = "0.5.7" } # remember to update the version on changes!
1717
async-trait = { version = "0.1.48", default-features = false } # various traits
1818
regex = { version = "1.6.0", default-features = false, features = ["std"] } # prefix
1919
log = { version = "0.4.14", default-features = false } # warning about weird state

macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "poise_macros"
3-
version = "0.5.6" # remember to update the version
3+
version = "0.5.7" # remember to update the version
44
authors = ["kangalio <[email protected]>"]
55
edition = "2018"
66
description = "Internal macro implementation crate of poise"

0 commit comments

Comments
 (0)