Skip to content

Release Candidate 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@DonovanDMC DonovanDMC released this 10 Sep 10:44
· 728 commits to dev since this release
a82e67e
  • TypedCollection will properly delete values when the limit is hit
  • TextInput's maxLength has been corrected from boolean to number (#9)
  • EditMemberOptions#roles has been corrected to be an array of strings
  • A suplicate export of TypedCollection in esm has been corrected
  • Various codebase refactors have been done to make the code cleaner
  • Methods in the Guilds rest routes will not add guilds to the cache anymore
  • The localization generic has been removed from the ApplicationCommands rest routes
  • Webhooks#getChannel & Webhooks#getGuild have been renamed to getForChannel & getForGuild and now actually return webhook instances
  • Member#publicUsers getter has been corrected to publicFlags
  • getJoinedPrivateArchivedThreads & getPrivateArchivedThreads have been moved from TextableChannel to TextChannel (these are not applicable to Announcement channels)
  • Embeds have been corrected to properly allow for things like color = 0 (falsey values)
  • A jumpLink getter has been added to Message
  • A link to the relevant event pages has been added to the description of classes
  • Events have been moved from types/client to types/events
  • Two utility types PossiblyUncachedMessage & PossiblyUncachedThread have been added for use in events
  • A documentation test workflow has been added
  • Getting application commands now takes an object instead of a single parameter. This is a breaking change, no backwards compatibility is provided.
  • Getting application commands now supports sending a locale, which will return desciptionLocalized and nameLocalized, if applicable
  • The compression and encoding optional dependencies have been removed from optionalDependences and added to the README
  • A set of Contributing Guidelines have been added
  • Interaction typings have been overhauled
  • A clientMember getter has been added to Guild
  • ForumChannel's parent type has been corrected to CategoryChannel | null