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.adoc 9.1KB

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