Releases: Bluenix2/discord-typings
Releases · Bluenix2/discord-typings
discord-typings v0.9.0
Changes
This releases continues updating the library after several upstream changes with Discord's API Docs.
Features
- Add support for new Polls, by @mifuyutsuki in #42
- Add new invite types
- Change avatar decoration from string to data
- Add message call data
- Update automod with new "member profile" rule
- Add monetization SKUs previously missing
- Add typing for bulk ban data
discord-typings v0.8.0
discord-typings v0.7.0
This release is meant to be the last release before the official v1.0 release
Changes
Features
- Library has been fully refactored for new structure: see #37
- Update typings to latest documentation
discord-typings v0.6.0
Changes
This is a rough summary from the past several months - it is best to refer to the commit history for a full changelog.
Features
- Add new fields in various parts of the library (maintenance)
- Add typings for select menu variants
- Support attachments in interactions
Fixes
- Rename
ThreadMetadatato add correct suffix:ThreadMetadataData - Expose previously missing typings
discord-typings v0.5.1
Changes
Fixes
- Add
LocalesandAuditLogEventsto__all__ - Fix ambiguous uses of
strtoLocales
discord-typings v0.5.0
Changes
Breaking Changes
- Remove leading
$in IdentifyConnectionProperties following API change - Rework gateway typings and provide per-event TypedDicts
Features
- Add
GetGatewayDatafor/gatewayendpoint - Add generalized
GatewayCommandunion - Implement application command localization
- Add typings for auto moderation
- Add literals for API enums
- Add new
app_permissionsfield introduced to interactions - Create new
PartialGuildDatafor "Get Current User Guilds" - Add typing for HTTP error responses
- Support new length-restrictions on options
- Add new attachment command option data
Fixes
- Remove
tandsfields off of gateway commands - Update
RequestGuildMembersCommandto accept a single snowflake - Fix inaccuracies in various field typings
- Fix incorrect naming of "Update Voice State" gateway command
- Add
TextInputComponentDatatoActionRowDatacomponentsunion
discord-typings v0.4.0
Changes
Features
- Expose general
InteractionDatasubtypes - Add the last missing modal payloads, for complete modal support
Fixes
- Add additional
Datasuffix toResolvedInteractionData - Add
SelectMenuOptionDatato__all__ - Fix typing inaccuracies in resolved interaction data
- Fix application command options not being a list
- Add
SubcommandOptionDatatoApplicationCommandOptionDataunion
discord-typings v0.3.1
This is a patch release for an autocomplete-typo with StickerItemData.
Changes
Fixes
- Fix
StickerItemDatasuperclass beingTypedDictinstead ofStickerItemBase
discord-typings v0.3.0
Changes
Features
- Change
Snowflaketo be a string and integer union - Add the
@finaldecorator to all payloads - Add context-specific (in a guild, or not) message variants
Fixes
- Remove error-causing comments
- Change
IntegrationAccountData['id']tostr - Fix
ThreadChannelData['member']typed as a guild member rather than a thread member - Add
HeartbeatACKDatato__all__ - Fix message
mentionstyped as always having amemberfield - Typo in
GuildScheduledEventUserData
discord-typings v0.2.0 (v0.2.2)
This is the second release of discord-typings which primarily brings full support for interactions 🎉
There were issues with v0.2.0 and v0.2.1 that have been fixed with v0.2.2, see Extra Fixes.
Changes
Features
- Support all interactions payloads
Fixes
- Add missing
TypedDicts to their respective__all__
Extra fixes
- Move all imports under
if TYPE_CHECKING