Releases: abalabahaha/eris
Releases · abalabahaha/eris
0.5.0
What's New:
- Added support for reactions 🎉
- Added support for embeds
- Added support for adding/removing individual roles to/from members
- Added toJSON() and inspect() methods to some structures
- Added REST-only mode
messageUpdate
andmessageDelete
now fire with partial objects if the message was not cached ({id: "xxx", channelID: "xxx"}
)guildMemberRemoved
fires with a partial object if the member was not cached ({id: "xxx"}
)- Command is now passed on messageCreate (CommandClient only)
- Voice now has a WebM-Opus transformer for those who have Opus-encoded WebM files on hand
- CommandClient now has a cooldown message and permission message
What's Improved:
- Voice no longer disconnects when a UDP send fails
- Voice got faster and lighter 💨
- Voice got a bit more stable
- REST errors now include the method and route for easier debugging
- FFmpeg errors now have more detail for easier debugging
- Unavailable guilds are now properly removed when they become available
- Fixed getAllUsers on user accounts
- Fixed array generators in CommandClient
- Fixed
Client.editRole()
- Fixed
Client.leaveGuild()
- Fixed premature resolution
Client.deleteMessages()
Promise - Fixed crash when unblocking requests after a global ratelimit
- Fixed improper ratelimit handling for some routes
- Fixed crash caused by Discord allowing users to "join" text channels like voice channels
- Fixed crash caused by Discord sending invalid data after outages
- Fixed crash caused by members having non-existent roles
- Improved autoreconnect reliability
- Slightly improved memory usage
- Bluebird no longer loads automatically. If you still wish for eris to use bluebird, set the global Promise object to bluebird (
global.Promise = require("bluebird")
)
0.4.0
What's New:
- Support for friend suggestion events
- Classes now have OOP-style aliases (
message.edit("Potato")
anyone?) - Support for streaming one stream to multiple voice channels (thanks anonymousthing)
- editGame/editIdle have been merged into editStatus
- Emoji support
- Webhook support
- deleteGuildMember has been changed to kickGuildMember
- Message.guild now aliases Message.channel.guild
- Member object now aliases user properties (eg.
member.username
)
What's Improved:
- Ready times have been decreased
- Shard reconnection and reliability have been improved
- Users leaving a guild now register properly
- Voice now consumes way less resources
- Voice reliability and error handling is even more improved now (especially on Windows)
- Ratelimit handling is now compliant with the new Discord guidelines
- User presence handling during Discord downtime is less error-prone
- REST requests can now be made without requiring a gateway connection
0.3.0
What's New:
- Permission.has("perm") for easier permission checking
- Voice does not require the use of node-gyp (or C++ or Python) anymore thanks to opusscript
What's Improved:
- Shard autoreconnect is more reliable now
- Better channel pin support
- Multiple clients can now be created in the same process
- Voice reliability and error handling are improved
- Voice also uses less resources now
- Updated ratelimit handling
- Fixed several CommandClient bugs
0.2.0
What's New:
- Support for creating and managing groups (user accounts only)
- Support for adding/removing relationships (user accounts only)
- Webpack browser support (no voice or compression)
bluebird
andeventemitter3
are now manual opt-in packages. They will not be installed automatically, but if you wish to have the library use these packages, just install them. Functionality will not change if you choose not to install either package.
What's Improved:
- Collections now return objects even if they are limited to 0 objects
- Message.editedTimestamp is no longer NaN
0.1.2
What's New:
- Guild.iconURL was added for convenience
- Channel.mention returns a string to mention the channel
- Guild.joinedAt is actually a number now
What's Improved:
- Channel.permissionsOf() now calculates permissions correctly
- It used to assume the user had all the roles with permission overrides in that channel
0.1.1
Small bugfixes
What's New:
- The library will automatically validate tokens and detect user accounts now
- Voice now has a volume transformer option to enable on-the-fly volume adjustment
What's Improved:
- Guild emoji updates are now tracked
- Message.editedTimestamp is now a number like it's supposed to be
- The command framework's built-in help command now works after unregistering commands
- More speed
0.1.0
A pile of additions and bugfixes
What's New:
- User account support (note that Discord is much less friendly if a non-OAuth bot does something they don't like)
- Group calls
- 1 on 1 calls
- Relationships
- You can now disable handling of individual events to save system resources
- You can now use User.defaultAvatar/defaultAvatarURL
- Client.getOAuthApplication() can be used to get an OAuth bot's app info
- Command framework now supports default options and per-guild prefixes
What's Improved:
- Voice is a lot more stable now
- Voice regions can be switched with minimal interruption
- getInvite() will attempt to get detailed invite info if you have the Manage Channel permission
- 502s are now automatically retried a few times
- Properties like names, avatars, and current voice channels will now update correctly
- Crashes will occur less frequently now
- Speed
Make sure to check the documentation if you're getting undefined errors on old code!
0.0.1
Initial release