Skip to content

Commit

Permalink
Bump to 0.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
kangalio committed Oct 22, 2023
1 parent bf3294d commit 4f81f3c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# 0.5.7

New features:
- Added serenity trait impls for ApplicationContext and PrefixContext as well
- Previously, `AsRef<Cache>`, `AsRef<Http>`, `AsRef<ShardMessenger>`, `AsRef<Context>`, 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:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["kangalio <[email protected]>"]
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"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
edition = "2018"
description = "Internal macro implementation crate of poise"
Expand Down

0 comments on commit 4f81f3c

Please sign in to comment.