0.26.0 (2021-12-24)
Bug Fixes
- APIInvite: channel can be null (#182) (c67d426)
- GatewayStageInstance: Stage Instance dispatches not included in
GatewayDispatchPayload
(#267) (46db72d) - NonDispatchPayload:
t
&s
fields are always null on non-dispatch payloads (#259) (315ce35) - only a partial object is needed when updating attachments (#263) (7ab780b)
- StickerPack: Optional
banner_asset_id
(#270) (7eee39d)
Features
- Add API error code
50055
(#256) (b01716b) - Add API error code 50109 (#268) (bfc5e46)
- add support for user guild member read oauth2 scope and route (#254) (e9d02a1)
- APIAuditLog: add
guild_scheduled_events
prop (#251) (c7efcd5) - APIGuildMember: add guild timeouts (#235) (0bbc972)
- GatewayThreadMemberUpdateDispatchData: add
guild_id
extra field (#266) (2c72242) - RESTJSONErrorCodes: add error 20029 (#257) (9e619fc)
- bring in support for TS 4.5's
exactOptionalPropertyTypes
(#275) (c20e5ae)
Cleanups
- Make application command option union easier to use (#250) (8bbb819)
- ChatInputCommandOptions: cleanup chat input options (#274) (7fe78ce)
BREAKING CHANGES
- StickerPack:
banner_asset_id
is now optional. Reference PR: discord/discord-api-docs#4245 - APIInvite: this marks the channel property of invites as possibly null
- ChatInputCommandOptions: A lot of the options were renamed and split up to clean up internal code.
All option interfaces that ended in a plural (*Options
) have had their pluralization removed (*Option
now).
APIApplicationCommandInteractionDataOptionWithValues
has been renamed toAPIApplicationCommandInteractionDataBasicOption
,
and every*InteractionDataOptions{Type}
interfaces have been renamed to*InteractionData{Type}Option
(i.e.:ApplicationCommandInteractionDataOptionString
->APIApplicationCommandInteractionDataStringOption
).
New Contributors
- @NurMarvin made their first contribution in #259
- @cyyynthia made their first contribution in #263
- @BR88C made their first contribution in #267
Full Changelog: 0.25.2...0.26.0