Tags: YuzuTheNeko/serenity
Tags
Bump to 0.10.10 (serenity-rs#1688) This release contains a multitude of additions and fixes (and some minor removals). Most notably: - Increase of the **Minimum Supported Rust Version** to 1.51 (caused by `rustls` v0.20) - New examples (web dashboard, sqlite, message components). - Improved support for application command interactions. - Support for context menu commands. - Addition of new fields and flags to various models. - Support for member timeouts. - Access to data managed by the `ClientBuilder`. - Better HTTP errors (they now include the path in the JSON body where the error is). - Deprecation of some structs like `GuildStatus` and `Region`. - Improved documentation.
Bump to 0.10.9 (serenity-rs#1470) This is a release to play catch-up with Discord's new additions to its API, while expanding, improving, and fixing ours. Notable changes include: - The switch to version 9 of Discord's Gateway and HTTP APIs. - Support for threads. - Support for stage instances. - Support for sending multiple embeds in a message. - Fixing and extending the collector API -- it is now possible to await events other than `MESSAGE_CREATE` or `MESSAGE_REACTION_ADD`. - Clarification of slash commands in documentation (they are now fully referred to as 'application commands'). - Redesign of the `Parse` trait to allow parsing more model types and in application command contexts.
Bump to 0.10.8 (serenity-rs#1385) This is a release primarily to publish support for slash command buttons and dropdowns, but includes improvements and fixes for other things. For instance: - `CacheHttp` implementation for `Http`. - Consistency between `Guild` and `PartialGuild` by implementing missing methods. - Fix the ability to mention other users when utilising `Message::reply` (and `Message::reply_ping`). - More accurate token checks.
Bump to 0.10.6 (serenity-rs#1335) This release adds a plethora of additions and changes (and a few bugfixes), mainly improving conformity to Discord's API. Speaking of which, special thanks goes to @HarmoGlace, who, with his hard work, generously added and improved support to features of the Discord API such as Slash Commands and other things. Among the most important highlights of this release are: - Full Slash Commands support. - Support for new fields in model structures. - Deprecation of the `region` field for the `Guild` and `PartialGuild` structures. The region is now set per voice channel. - HTTP Proxy support. You can now route all HTTP requests through a proxy like [Twilight's HTTP proxy](https://github.com/twilight-rs/http-proxy). - Model type robustness. Types that designate the type/kind of a model (like a channel) will now default to the newly introduced `Unknown` variant whenever Discord adds a type/kind. This prevents runtime errors resulting from deserialisation of model types due to unrecognised types/kinds. - Better error messages for `#[command]`, `#[help]`, and `#[check]` functions. With a little hint, the compiler should report more detailed and accurate error messages for the return type of the functions. - Support for the "Watching..." activity. - Better HTTP errors. Since version 8 of Discord's API, Discord provides more thorough error messages for invalid HTTP requests, and with this release, those error messages can now be displayed when printing `serenity::http::DiscordJsonError`.
Bump to 0.10.5 (serenity-rs#1277) This is a release with various additions, improvements, and critical fixes. Of the notable changes, these include: - Fixing breakage caused by Discord from the addition of stage channels. - Fixing breakage for slash commands - Improving conformity to Discord's API (better 1-to-1 mapping of model types and builders) - Allowing reacting to messages with emojis that contain a hash, such as #️⃣ - Allowing editing and deleting messages from webhooks, and fixing breakage - Adding documentation to the `#[hook]` macro - Adding a `Parse` trait for parsing model types from strings, with auxiliary data supplied by `Context` and `Message` Of the minor changes, these include: - Preventing the help command from dispatching in DMs if the `Configuration::allow_dm` option is false - Improving documentation reader experience by informing users of code that needs the `collector` feature - Adding a way of joining lines in documentation comments for commands and groups with `\$` Breaking changes have been introduced for slash commands and webhooks, but they are excused as slash commands are locked behind a feature gate for instability, and without the change, webhooks cannot be properly deserialised.
Bump to 0.10.4 (serenity-rs#1251) This is a quick release to fix building documentation from an issue that arose from our incorrect usage of the unstable `#[doc(cfg)]` feature.
Bump to 0.10.3 (serenity-rs#1249) This release contains various additions, improvements, and bugfixes. Among the important changes are: - Builders and model methods for slash commands. - Recognition of subcommands and their aliases in the help command. - Model methods with permission checks, which rely on the cache, will run even if the cache is missing items to prove the bot has the permissions. - Support for `///` on `#[group]`s for the description. **Breaking changes**: Although this is a point release, it does include two breaking changes: - `MessageUpdateEvent::embeds` changed to `Vec<Embed>` from the previous untyped version, `Vec<serde_json::Value>`. - `Webhook::token` changed to `Option<String>` to adhere to Discord's structure for webhooks. These have been added as otherwise the features are inconvenient to use or they are broken in certain cases.
Bump to 0.10.2 (serenity-rs#1182) This release contains a compatibility patch for tokio, as much of the ecosystem is still catching up in regards to the `1.0` release. The patch will allow users to use tokio `0.2` until all of their dependencies are updated to use `1.0`. This release also fixes documentation attributes for slash commands, correctly displaying information that their api is unstable and has to be enabled with the `unstable_discord_api` feature.
PreviousNext