|
| 1 | +# 0.2.0 |
| 2 | + |
| 3 | +New features: |
| 4 | +- `PrefixFrameworkOptions::ignore_bots` to disable executing commands posted by bots |
| 5 | +- `builtins::register_application_commands_buttons()` allows managing slash command registration with buttons |
| 6 | +- `#[poise(subcommands(...))]` attribute argument as a convenient alternative to manually setting the `Command::subcommands` field |
| 7 | +- `dispatch_event()` function to allow running your own event loop without involving Framework at all |
| 8 | +- `Modal::create()` and `Modal::execute_with_defaults()` can be used to spawn a modal with pre-filled values |
| 9 | +- `default_member_permissions` command attribute argument, part of Discord Permissions V2 |
| 10 | +- `Context::partial_guild` to easily get guild information without cache enabled |
| 11 | + |
| 12 | +API updates: |
| 13 | +- Poise no longer depends on serenity's cache feature |
| 14 | +- Some structs and enums were made non-exhaustive to make future non-breaking changes easier |
| 15 | +- The `Event` enum has been updated to include all `serenity::EventHandler` events again |
| 16 | +- `FrameworkBuilder::initialize_owners()` takes self instead of &mut self, like the other builder methods |
| 17 | +- The macro generated code emits `::std::result::Result` instead of `Result` now, which prevents collisions with user-defined Result type aliases |
| 18 | +- `CreateReply` now implements `Clone` |
| 19 | +- Some callbacks were changed to receive `FrameworkContext<'_, U, E>` instead of `&Framework<U, E>` (had to be done for `dispatch_event()`) |
| 20 | + |
| 21 | +Behavior changes: |
| 22 | +- Autocomplete callbacks and argument parse errors don't cause a cooldown trigger anymore |
| 23 | +- Features using the bot's ID now work again (execute_self_messages, required_bot_permissions, mention_as_prefix) |
| 24 | +- Guild owners can no longer register slash commands in their guild (only bot owners now) |
| 25 | +- Compile times should be faster through less monomorphization bloat |
| 26 | +- Attachments in initial responses are supported now |
| 27 | + |
| 28 | +# 0.1.0 |
| 29 | + |
| 30 | +Initial crates.io release |
0 commit comments