Skip to content

Commit 3ff829d

Browse files
committed
Bump to 0.5.6
1 parent b53263e commit 3ff829d

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 0.5.6
2+
3+
New features:
4+
- Added `cache()`, `http()`, `reply()`, `ping()` methods to `Context`, `ApplicationContext`, `PrefixContext`
5+
- Added `subcommand_required` command attribute
6+
- When a command with subcommand_required is invoked without a subcommand (only possible as a text/prefix command), an error is thrown
7+
- Added `execute_modal_on_component_interaction` utility function
8+
- Previously, poise only features a utility function for opening modals from command invocations
9+
- 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
10+
- In the next breaking release, `remaining_cooldown` will be replaced with `remaining_cooldown_2`
11+
- Added `Command.source_code_name`
12+
13+
Behavior changes:
14+
- Reply messages (i.e. reference_message set to Some) now ping by default
15+
- This matches the default from serenity and the default from the Discord client
16+
- Raw identifiers can now be used for command names and command parameter names
17+
18+
Detailed changelog: https://github.com/kangalioo/poise/compare/v0.5.5...v0.5.6
19+
120
# 0.5.5
221

322
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.5"
5+
version = "0.5.6"
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.5" } # remember to update the version on changes!
16+
poise_macros = { path = "macros", version = "0.5.6" } # 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.5" # remember to update the version
3+
version = "0.5.6" # 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)