github serenity-rs/serenity v0.12.5

21 hours ago

This compiles all of the changes that had accumulated since the prior release,
and, unless another minor release is warranted, constitutes as the last release
for the 0.12.x series.

We also extend our heartfelt thanks to @jamesbt365, who passed away a few
months ago. We deeply appreciate his code contributions, which started back in
2023, as well as his social contributions for helping people with using
Serenity, Songbird, and Poise, on Github and/or Discord. We were saddened to
hear that he's no longer with us, but we hope he rests well.

Thanks to the following for their contributions:

Deprecations

  • #3083 Deprecate Member::distinct
  • #3090 Deprecate ContentSafeOptions::show_discriminator
  • #3348 Deprecate creating a guild

Additions

  • #2956 Add support for PURCHASE_NOTIFICATION message type
  • #3020 Add Consume Entitlement endpoint and missing fields for SKUs and Entitlements
  • #3070 Add helper for extracting the guild ID out of an interaction
  • #3092 Add Message::message_snapshots
  • #3094 Implement PartialEq and Eq for ActivityData
  • #3307 Support ?with_components in webhooks
  • #3319 Add avatar field to PartialMember
  • #3321 Make ImageHash usable as key in std containers
  • #3362 Add support for fetching a single guild ban
  • #3368 Add banner to Member and PartialMember
  • #3374, #3435 Add soundboard support
  • #3380 Add flags to EditWebhookMessage and EditInteractionResponse
  • #3394 Add get_user_voice_state endpoint
  • #3395 #3397 Add new AutoMod type for quarantined users, add AutoMod type for quarantined guild tag
  • #3400 Add resolved data to ComponentInteractionData
  • #3437 Add the applied_tags field to ExecuteWebhook
  • #3452 Add guild role member counts endpoint
  • #3456 Add attachment_size_limit field

Removals

  • #3063 Remove broken Message::super_react

Fixes

  • #3059 Fix incorrect parameters for retrieving invites
  • #3105 Fix Heartbeat gateway event handling
  • #3377 Fix Ord impl for Role

Documentation improvements

  • #3128 Update maximum limit of guilds returned by get_guilds to the new limit (200)
  • #3408 Remove duplicate items from Guild::features documentation
  • #3413 Fix documentation for Guild::preferred_locale, it is only available to guilds with the COMMUNITY feature

Miscellaneous

  • #3421 Switch fxhash dependency with rustc-hash
  • #3433 Update CreatePoll to use u16 for duration

Don't miss a new serenity release

NewReleases is sending notifications on new releases.