Skip to content

v1.9.0

Compare
Choose a tag to compare
@DonovanDMC DonovanDMC released this 20 Jan 02:23
· 141 commits to dev since this release
b3cdd63
  • premium app subscriptions & entitlements (b6aaca7)
  • Add appliedTags to StartThreadOptions (b0f8b29)
  • Fix missing "custom_message" property on createAutoModerationRule (f196654)
  • Add reply method to interactions (b8912d2)
  • Add typeguards for interactions (8250ffe)
  • fix error in DiscordRESTError when non-object is recieved (903b364)

Breaking

  • Replace undici with native fetch, now requiring at least NodeJS v18.13.0 at minimum (bdd01c0)
  • Add wrapper around ModalSubmit components (b0bc901)
  • Return MessageInteractionResponse class in interaction createMessage/createFollowup
  • Removed Channels#startThreadInThreadOnlyChannl - use Channels#startThreadInThreadOnlyChannel (4e71ef6)
  • Removed Miscellaneous#getNitroStickerPacks - use Miscellaneous#getStickerPacks (4e71ef6)
  • Removed Routes.NITRO_STICKER_PATHS - use Routes.STICKER_PACKS (4e71ef6)

Note the biggest breaking change here, NodeJS v18.13.0 is now the minimum supported version

This requirement has been set due to native fetch now being used over undici.
Backwards compatibility with v16/v17 won't be tested, but may be possible with 16.15.0/17.5.0 or higher with the --experimental-fetch flag, or a polyfill.