Skip to content

Releases: abalabahaha/eris

0.12.0

14 Apr 03:35
Compare
Choose a tag to compare

Breaking changes:

  • Removed disableEveryone in favor of Allowed Mentions (ebce8dd)
  • Emit partial reaction events (messageReactionAdd & messageReactionDelete ) with partial channel objects (f9680a1)
    • Only message.id and message.channel.id are guaranteed
  • Replaced the viewGuildAnalytics permission with viewGuildInsights, reflecting its official name (384b144)

Additions:

  • Support Gateway Intents (b8df72b)
  • Support Allowed Mentions (ebce8dd)
  • Expose various new properties on Message (30577d3, 4363722) and Public Guilds (01c8ebb)
  • Support new events: inviteCreate & inviteDelete (e3b4d89)
  • Support deleting all reactions with a specific emoji (c7c4d9d, 8deaa79)
  • Support new Message types: 14 & 15 (2fdf6c0)
  • Expose audit log reason parameter in Client#deleteMessages() and Client#purgeChannel() (67ab33f)
  • Support new properties in Client#createGuild() (36e49e5)
  • Expose Channel#client (ba0f2bf)
  • Allow passing a Role to Client#createRole() (ecc40ae, e2b8c53)

Fixes:

0.11.2

01 Jan 06:02
Compare
Choose a tag to compare

Additions:

  • Support new audit log entry types (3f87066)
  • Officially support editing message flags (1567f9d, d68dba5)
  • Support Member#selfStream (Go Live) (db4deb3)
  • Support activity type 4 (custom statuses) (a4fe81f)
  • Support ESM-style imports (3fd70d4)
  • Guild#fetchAllMembers() now returns a Promise (9eee8ed)

Fixes:

0.11.1

17 Nov 22:46
Compare
Choose a tag to compare

Deprecations:

  • The reason and parentID arguments in createChannel(guildID, name, type, reason, parentID) have been deprecated. They can now be specified as properties of an overall options object in createChannel(guildID, name, type, options)

Additions:

  • Added option to customize the reconnect delay algorithm (e16e645)
  • Added option to set initial permissionOverwrites with createChannel() (4fd75ec)

Fixes:

0.11.0

15 Oct 03:41
Compare
Choose a tag to compare

Breaking changes:

  • Dropped support for gateway compression with the built-in zlib module (6702773)
  • Properties on custom Error objects (incl. DiscordRESTError, DiscordHTTPError) are now writable (1dfc0f7)
  • Any defined CommandClient requirements must now all be satisfied for Commands to execute (AND instead of OR) (07d24f5, 7f670c4)
  • Guild#premiumSuscriptionCount was renamed to Guild#premiumSubscriptionCount (oops) (31a98c0)

Additions:

  • Support guild subscriptions (75ee84c)
  • Support channel following (af9854e)
  • Support the stream permission (2021d06, b75bdda)
  • Support the viewGuildAnalytics permission (5d9cce5)

Fixes:

0.10.1

17 Jul 19:01
Compare
Choose a tag to compare

Additions:

Fixes:

0.10.0

10 Jun 07:01
Compare
Choose a tag to compare

Breaking changes:

  • Audit log reasons will no longer be automatically URI-encoded. Use encodeURIComponent() if you want to pass non-URL-safe characters.

Additions:

  • Added support for slowmode (0e06348, c6a6ab7)
  • Added CommandClient reaction button filtering (ffcaec4)
  • Added getGuildVanity() support (29b0f63)
  • Added more options to createChannel() (97bd436)
  • Added support for presence activities (97da098)
  • Added new Collection methods (ea44550)
  • Expose some properties
    • pinned property in messageUpdate event (9ed1d7f6)
    • systemChannelID, explicitContentFilter in editGuild() (96bffa6, 4874d5e)
    • banner in Guild (2e444a4)
  • Add full support for store/news channels (19257d5, 247092d)
  • Allow custom Node HTTP(S) agent options (0509d44)

Fixes:

  • Various docs fixes (e6208fa, 86ee584, e0a2fc0)
  • Various TypeScript fixes (968614b, a3f90b6, 5254bd9, e2dc920, 6c2b943, 809113f, 3eace85, 33ea8e7, 0fc778d, 73d46f1)
  • Fixed several undefined errors related to REST calls with Member objects (c3db0ac, 580a14b)
  • Fixed voice data timeout lengths and speaking indicator flickering (31c8b10)
  • Fixed CommandClient exclusion checks (b11855b)
  • Fixed a voice receive parser bug that emitted invalid Opus packets (f305d7d)
  • Fixed error thrown when the provided audit log reason contains a % (2cc9f29)
  • Fixed incomplete oldGuild objects in the guildUpdate event (1955856)
  • Eliminated weird decimals in #createdAt property of various structures (ab622ba, bd48702)
  • Fixed required Node version (fde55ea)
  • Fixed unlimited (limit = -1) purgeChannel() behavior (b30a12f, f919f96)
  • Fixed position calculation in editChannelPosition() (fe5a10f)
  • Stop parsing NaN-like editedTimestamps (188b66d)
  • Updated system join messages list (22d1648)
  • Fixed avatar/icon size limits (8416829)
  • Fixed errors thrown when handling unknown channel types (df40987)
  • Fixed handling of seedVoiceConnections (56ffea8)
  • Ignore duplicate spaces in command arguments (ae2fac1)

0.9.0

08 Aug 03:02
Compare
Choose a tag to compare

Breaking Changes:

  • Node >= 8.0.0 is now required
    • In an effort to clean up the codebase, ES6 features from Node 6+ and async/await from Node 8+ has been added to the library, and the library has been re-optimized for Node 8/V8 5.8+ performance characteristics
    • Future versions will probably continue to follow Node LTS Maintenance scheduling; this was an exception due to all the beneficial changes introduced in Node 8.

Additions:

  • Added the new voicePrioritySpeaker permission (7dd9a81)
  • Added an option for changing the REST request timeout (0a1ea97)
  • Added getGuildBan() (ced07c2)
  • Allowed CommandClient hooks to change command execution and arguments (f49bd52)

Fixes:

  • Fixed cases of Message#member and mentioned members being null (cf82953, 54d86c3, cb93c03)
  • Fixed occasional errors when receiving partial message updates (6741be7)
  • Fixed purgeChannel()'s handling of non-integer numbers (8ed422b)
  • Elevated error visibility for connecting to the Discord gateway without a token (8c59f49)
  • Fixed a bug where Discord would silently drop some bot speaking statuses (bec945f)
  • Exposed falsy properties in inspect()/toJSON() (94019f1, ed39970)
  • Fixed the seedVoiceConnections option (6cf3017)
  • Fixed CommandClient options handling for custom prototypes (d02ca9f)
  • Fixed handling of reaction buttons without types (1c3b0cd)
  • Fixed constructing group DM invites (3d6369a)
  • Fixed user note deletion (8eb801f)

Other changes:

0.8.6

22 May 13:13
Compare
Choose a tag to compare

Additions:

  • closeVoiceConnection() – leave voice channels by voice connection ID (guild ID) (c68b07f)

Fixes:

  • Bots will now display as offline immediately after using Client.disconnect() (4ed20e9)
  • Fixed Message.cleanContent for custom emoji and system messages (eb234f8)
  • Fixed slow reaction ratelimiting (23ec4da)
  • Added oldRole.mentionable to guildRoleUpdate event (0e888b4)
  • Fixed duplicate presence handling (0f570be)
  • Fixed command overwriting in CommandClient (5fc5f1a)
  • Fixed content for system welcome messages (347458f)
  • Fixed handling of .ogg files with non-Opus audio tracks (de56b53)

0.8.5

02 Mar 02:20
Compare
Choose a tag to compare

Additions:

  • Added Message.activity and Message.application (2e8a27d)
  • Added an option for manually offsetting the ratelimiter (eb297bb)
  • Added userID argument to CommandClient reaction button response generators (94e21a0)
  • Added Eris.VERSION constant (a9564f4)

Fixes:

  • Fixed ratelimiting for long-running bots (1a318c5)
  • Fixed ban event user caching (9c970ed)
  • Fixed rich presence caching (119f342)
  • Fixed voice receive stream cleanup (1c08797)
  • Fixed undefined Message.author crash in CommandClient (a1a3d87)

0.8.4

02 Feb 20:58
Compare
Choose a tag to compare

A small release, but pretty important since it fixes the new Nitro discriminator feature not updating properly.

Additions:

  • Added the webhooksUpdate event (b480a8b)

Fixes:

  • Fixed Nitro discriminators not updating properly (8e11525)
  • Fixed custom invalid usage messages in CommandClient (baf1700)
  • Fixed some undefined properties in the guildUpdate event (83bad4a)