Skip to content

Releases: discordjs/discord.js

9.0.2

04 Sep 13:17

Choose a tag to compare

Library completely rewritten, please see documentation for upgrading advice.

8.1.0

01 Aug 22:32

Choose a tag to compare

Additions:

  • Preemptive ratelimiting (prevents most 429 IP bans unless you have a lot of shards)
  • Added support for notes
  • Added support for message pinning
  • Added support for getting a single message (for OAuth bot accounts only)
  • Added more detailed error messages when closing gateway connections
  • Added voiceSpeaking event
  • Added tonicdev support
  • Added support for getting details on an OAuth app (bot account must be owner or member of the app)

Fixes:

  • Fixed a bug where some voice states wouldn't update
  • Fixed some more voice crashes
  • Fixed some game changes not firing presence updates
  • Fixed crash bugs
  • Fixed Discord.Constants export bug
  • Fixed removal of Cache items
  • Fixed editing channels

Misc:

  • Documentation fixes
  • Documentation page for examples
  • Enabled autoReconnect by default

8.0.0

09 Jun 03:32

Choose a tag to compare

Additions:

  • Added support for nicknames
  • Added support for role and channel mentions
  • Added support for Twitch/YouTube stream games
  • Added support for ADMINISTRATOR, CHANGE_NICKNAME, and MANAGE_NICKNAMES permissions
  • Added support for bulk delete
  • Added error event to VoiceConnection
  • Added guildCreateTimeout for slow internets
  • Added voice connection timeout
  • Added support for voice channel bitrates and user limits
  • Added Message.server (shortcut to Message.channel.server)
  • Added permissionsOf(role) support
  • Added createdAt properties to some objects with IDs
  • Added voiceSwitch event
  • Added disableEveryone option
  • Added /tmp to possible TokenCacher directories

Fixes:

  • Fixed friends-related crashes
  • Fixed permissionsOf crash
  • Fixed sendFile content resolution
  • Fixed autoReconnect loop
  • Fixed selfbots blocking mobile push notifications
  • Fixed incorrect documentation
  • Fixed incorrect role data
  • Fixed old references to self_mute/self_deaf
  • Fixed invalid cache data crash
  • Fixed invalid server member data crash
  • Fixed permissionsOf calculation errors
  • Fixed lastMessageID not being updated
  • Fixed mention resolver crash
  • Fixed user avatar updates
  • Fixed some roles being null
  • Fixed playArbitraryFFmpeg
  • Fixed UDP close errors on VoiceConnection
  • Fixed incorrect bot properties
  • Fixed some zombie FFmpeg proccesses
  • Fixed leaving servers
  • Fixed incorrect server data
  • Fixed updateChannel sending invalid data
  • Fixed logout for bot accounts
  • Fixed potential binary crash while joining voice channels

Misc:

  • Upgraded some dependencies
  • messageUpdated now fires even if the original message is not found

7.0.1

09 Jun 03:18

Choose a tag to compare

Additions:

  • Added sending file via sendMessage
  • Added updateServer
  • Added autoReconnect

Fixes:

  • Fixed ratelimiter
  • Fixed incorrect documentation
  • Fixed sendFile
  • Fixed voice state update crash

7.0.0

16 Apr 03:29

Choose a tag to compare

Additions/Changes:

  • Basic support for new OAuth bot accounts
    • Login via loginWithToken(INSERT_OAUTH_BOT_TOKEN_HERE)
    • Public bots (bots that can be invited to other servers) must be converted to OAuth bot accounts by May 1st
  • Friends support (OAuth bots can't have friends though)
  • Encrypted voice support
  • Pause/resume voice stream support
  • Muting/deafening/unmuting/undeafening users support

Fixes:

  • High CPU usage fix
  • Potential playXXX() error fix
  • Voice volume fixes
  • Some voice error fixes
  • Node 0.12 crash fix
  • Fixed forceFetch for guild stream (ready will take much longer though, thanks Discord Devs)
  • Fixed overwritePermissions wiping existing permissions

6.0.0

31 Jan 15:07

Choose a tag to compare

6.0.0

Major stability fixes, bug fixes, and new features

  • sendFile attempts to detect names - commit
  • sendFile can reupload from URLs - commit (patched in later commits)
  • Ability to validate existing invite - commit
  • Finished converting to game names - commit
  • No longer auto-acks messages - commit
  • Can now edit server - commit
  • userUpdated merged into presence and now gives old user and new user - commit
  • Ability to get existing invites - commit
  • Fixed xUpdated events - commit
  • Ability to login via token - commit
  • Ability to move users to voice channels - commit
  • memberHasRole and membersWithRole helper functions - commit
  • Merge addRoleToMember(s), merge removeRoleFromMember(s) - commit
  • Addition of voiceStateUpdate event - commit

v5.3.2

01 Jan 18:45

Choose a tag to compare

5.3.2

Major stability bug fixes

  • Opus sanity checks for voice - commit
  • Fix callbacks and promises in general - commit
  • Fixed references to items in caches when they are updated - commit

5.3.1

26 Dec 18:36

Choose a tag to compare

5.3.1

  • Made the API not crash when encountering users in text channels (abuse of API) - commit

5.3.0

26 Dec 18:22

Choose a tag to compare

5.3.0

  • Added support for new game API changes - commit
  • Fixed Client.login(...) not providing a callback if token caching is enabled - commit
  • Added voice_channel.members to see who is connected - commit
  • Fixed voice_connection.stopPlaying() - commit
  • Fixed server.detailsOf(...) - commit

v5.2.0

23 Dec 22:59

Choose a tag to compare

API compliance and pointer functions