github discordjs/discord.js 11.5.1

Overview

11.5.1 is being released to fix bugs from 11.5.0, most notably not being able to modify the nickname of the current user.

Deprecations

  • All user account-only methods have been deprecated (95a2d25b7df69fc7c76426b63f1014346f5edca4)
  • ClientUser#setGame in favor of ClientUser#setActivity (cd066849ad14a61229a95ff7796886ee1560388e)
  • Collection#exists in favor of Collection#some (09ddbcb88a42ccb51046c958a5960598b6c6d416)
  • Collection#find and Collection#findKey's 'prop', 'val' overload is deprecated, pass a function instead (09ddbcb88a42ccb51046c958a5960598b6c6d416)
  • Collection#filterArray, convert to an array and filter, or the other way around instead. (09ddbcb88a42ccb51046c958a5960598b6c6d416)
  • Collection#findAll, filter and then convert to an array, or the other way around. In addition, the 'prop', 'val' overload is also deprecated - pass a function instead (09ddbcb88a42ccb51046c958a5960598b6c6d416)
  • Guild#createChannel when specifying options without using an options object (7ea88adeca3e5916b88ffeb2252c0271c6b92783)
  • Guild#defaultChannel, there will be no fallback/alternative (407500bf52c932fc184ec558df637d929dd417f5)
  • Permissions.flags: READ_MESSAGES in favor of VIEW_CHANNEL (1fe201ae90d554feafbd476bdc12dd00190d8a50)
  • Permissions#allowed and Permissions#denied in favor of Permissions#allow and Permissions#deny respectively (58ba2c7b14b826b6e30b0ffc653726a85365551b)
  • PermissionOverwrites#allowed and PermissionOverwrites#denied in favor of PermissionOverwrites#allow and PermissionOverwrites#deny (db492e66e239c16accbfbd8bed16846f92f89de8)

Fixes

  • Do not create channel key in GuildMember#edit (06b72ee19f2f33d9afe18f903b873c56bd524c6d)
  • Message#pinnable should return false for non DEFAULT messages (8c213e9088112e5aca4b5997dae38c1949b9a0d0)
  • ClientUser#mfaEnabled is not nullable (db492e66e239c16accbfbd8bed16846f92f89de8)
latest releases: 13.2.0, 13.1.0, 13.0.1...
2 years ago