Releases
0.16.0
Breaking Changes
Discord API v8 and v9 breaking changes:
Discord now requires users to specify Gateway Intents to receive certain events. To ease the transition, Eris defaults to requesting all non-privileged intents, configurable through the intents
Client
option.
getGuildEmbed()
is removed in favor of getGuildWidget()
(e194a71 )
PermissionOverwrite#type
is now a number
instead of a string
(e194a71 )
The guildSubscriptions
Client
option is removed in favor of intents (e194a71 )
Member#joinedAt
is now nullable (3fe4d21 )
Guild#region
is removed in favor of VoiceChannel#rtcRegion
(3fe4d21 )
The voiceStateUpdate
event can now emit with a partial member
and null oldState
(ee960c0 )
The ws
Client
option has breaking changes (see [email protected]
release notes )
Deprecations
Discord v8 and v9 deprecations:
Guild#nsfw
is superseded by Guild#nsfwLevel
(0abf61a )
On new messages, Message#stickers
is superseded by Message#stickerItems
(b483ff3 )
getGuildAuditLogs()
is replaced by getGuildAuditLog()
(ec777a1 )
Paginated functions now take options
objects instead of flat lists of parameters (ec777a1 )
e.g. getMessages(channelID, { limit: 5, around: msgID })
instead of getMessages(channelID, 5, undefined, undefined, msgID)
Includes getGuildAuditLog()
, getMessageReaction()
, getMessages()
, purgeChannel()
, getRESTGuilds()
, and getRESTMembers()
Additions
Support Message#stickerItems
(b483ff3 )
Support new and renamed:
Support sending multiple embeds (8e9a2b7 , 0726aae )
Support intents (e194a71 , 1e95e62 , a7bff54 , a365531 )
Support Member#activities
(e194a71 )
Support Message#components
(120f917 , dc72ad9 )
Support per-Guild
avatars (a58cd69 )
Support mute/deafen in joinVoiceChannel()
(e357991 )
Support stickers (daedb2b , 7145134 )
Support User#banner
(558bbe5 )
Support Role#icon
(59a35bb )
Added/Updated various Constants (da84b35 , 2d317cf )
Support interactions (a9c4934 , e8b819a , 3fe4d21 , dc72ad9 , 1a8ee35 )
Support Guild#premiumProgressBarEnabled
(e8dfcbb )
Added "identifying"
Shard#status
(5db41aa )
Support Discord Gateway/REST API v9 (3fe4d21 )
The previous release used Gateway v6 and REST v7. Gateway v7 was officially skipped, and API v8 was included in the development cycle for this release.
Support threads
Support stage instances (1e4d78a , 3fe4d21 )
Support attachments in editMessage()
Support target options in createInvite()
(117de32 )
Fixes
Fixed updating VoiceConnection
state when kicked (ea9d670 )
Fixed BigInt serialization in request body (ed6b24c )
Fixed Message#flag
cache updates (e54366b )
Fixed use of deprecated params in getMessages()
and purgeChannel()
(f90e56d , 15546c4 )
Fixed createChannelInvite()
for uncached channels (8582d3c )
Fixed incorrect GuildTemplate endpoint (11d21c9 )
Fixed handling of partial member objects in permissionsOf()
(7e55222 )
Fixed incorrect Invite endpoint (e194a71 )
Fixed uncached member handling in voiceStateUpdate
event (ee960c0 )
Fixed createRole()
/editRole()
without permissions (4bb65f0 )
Improved ratelimit header handling (c31685e )
Fixed uncached author handling in Message
constructor (6331536 )
Fixed heartbeat-related disconnects during identify (5db41aa )
Fixed use of removed method in SharedStream#play()
(e195b59 )
Fixed Member#voiceState.selfStream
when user stops streaming (dd768ec )
Fixed docs (10cc6c4 , d4a49a6 , 756943d , 6e76e52 ), typings (49336e8 , bccde64 , 34f3d9c , 3d80d20 , 840227e , 21a3ce5 , 53da0d5 , 93ce365 , aa8bedf , e8dfcbb )
Contributors
You canβt perform that action at this time.