IRC Client Library 0.2.8 released!
14 Jul 2015Version 0.2.8 of the Kitteh IRC Client Library has been released.
Improvements
- We now utilize Travis CI for building, testing, and deployment.
- Documentation improvements:
- Work has begun on docs external to javadocs.
- Click here for an early look.
Changes
- Added support for detecting WHOX.
ServerInfo#hasWhoXSupport()
to check support at any time.- Client now sends a WHOX request if detected.
- Added API for information on IRCv3 capabilities:
CapabilityManager
provides information on capabilities available and in use.CapabilityRequestCommand
to build your own request.- [BREAKING]
CapabilityState
is now aSnapshot
and moved package to the element package.
- Added support for more IRCv3.1 features:
account-notify
away-notify
extended-join
- Added new methods to
User
:getAccount()
- Gets the account the user is using, if any.getRealName()
- Gets the user's realname.getServer()
- Gets the server a user is connected to, if available.isAway()
- Gets if the user is currently away.- These methods require the aforementioned IRCv3 features and WHOX to be available on the server to work properly.
User
s are now tracked and consistent as long as they are present in a tracked channel.- Authentication changes:
AuthManager
now available to control authentication.- Provides methods for authenticating at any time and reclaiming nicknames.
- [BREAKING]
Client#setAuth
removed. UtilizeClient#getAuthManager()
.
- Listening to raw server input:
- Added
ClientReceiveNumericEvent
:- Filter to a specific numeric code with
NumericFilter
. - Can filter to multiple codes with one method.
- Example in the
NumericFilter
javadoc.
- Filter to a specific numeric code with
- Added
ClientReceiveCommandEvent
:- Filter to a specific command with
CommandFilter
. - Can filter to multiple commands with one method.
- Example in the
CommandFilter
javadoc.
- Filter to a specific command with
- Added
- Updated
Topic
annotations to reflect reality:- A
Channel
will always return aTopic
. Topic#getTopic()
will return null until the server has sent a topic.
- A
ModeCommand
no longer requires parameters to any mode.