Skip to content

Releases: Bluenix2/discord-typings

discord-typings v0.9.0

02 Jun 19:10
37e7101
Compare
Choose a tag to compare

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

24 Mar 16:13
v0.8.0
b6b8801
Compare
Choose a tag to compare

Changes

This release primarily updates the library to be up-to-date with the documentation. However, below are notable changes:

Features

  • Add support for Discord's Monetization

Fixes

  • Add allow_list to KeywordPresetAutoModerationTriggerMetadataData by @plun1331 (#38)

discord-typings v0.7.0

09 Sep 23:40
14ac597
Compare
Choose a tag to compare

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

22 May 22:23
21a4e5c
Compare
Choose a tag to compare

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

04 Jul 00:31
99dc6b9
Compare
Choose a tag to compare

Changes

Fixes

  • Add Locales and AuditLogEvents to __all__
  • Fix ambiguous uses of str to Locales

discord-typings v0.5.0

02 Jul 23:40
137392f
Compare
Choose a tag to compare

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 and s 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 to ActionRowData components union

discord-typings v0.4.0

24 Mar 17:50
cd4f90a
Compare
Choose a tag to compare

Changes

Features

  • Expose general InteractionData subtypes
  • Add the last missing modal payloads, for complete modal support

Fixes

  • Add additional Data suffix to ResolvedInteractionData
  • Add SelectMenuOptionData to __all__
  • Fix typing inaccuracies in resolved interaction data
  • Fix application command options not being a list
  • Add SubcommandOptionData to ApplicationCommandOptionData union

discord-typings v0.3.1

06 Mar 17:58
be612ef
Compare
Choose a tag to compare

This is a patch release for an autocomplete-typo with StickerItemData.

Changes

Fixes

  • Fix StickerItemData superclass being TypedDict instead of StickerItemBase

discord-typings v0.3.0

01 Mar 19:29
6585189
Compare
Choose a tag to compare

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'] to str
  • Fix ThreadChannelData['member'] typed as a guild member rather than a thread member
  • Add HeartbeatACKData to __all__
  • Fix message mentions typed as always having a member field
  • Typo in GuildScheduledEventUserData

discord-typings v0.2.0 (v0.2.2)

13 Feb 16:06
8d2c655
Compare
Choose a tag to compare

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