Releases: discordjs/discord.js
Releases · discordjs/discord.js
9.0.2
Library completely rewritten, please see documentation for upgrading advice.
8.1.0
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
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
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
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
- Login via
- 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
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