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 8.9KB

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