2.0.0 (2024-08-28)
Breaking Changes
- Drop Python 3.8 support. (#2008)
Features
- Implement stage instances (#1725)
- Add Python 3.13 support (#1793)
- Add
titleanddescriptionfields toAttachment. (#1945) - Add
display_nametoPartialUser(#1951) - Remove
Optionaltype hint fromCommandInteraction.options- it will now always be an empty sequence when not provided. (#1965) - Application-bound emojis API support. (#1990)
- Add
Member.guild_flagand matchingGuildMemberFlagsenum. (#2004) - Add
Message.threadfield. (#2012) - Add new voice endpoints (
fetch_my_voice_stateandfetch_voice_state) (#2016) - Add
fetch_rolemethod toRESTClient(#2020)
Bugfixes
-
Fix incorrect cleanup when failing to create request with a web reader (#1946)
-
Fix serializing JSON dicts with enum values as keys.
-
Use Discord Media Proxy instead of CDN for animated stickers urls (#1982)
-
Use correct URL route for scheduled event covers. (#1983)
-
Perform proper comparison when checking
CustomEmojiagainstKnownCustomEmoji. (#1986) -
Add
NITRO_BASICattribute toPremiumType(#1988) -
Fix incorrectly deserialized field
typeinChannelOverwriteEntryInfo(#1993) -
Add missing
AuditLogChangeKey.COMMUNICATION_DISABLED_UNTILand matching key deserialization (#1996)