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.6KB

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