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
ThreadMetadata
to add correct suffix:ThreadMetadataData
- Expose previously missing typings
discord-typings v0.5.1
Changes
Fixes
- Add
Locales
andAuditLogEvents
to__all__
- Fix ambiguous uses of
str
toLocales
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
GetGatewayData
for/gateway
endpoint - Add generalized
GatewayCommand
union - Implement application command localization
- Add typings for auto moderation
- Add literals for API enums
- Add new
app_permissions
field introduced to interactions - Create new
PartialGuildData
for "Get Current User Guilds" - Add typing for HTTP error responses
- Support new length-restrictions on options
- Add new attachment command option data
Fixes
- Remove
t
ands
fields off of gateway commands - Update
RequestGuildMembersCommand
to accept a single snowflake - Fix inaccuracies in various field typings
- Fix incorrect naming of "Update Voice State" gateway command
- Add
TextInputComponentData
toActionRowData
components
union
discord-typings v0.4.0
Changes
Features
- Expose general
InteractionData
subtypes - Add the last missing modal payloads, for complete modal support
Fixes
- Add additional
Data
suffix toResolvedInteractionData
- Add
SelectMenuOptionData
to__all__
- Fix typing inaccuracies in resolved interaction data
- Fix application command options not being a list
- Add
SubcommandOptionData
toApplicationCommandOptionData
union
discord-typings v0.3.1
This is a patch release for an autocomplete-typo with StickerItemData
.
Changes
Fixes
- Fix
StickerItemData
superclass beingTypedDict
instead ofStickerItemBase
discord-typings v0.3.0
Changes
Features
- Change
Snowflake
to be a string and integer union - Add the
@final
decorator 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
HeartbeatACKData
to__all__
- Fix message
mentions
typed as always having amember
field - 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
TypedDict
s to their respective__all__
Extra fixes
- Move all imports under
if TYPE_CHECKING