Releases: abalabahaha/eris
Releases · abalabahaha/eris
0.14.1
0.14.0
Breaking changes:
- API requests now use
discord.com
instead ofdiscordapp.com
(69195fc) CommandClient
now checks cooldown before permissions (66e3abf)messageReactionAdd
event now emits (possibly partial)Member
objects instead ofuserID
(29b5293)typingStart
event now emits with partial objects (f3500d7)- Renamed
Message#removeMessageReactionEmoji()
toMessage#removeReactionEmoji()
(69025e5) - Renamed
GuildPreview#discoverySplah
toGuildPreview#discoverySplash
(12094ea) Invite#channel
andInvite#guild
can be (possibly partial)Channel
/Guild
objects, respectively (814f92b)
Deprecations:
- Mention sanitization in
Message#cleanContent
is deprecated in favour of Discord's Allowed Mentions - Deprecated
Member#permission
in favour ofMember#permissions
(296ec70)
Additions:
- Added recently-added properties to some update events (a58f710)
- Added support for custom args splitters in
CommandClient
(11c1d0b) - Added more mention sanitization to
Message#cleanContent
(13390b9) - Added
Message#jumpLink
(7ebb323) - Support
Message
type 16/17 (258e8ca) Client
debug
event strips token from some messages (a063528)messageCreate
event handler now updates the cached author (fb858ea)permissionsOf()
now acceptsMember
objects (95c4e0f)- Added
guildID
to partial messages in reaction events (375503b) - Added
GuildPreview#dynamicDiscoverySplashURL()
(12094ea)
Fixes:
VoiceConnection
no longer attempts to reconnect on 4014 close (2ab0fb9)- Fixed Shard WebSocket handling in browser environments (1ffabb0)
- Fixed
voiceStateUpdate
event filtering (1051771) - Fixed error not being passed to
CommandClient
errorMessage
handler (d6c182e) - Fixed
ShardManager
JSON serialization (a8c60fd) - Docs, typings, and package fixes (edf71bb, a5a1875, 0bfb6d1, 8a4979b, 518b9f5, 6ebf053, b9d6de1, 814f92b)
0.13.4
0.12.1
0.11.3
Additions:
- API requests now use
discord.com
instead ofdiscordapp.com
(9e7e85f)
0.8.7
0.13.3
0.13.2
Additions:
- Added support for following
NewsChannel
s (7d9f68c) - Exposed
Guild#maxVideoChannelUsers
(bd31053) - Added
Guild#fetchMembers()
, support for more member chunking options (c63242f)
Fixes:
- Fixed an error in gateway reconnect handling (529dbc3)
- Fixed an error in
messageReactionRemove
handling (92f9cb3) - Fixed errors in calculating REST ratelimit reset times (8b20340)
- Fixed logical errors in gateway ratelimit handling (56f7574)
- Errors from Shard WebSockets now extend the built-in
Error
class (d32cab8) - Fixed cleanup of objects in errored
VoiceConnection#play()
calls (f19e7f7) - Fixed some instances of
Message#guildID
being null forMessage
s sent inGuildChannel
s (87b4f97) - Typings fixes (69ae0a1, d5abf0d, 9a00955)
0.13.1
Fixes:
- Implemented workarounds for behavior that would cause Discord to crash the connection when resuming
Special thanks to everyone that sent logs and tested random commits. And @ak-s for the wonderful wireshark analysis.
0.13.0
Breaking Changes:
messageReactionRemoveAll
&messageReactionRemoveEmoji
may be emitted with partial channels (ccb66c2)- Only
message.id
andmessage.channel.id
are guaranteed - This mirrors new behavior from
messageReactionAdd
&messageReactionDelete
from 0.12.0
- Only
Member#status
can beundefined
(cf256b5)- Reflects when the online status of a
Member
cannot be dtermined, common when using intents without presences
- Reflects when the online status of a
Client#getPruneCount()
&Client#pruneMembers()
now use options objects instead of multiple function arguments (47edd3c)
Additions:
- Added Allowed Mentions support to
Client#editMessage()
(8231537) - Added
Message
cross-posting support (bb37a5f, 8d6ca61) - Added support for searching
Member
s through REST (eb5e736) - Expose
User#publicFlags
(ef4b117) - Added option to limit
Shard
resume attempts before invalidating the session (da24059)- Workaround for some cases where an unknown bug could cause a session to fail to resume
- Added support for opus packet object streams in
VoiceConnection
(a4a4a6b, 55c5af9, 7b1d5cc) - Added
rawREST
event (e0cdcf0) - Added support for previewing
Guild
s (c846691) - Added support for getting a
Guild
over REST with approximate member/presence counts (fd43666) - Added support for filtering by role in
Guild
prune methods (47edd3c) - Expose Guild widget properties (aa6eb5f, 48c215b)
- Guild embeds have been deprecated by Discord and replaced by Guild widgets
Fixes:
- Fixed an error emitted during periods of mass reconnection (ab9b0a5)
- Fixed a bug preventing
guildMemberUpdate
from being emitted the first few times a Member is seen (d2488e9) - Fixed an error in handling
allowedMentions.users
(9415a99) - Switched to using Discord's millisecond-resolution ratelimiting headers (f3ed7d6)
- Added support for RFC-compliant
Retry-After
headers (6132c11)- May have caused excessive requests to be made when being ratelimited by non-Discord services like Cloudflare
- Started caching members from voice events (3a495e9)
- Fixed
roleNames
requirement check inCommandClient
(7e83718) - Improved handling of shard heartbeats & latency calculation (d919de4)
- Updated support for authorizing webhook execution (d7702cf)
- Now permits expanded custom emoji use if authorizing webhook execution with the bot token
- Fixed an error in handling voice user disconnects (cd76a50)
- Updated
Invite
to expose new properties (cc1363a) - Fixed handling errors in Member-related REST methods (977dbe4)
- Fixed outdated image URL constraints (0f4fbf5)
- Max size is 4096, not 2048
jpeg
is technically a supported extension
- Updated built-in system messages content (2aa81ee)
- Exported some missing structures (be63c9b, 10a97bd, 6510037)
- Fixed various items in docs (c2690fa, 1ec4c5f) & typings (8d95286, 1cf5c98, 1ec4c5f, cc1363a)