2.0.0
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
title
anddescription
fields toAttachment
. (#1945) - Add
display_name
toPartialUser
(#1951) - Remove
Optional
type hint fromCommandInteraction.options
- it will now always be an empty sequence when not provided. (#1965) - Application-bound emojis API support. (#1990)
- Add
Member.guild_flag
and matchingGuildMemberFlags
enum. (#2004) - Add
Message.thread
field. (#2012) - Add new voice endpoints (
fetch_my_voice_state
andfetch_voice_state
) (#2016) - Add
fetch_role
method 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
CustomEmoji
againstKnownCustomEmoji
. (#1986) -
Add
NITRO_BASIC
attribute toPremiumType
(#1988) -
Fix incorrectly deserialized field
type
inChannelOverwriteEntryInfo
(#1993) -
Add missing
AuditLogChangeKey.COMMUNICATION_DISABLED_UNTIL
and matching key deserialization (#1996)