IRC Client Library 7.0.0 released!
14 Mar 2019Version 7.0.0 of the Kitteh IRC Client Library has been released!
Wait didn't 5.0.0 just come out three months ago?
It sure did! Some more breaking changes were necessary to make coding easier for Twitch users.
Support for 5.1.x and 6.0.x
Both of these will receive fixes through June solstice. The breaking changes in these releases haven't been that big.
New things
- Message Tags!
- Commands now can be sent with message tags.
- Added new commands for sending messages (PRIVMSG, NOTICE, TAGMSG) to take advantage of tags support.
- Message tags can now be acquired via
event.getTag()
orgetTags()
for most events.
- Custom channel/user modes can be added to ServerInfo, for servers that don't list all their modes.
- ISUPPORT gets some love:
- New
ISupportParameterEvent
for each ISUPPORT parameter acquired. - Added new ISUPPORT interfaces:
- ELIST, EXCEPTS, EXTBAN, HOSTLEN, INVEX, MAXTARGETS, SILENCE, STATUSMSG, USERLEN.
- From the modern IRC docs this only means two remain
- Every ISUPPORT parameter continues to be supported, just without convenience interfaces/methods.
- New
Breaking changes
Sanity
'snotNull
verifier now takes the possibly-null object name as the second parameter instead of the message to send.- Renamed
getOriginalMessage()
andgetOriginalMessages()
togetSource()
to be more clear about what they are. - Batch and Connection events are moved to their own package.
- Events are now by default containing a single source message, since most events are really triggered by such.
- This allows for making message tags more accessible for most events.
- The handful of events that come from multiple messages are now treated separately for storing source messages.