Skip to content

Commit

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

New features:
- Added `cache()`, `http()`, `reply()`, `ping()` methods to `Context`, `ApplicationContext`, `PrefixContext`
- Added `subcommand_required` command attribute
- When a command with subcommand_required is invoked without a subcommand (only possible as a text/prefix command), an error is thrown
- Added `execute_modal_on_component_interaction` utility function
- Previously, poise only features a utility function for opening modals from command invocations
- Added `remaining_cooldown_2` as the successor to `remaining_cooldown` which allows changing the cooldown config on a per-invocation basis instead of per-command
- In the next breaking release, `remaining_cooldown` will be replaced with `remaining_cooldown_2`
- Added `Command.source_code_name`

Behavior changes:
- Reply messages (i.e. reference_message set to Some) now ping by default
- This matches the default from serenity and the default from the Discord client
- Raw identifiers can now be used for command names and command parameter names

Detailed changelog: https://github.com/kangalioo/poise/compare/v0.5.5...v0.5.6

# 0.5.5

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 <jannik.a.schaper@web.de>"]
edition = "2018"
name = "poise"
version = "0.5.5"
version = "0.5.6"
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.5" } # remember to update the version on changes!
poise_macros = { path = "macros", version = "0.5.6" } # 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.5" # remember to update the version
version = "0.5.6" # remember to update the version
authors = ["kangalio <jannik.a.schaper@web.de>"]
edition = "2018"
description = "Internal macro implementation crate of poise"
Expand Down

0 comments on commit 3ff829d

Please sign in to comment.