Files
MQTTnet/.github/workflows/ReleaseNotes.md
T
yztandChristian b4769778af DISCONNECT packet should allow zero-length body (#1994)
* DISCONNECT packet should allow zero-length body

> [If the Remaining Length is less than 1 the value of 0x00 (Normal disconnection) is used.](https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901208)

* Update release notes and add comment

---------

Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com>
2024-05-14 18:08:54 +02:00

1.2 KiB

  • [Core] Optimized packet serialization of PUBACK and PUBREC packets for protocol version 5.0.0 (#1939, thanks to @Y-Sindo).
  • [Core] The package inspector is now fully async (#1941).
  • [Core] Fixed decoding of DISCONNECT packet with empty body (#1994, thanks to @Y-Sindo).
  • [Client] Added a dedicated exception when the client is not connected (#1954, thanks to @marcpiulachs).
  • [Client] The client will now throw a MqttClientUnexpectedDisconnectReceivedException when publishing a QoS 0 message which leads to a server disconnect (BREAKING CHANGE!, #1974, thanks to @fazho).
  • [Client] Exposed the certificate selection event handler in client options (#1984).
  • [Server] The server will no longer send NoMatchingSubscribers when the actual subscription was non success (#1965, BREAKING CHANGE!).
  • [Server] Fixed broken support for null in AddServer method in ASP.NET integration (#1981).
  • [ManagedClient] Added a new event (SubscriptionsChangedAsync) which is fired when a subscription or unsubscription was made (#1894, thanks to @pdufrene).
  • [ManagedClient] Fixed race condition when server shuts down while subscribing (#1987, thanks to @marve).
  • [TopicTemplate] Added new extension which provides a template engine for topics (#1932, thanks to @simonthum).