mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
* rethrow MqttClientUnexpectedDisconnectReceivedException when Publish errors out because server disconnects the client and QoS is 0 * use a local var to cache _unexpectedDisconnectPacket * Add inner exception to new exception * Update release notes * set the default inner exception as null --------- Co-authored-by: christian <6939810+chkr1011@users.noreply.github.com>
1.1 KiB
1.1 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).
- [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).
- [TopicTemplate] Added new extension which provides a template engine for topics (#1932, thanks to @simonthum).