Skip to content

Releases: abalabahaha/eris

0.14.1

02 Apr 10:31
Compare
Choose a tag to compare

Fixes:

  • Fixed errors from handling unrecognized voice channels (e.g. stage channels) (21154bb)

0.14.0

01 Apr 01:51
Compare
Choose a tag to compare

Breaking changes:

  • API requests now use discord.com instead of discordapp.com (69195fc)
  • CommandClient now checks cooldown before permissions (66e3abf)
  • messageReactionAdd event now emits (possibly partial) Member objects instead of userID (29b5293)
  • typingStart event now emits with partial objects (f3500d7)
  • RenamedMessage#removeMessageReactionEmoji() to Message#removeReactionEmoji() (69025e5)
  • Renamed GuildPreview#discoverySplah to GuildPreview#discoverySplash (12094ea)
  • Invite#channel and Invite#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 of Member#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 accepts Member objects (95c4e0f)
  • Added guildID to partial messages in reaction events (375503b)
  • Added GuildPreview#dynamicDiscoverySplashURL() (12094ea)

Fixes:

0.13.4

05 Nov 13:53
Compare
Choose a tag to compare

Additions:

  • API requests now use discord.com instead of discordapp.com (8b5643e)

0.12.1

05 Nov 13:53
Compare
Choose a tag to compare

Additions:

  • API requests now use discord.com instead of discordapp.com (4b68474)

0.11.3

05 Nov 13:53
Compare
Choose a tag to compare

Additions:

  • API requests now use discord.com instead of discordapp.com (9e7e85f)

0.8.7

05 Nov 13:52
Compare
Choose a tag to compare

Additions:

  • API requests now use discord.com instead of discordapp.com (1604c79)

0.13.3

18 Jun 09:07
Compare
Choose a tag to compare

Fixes:

  • Fixed some REST errors related to a change in Discord's body handling (9cfb91a, a90c16e)
    • HTTP 400 and/or properties not being passed correctly in unbanGuildMember() and pruneMembers()

0.13.2

16 Jun 05:45
Compare
Choose a tag to compare

Additions:

  • Added support for following NewsChannels (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 for Messages sent in GuildChannels (87b4f97)
  • Typings fixes (69ae0a1, d5abf0d, 9a00955)

0.13.1

13 May 10:23
Compare
Choose a tag to compare

Fixes:

  • Implemented workarounds for behavior that would cause Discord to crash the connection when resuming
    • Stopped heartbeats from being sent when resuming (fc655e2)
    • Cached the token the shard used for identifying (0d9f3ec)
    • At the time of this release, Discord has yet to deploy the fix for this (which would still probably invalidate the resume, just faster)

Special thanks to everyone that sent logs and tested random commits. And @ak-s for the wonderful wireshark analysis.

0.13.0

12 May 06:21
Compare
Choose a tag to compare

Breaking Changes:

  • messageReactionRemoveAll & messageReactionRemoveEmoji may be emitted with partial channels (ccb66c2)
    • Only message.id and message.channel.id are guaranteed
    • This mirrors new behavior from messageReactionAdd & messageReactionDelete from 0.12.0
  • Member#status can be undefined (cf256b5)
    • Reflects when the online status of a Member cannot be dtermined, common when using intents without presences
  • 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 Members 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 Guilds (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 in CommandClient (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)