github discordjs/discord.js 10.0.0

Additions

  • Presence and Game Structures (f1cb39a319483e20aeaa201aceb202e90cf5198c)
  • Methods to manage emoji methods (c8761d72deba414bce2372b579ff94a466ee2507)
  • StreamDispatcher.paused (b1322cbc69b423c4f63277b6ab717ec4186ebc16)
  • GuildMember.missionPermissions() and EvaluatedPermissions.missingPermissions() (428ee2f71824b39375a8555e0a1043e1c05b0c67)
  • Role.setMentionable() (c2c477834fe6b7010831b4cfb1e0da727462cd7a)
  • MessageCollector.next() (34168eb832f265467620abe690ea0a902bf935f9)
  • InviteResolvables (c4e1e4f50f9ff60f336f703dbf9c094d97fed61a)
  • Ignore specific WebSocket events (4653f885557a174fd2c60d7e30831509394baab7)
  • WebHook.sendSlackMessage() (e48d7d52f142fb2ebd89c15de1ce725f48045aef)
  • ShardingManager.fetchRecommendedShards() and miscellaneous (853a3dfa04ab1d21a94888a962edf25068a0b955)
  • VoiceChannel.joinable and VoiceChannel.speakable (50a1d1cbef021eca01cdc5c180a4f34360354c54)
  • Collection.filterArray() (6baf43dc24396b28a7017fa727266d574cf736e1)
  • ClientUser.friends and ClientUser.blocked (e04dbbdb827970cb842918131cfe6a44f6d17683)
  • Message.type (bd5540314b8a2247f755718b09f3872e1a79321e)
  • Add and Remove friends, and block users (9c8eb2dfc3e72dc9c6ffd5edb71d02426c1738b9)
  • CollectorOptions.maxMatches (d0463926c4c5f5677ed5dd13dc30b0b650481b2c)
  • ClientUser.createGuild() (60a911e4a054ae2d42497206072fbfe7eaab1d17)
  • User.fetchProfile() (c6bcf69dc35849f0c85b11e7136895c6318c39a2)

Fixes

  • Heartbeats (#737, c8636fd2779102ccd6f5e09ee32e57999e32ef4b)
  • Session resumption (#699, 534d7af8c36e3631fb8916a4cac7e5d443b0fd38)
  • Sequences are now reset on new WebSocket sessions (534d7af8c36e3631fb8916a4cac7e5d443b0fd38)
  • Fix banning of users (21533eec5b142f3ff166db190477de88a1a70645)
  • Fix updating presences for user bots (0f8e8dddff99219223d74e8eaa1ba416f6164594)
  • Fix Permission Overwrite edits overwriting previous, unchanged values (#775, d42ac98339ded93a366deb15d9e7f10150c419e9)
  • Fix guildMemberAdd firing for existing members (#776, 6093dac5544781e29f259f281fbb44629b5ff5a0)
  • Setting GuildRole positions (0c4a4023cef4ee37f521980277307d96fdc64520)
  • Joining voice channels without permission to do so (45632b2eae6791dadf1456f4ee0bc05888def12c)
  • Voice has been rewritten (#694, #729, #774, #801)

Backwards-incompatible changes

Version 10's non-BC changes focus on cleaning up some inconsistencies that exist in previous versions.
Upgrading from v9 should be quick and painless.
See the docs about upgrading.

latest releases: 13.2.0, 13.1.0, 13.0.1...
4 years ago