You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG 9.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. vNEXT (in development)
  2. * Away support:
  3. * Added sendAway() method
  4. * Added UserAway event and fanned-out ChannelAway
  5. * Away message is now updated in the UserState
  6. * Added IrcClient.localUser property, returning the local User
  7. * Deprecated ServerState.localNickname in favour of localUser.
  8. * (Internal) improved the way byte buffers are used to
  9. reduce array copying and clean up code
  10. v1.0.1
  11. * Fixed issue with very long packets not fitting in buffers
  12. after TLS decryption.
  13. * Improved error message when IrcClient.connect() is called
  14. while already connected
  15. * Made IrcClient.disconnect() block until the disconnect has
  16. been processed. This will be a very short period of time,
  17. and allows callers to immediately call connect() again
  18. afterwards if they wish
  19. * Fixed various issues with disconnecting TLS connections
  20. not behaving correctly
  21. v1.0.0
  22. * Replaced Ktor dependency with custom socket handling, which fixes
  23. fatal issue when connecting to servers over TLS that request a
  24. client certificate.
  25. * Added NicknameChangeRequired event for the case when a nickname is
  26. not allowed during connection and *MUST* be changed
  27. * BREAKING: Added 'PreferIPv6' behaviour config, defaulting to true.
  28. With this configuration KtIrc will try to use IPv6 if the server
  29. publishes AAAA records.
  30. * BREAKING: Default port is now 6697, TLS is enabled by default
  31. v0.11.0
  32. * Added SourcedEvent interface for events that have a user source attached
  33. * Added ChannelJoinFailed event
  34. * Added ChannelMembershipAdjustment interface for events that concern
  35. users joining/leaving channels
  36. * Added missing user parameter to ModeChangedEvent
  37. v0.10.3
  38. * Fix issue parsing CTCPs when the content contained multi-byte chars
  39. * Fixed multiple issues when receiving malformed input from the server:
  40. * Invalid server-time tags are now ignored and the current time used
  41. * PRIVMSGs, NOTICEs and TOPICs with no target/message are now ignored
  42. * CAPs with invalid or missing arguments are now ignored
  43. * Better handling for duplicate JOIN messages
  44. * Ignored messages are now logged more consistently
  45. v0.10.2
  46. * Fix handling of multiple long lines sometimes dropping part of the line
  47. * Support lines with 8191 bytes of tags, as allowed by the message-tags spec
  48. * Fix a few more instances of occasional ConcurrentModificationExceptions
  49. v0.10.1
  50. * Added NickChangeFailed event for when nicknames are in use, banned, etc
  51. * Added sendPart method
  52. * Fix occasional ConcurrentModificationException when adding state
  53. * (Internal) Moved message processors into their own package
  54. * (Internal) Added ExperimentalIrcClient interface for features not yet ready for release
  55. v0.10.0
  56. * Batch start and end events are no longer included in BatchReceived events
  57. * Batches now expose complete metadata from their start event
  58. * Added support for labelled-replies capability and label message tags
  59. * Added support for message-tags capability after it moved from draft
  60. * Added new methods for sending raw lines to the IRC server
  61. * send(tagMap(...), command, arguments) replaces send(line)
  62. * send(command, arguments) is available if no tags are to be sent
  63. * the line is built automatically (with spaces/' :' added appropriately)
  64. * send(line) is deprecated and will be removed after v1.0.0
  65. * Add 'alwaysEchoMessages' behaviour that makes it easier to deal with servers
  66. that don't support the echo message capability
  67. * Added TargetedEvent, a subclass of IrcEvent, for all events that are
  68. targeted to a user or channel
  69. * (Internal) Added annotation to track removal of deprecated methods
  70. * (Internal) Migrate unit tests to use Mockk instead of Mockito
  71. v0.9.0
  72. * Improve DSL for creating an IrcClient to allow parameters to be passed to server and profile
  73. e.g. IrcClient { server("irc.example.com", 6667) }
  74. * Add behaviour options
  75. * requestModesOnJoin - automatically sends a MODE request when joining a channel
  76. * Events now have a `metadata` property instead of a `time` (and time is available in metadata)
  77. * IrcEvent.time is now deprecated but will remain until after v1.0.0.
  78. * Metadata now contains the message ID, if any.
  79. * ActionReceived.messageId and MessageReceived.messageId are now deprecated, to be removed after v1.0.0.
  80. * Metadata now contains the event's batch ID, if any.
  81. * Added support for batches
  82. * All events in a batch are buffered until the batch is finished
  83. * The events are then published together in a single `BatchReceived` event
  84. * Added support for CHGHOST messages
  85. * (Internal) Improve performance when the MessageHandler is finding a processor for a message
  86. * (Internal) Introduced event mutators
  87. * Event mutators are now responsible for handling changing events in response to state
  88. e.g. ChannelFanOutMutator creates Channel* events for global quits/nick changes/etc
  89. * Event handlers now just handle events, and don't return anything
  90. v0.8.0
  91. * Added support for SCRAM-SHA-1 and SCRAM-SHA-256 SASL mechanisms
  92. * Added MotdLineReceived event
  93. * Added topic events and state
  94. * Add utility method IrcClient.isChannel(String) to identify if a target is a channel or not
  95. * (Internal) Move event handlers into their own package
  96. v0.7.0
  97. * Fixed experimental API warnings when using IrcClient
  98. * BREAKING: IrcClients are now constructed using a DSL
  99. * Users of the library no longer need to care about the implementing class
  100. * Facilitates adding more options in the future without breaking existing implementations
  101. * SASL improvements
  102. * The enabled mechanisms can now be configured (in the SASL DSL)
  103. * Added support for EXTERNAL mechanism, disabled by default
  104. * Now attempts to renegotiate if the server doesn't recognise the SASL mechanism that was tried
  105. * Added UserNickChanged and corresponding ChannelNickChanged events
  106. * Added ServerConnectionError, raised when connecting to the server fails
  107. * (Internal) Minor version updates for Gradle, Kotlin and JUnit
  108. v0.6.0
  109. * Changed USER command to not send the server name, per modern standards
  110. * Added support for SASL authentication (with PLAIN mechanism)
  111. * Removed some unused test code
  112. * Fixed handling of user mode changes on channels (op/deop/etc)
  113. * Message extensions:
  114. * Added support for IRCv3 message tags v3.3
  115. * Exposed message IDs in MessageReceived and ActionReceived events
  116. * When sending a message you can now indicate what it is in reply to
  117. * Added sendTagMessage() to send message tags without any content
  118. * The reply() utility automatically marks messages as a reply
  119. * Added react() utility to send a reaction client tag
  120. * State is now reset when the client is disconnected, so you can immediately reconnect
  121. * (Internal) improved how coroutines and channels are used in LineBufferedSocket
  122. v0.5.0
  123. * Server state:
  124. * Added ServerConnecting and ServerDisconnected events
  125. * Server status now starts as Disconnected rather than Connecting
  126. * Improved error message when features are of an unexpected type
  127. * Channel modes:
  128. * CHANMODES feature is now stored as an array, not a single comma-separated string
  129. * Added ChanModeType enum, and method in ServerState to get the type of a mode
  130. * Added ModeChanged event, for user and channel mode changes and discovery
  131. * Added modes and modesDiscovered to ChannelState
  132. * Other new events:
  133. * Added MotdFinished event
  134. * Added UserAccountChanged event
  135. * Added ChannelUserKicked event
  136. * Added NoticeReceived event
  137. * Added CtcpReplyReceived event
  138. * Improved some documentation
  139. v0.4.0
  140. * Added CtcpReceived and ActionReceived events
  141. * Added sendCtcp and sendAction message builders
  142. * Fix issue with messages being sent out of order, which sometimes caused problems connecting to passworded servers
  143. * Added 'network' server feature
  144. * Added serverName field to ServerState
  145. v0.3.1
  146. * Added more documentation to public methods/classes
  147. * Fixed exception when sending multiple lines at once (e.g. when connecting!)
  148. v0.3.0
  149. * Simplified how messages are constructed.
  150. Instead of: client.send(joinMessage("#channel"))
  151. Now use: client.sendJoin("#channel")
  152. * Added reply utility to easily send replies to message events
  153. * Server state improvements:
  154. * Added status field to ServerState
  155. * ServerConnected event is emitted as soon as the socket is connected
  156. * ServerReady event is emitted after logging in, negotiating, etc
  157. * Added extra debugging to show what type of events are being dispatched
  158. * Added ChannelQuit event, raised for each channel a user is in when they quit
  159. * (Internal) Event handlers can now return more events to emit
  160. v0.2.1
  161. * Added documentation and reduced visibility of some internal methods/classes
  162. * (Internal) Enabled Travis, Codacy and Coveralls
  163. v0.2.0
  164. * Added support for connecting over TLS
  165. * BREAKING: Simplified how event handlers are registered
  166. * BREAKING: Improved use of coroutines so users don't have to worry about them
  167. * (Internal) Upgraded to Gradle 5.1.1