github serenity-rs/serenity v0.10.6

latest releases: v0.12.1, v0.12.0, v0.12.0-rc2...
3 years ago

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.
  • 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.

Thanks to the following for their contributions:

Added

Changed

Fixed

Removed

Don't miss a new serenity release

NewReleases is sending notifications on new releases.