- Bugfix:
ChatClient#connect()
method now properly resolves ifconnect()
is called on a client that is alreadyready
. (#218)
- Minor: Added
ban
method toChatClient
API (#186).
- Bugfix: Fixed typescript compiling error (#154)
- Minor: Added new event
rawCommand
emitted when a command is executed by the client. - Minor: Made
client.connect()
return a promise which resolves when the client is ready. - Minor: Allowed
#
to be a prefix of the channelName passed into functions that require it. - Bugfix: Added
setColor
to promise rejections.
- Minor: Added
getMods
andgetVips
to Chat client API to easily fetch a list of mods and VIPs for a channel.
- Bugfix: Fixed a single server message resolving/rejecting more than one promise (e.g. cases where many messages were sent to the same channel, the first success/error response would resolve/reject all the waiting promises) (#32, #65)
- Bugfix: Fixed exception if new unstable "flags" parsing failed because of an out-of-bounds index.
- Major: Removed support for chat rooms. Attempting to join a Twitch
chatrooms:
channel will result in a validation error. - Minor: Added
flags
andflagsRaw
properties toPrivmsgMessage
andUsernoticeMessage
classes, allowing inspection of AutoMod message rating results. (#38) - Minor: Added parsing support for newer usernotice parameters (
msg-param-gift-months
,msg-param-sender-count
) - Bugfix (Potentially breaking, check your application): In subgift and similar USERNOTICE messages,
recipientUserName
is now correctly camelcased asrecipientUsername
as was documented. - Bugfix: Emotes occurring after emojis are now correctly parsed (#35)
- Bugfix: Messages with wrong emote indices (sent by Twitch) are now handled gracefully instead of failing the message parser. (#22)
- Minor: Updated dependencies
- Bugfix: To work around unsanitized data returned by Twitch, display names are now always trimmed of leading and trailing spaces (#33).
- Bugfix: Make regex in color parser compatible with older regex engines (e.g. older browsers)
- Bugfix: Replace regex-based string parsing with discrete string message parsing
- Bugfix: Generated build output (typescript definition files) no longer needs to be manually edited to work correctly when included by other projects
- Bugfix: Include
lib
in distribution package to make sure source maps work correctly
- Bugfix: Moved
simple-websocket
to production dependencies
- Minor: updated dependencies
- Bugfix: Fixed compile errors on latest typescript
- Added setColor method to ChatClient
- Bugfix: Include updated package-lock file
- Bugfix: Updated README to reflect changes introduced in v3.1.0.
- Minor: Updated default config values to different, now well-tested defaults
- Minor: Updated README with more concrete instructions for configuration
- Minor: Updated dependencies
Only internal changes
- Bugfix: Updated typescript and depdencies, fixing build errors with newer typescript versions
- Bugfix: Fixed client totally disconnecting if login attempt failed due to connection problems
- Minor: Improved performance of the tags parser.
- Bugfix: Removed dependency on
lodash.sortby
.
- Documentation: removed
<summary>
collapse area inREADME.md
.
- Documentation fix in readme:
msg.eventParams
instead ofmsg.msgParams
.
- Breaking: Renamed
recipientUserName
torecipientUsername
in the parameters forsubgift
andanonsubgift
messages to be more consitent with the wayusername
is camelcased in the rest of the library. - Bugfix:
UsernoticeMessage.prototype.isAnonSubgift()
how has the correct return type for TypeScript users. - Bugfix: Fixed compile error with typescript in strict mode.
@types/debug
has been moved to normal dependencies. - Documentation: Documented
ChatClient.prototype.timeout()
method - Documentation: Documented how to handle
USERNOTICE
messages. - Documentation: Added Table of Contents to
README.md
.
- Added
ChatClient.prototype.timeout
method for timing out users - Added
UsernoticeMessage.prototype.isCheer
andPrivmsgMessage.prototype.isCheer
to quickly check if a message is a cheer. - Added
UsernoticeMessage.prototype.isAnonSubgift
to check foranonsubgift
messages. - Fixed typescript compilation errors when using
dank-twitch-irc
from a TypeScript project.
There is no changelog available for older versions at this time.