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

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