Releases: dotnet/MQTTnet
Releases · dotnet/MQTTnet
v3.0.9
- [All] Due to a merge issue not all changes are included in 3.0.8. All these changes are now included in this version.
- [Core] Updated all nuget references.
- [Core] Added MqttApplicationMessage.GetUserProperty() convenience method (thanks to @PMExtra).
- [LowLevelMqttClient] Added low level MQTT client in order to provide more flexibility when using the MQTT protocol. This client requires detailed knowledge about the MQTT protocol.
- [Client] Improve connection stability (thanks to @jltjohanlindqvist).
- [Client] Support WithConnectionUri to configure client (thanks to @PMExtra).
- [Client] Support PublishAsync with QoS 1 and QoS 2 from within an ApplicationMessageReceivedHandler (#648, #587, thanks to @PSanetra).
- [Client] Fixed MqttCommunicationTimedOutExceptions, caused by a long running ApplicationMessageReceivedHandler, which blocked MQTT packets from being processed (#829, thanks to @PSanetra).
- [ManagedClient] Added builder class for MqttClientUnsubscribeOptions (thanks to @dominikviererbe).
- [ManagedClient] Added support for persisted sessions (thansk to @PMExtra).
- [ManagedClient] Fixed a memory leak (thanks to @zawodskoj).
- [ManagedClient] Improved internal subscription management (#569, thanks to @cstichlberger).
- [ManagedClient] Refactored log messages (thanks to @cstichlberger).
- [Server] Added support for assigned client IDs (MQTTv5 only) (thanks to @bcrosnier).
- [Server] Added interceptor for unsubscriptions.
- [Server] Removed exceptions when user properties are set with MQTT protocol version 3.1
- [Server] Added custom session items to the client status.
- [Server] Added option to check whether the server is already started properly or not.
- [MQTTnet.AspNetCore] improved compatibility with AspNetCore 3.1
- [MQTTnet.Server] Added interceptor for unsubscriptions.
v3.0.8
- [Core] Converted all pending methods to use async/await.
- [Core] Fixed an issue when serializing a PubRec (QoS 2) packet for MQTTv5.
- [Client] Fixed an issue when checking for revoked SSL certificates (thanks to @cslutgen).
- [RpcClient] Added support for custom topic generation strategies.
- [Server] Refactoring of server certificate password classes (BREAKING CHANGE!).
- [Server] Fixed an issue with empty server certificate passwords (thanks to @SeppPenner).
- [MQTTnet.Server] Added support for certificate passwords (BREAKING CHANGE IN CONFIG!)
- [MQTTnet.AspNetCore] Fixed an issue with MQTTv5 package serialization (#743, thanks to @JanEggers, @pcbing).
v3.0.7
- [Core] Converted all pending methods to use async/await.
- [Core] Fixed an issue when serializing a PubRec (QoS 2) packet for MQTTv5.
- [Client] Fixed an issue when checking for revoked SSL certificates (thanks to @cslutgen).
- [RpcClient] Added support for custom topic generation strategies.
- [Server] Refactoring of server certificate password classes (BREAKING CHANGE!).
- [Server] Fixed an issue with empty server certificate passwords (thanks to @SeppPenner).
- [MQTTnet.Server] Added support for certificate passwords (BREAKING CHANGE IN CONFIG!)
- [MQTTnet.AspNetCore] Fixed an issue with MQTTv5 package serialization (#743, thanks to @JanEggers, @pcbing).
v3.0.6
- [Core] Nuget packages with symbols are now also published to improve debugging.
- [Core] Improve task handling (thanks to @mwinterb)
- [ManagedClient] Fix a race condition in the message storage (thanks to @PaulFake).
- [Server] Added items dictionary to client session in order to share data across interceptors as along as the session exists.
- [Server] Exposed CONNECT packet properties in Application Message and Subscription interceptor.
- [Server] Fixed: Sending Large packets with AspnetCore based connection throws System.ArgumentException.
- [Server] Fixed wrong usage of socket option NoDelay.
- [Server] Added remote certificate validation callback (thanks to @rudacs).
- [Server] Add support for certificate passwords (thanks to @cslutgen).
- [MQTTnet.Server] Added REST API for publishing basic messages.
v3.0.5
v3.0.4
v3.0.3
- [Core] Fixed issues in MQTTv5 message encoding and decoding.
- [Core] Added extension method to allow usage of WebSocket4Net in clients to fix issues with AWS and Xamarin.
- [Core] Fixed usage of wrong data type for passwords (string -> byte[]).
- [Core] Fixed an ObjectDisposedException when sending data using a WebSocket channel.
- [Core] Performance optimizations.
- [Client] Added support for extended authentication exchange.
- [Client] Exposed MQTTv5 CONNACK values to client.
- [Client] Added MqttClientSubscribeOptionsBuilder.
- [Client] The disconnected handler is now executed in a new task to prevent deadlocks when reconnecting etc. (thanks to @lizziebeans).
- [Client] Converted option DualMode into nullable boolean to preserve original value and avoid exceptions in IPv4 only networks (thanks to @lavaflo).
- [Server] Exposed ClientCertificateRequired and CheckCertificateRevocation at TLS options.
- [Server] Exposed client certificate at client connection validator.
- [Server] The subscription interceptor now supports altering the entire topic filter.
- [Server] Exposed more properties to the connection validator context.
- [MQTTnet.Server] Added authentication support via Python script file.
- [MQTTnet.Server] Migrated the result of connection validations to ReasonCode (MQTTv5) instead of ReturnCode (MQTTv3 only) (BREAKING CHANGE!).
v3.0.3-rc3
- [Core] Fixed issues in MQTTv5 message encoding and decoding.
- [Core] Added extension method to allow usage of WebSocket4Net in clients to fix issues with AWS and Xamarin.
- [Core] Fixed usage of wrong data type for passwords (string -> byte[]).
- [Core] Fixed an ObjectDisposedException when sending data using a WebSocket channel.
- [Client] Added support for extended authentication exchange.
- [Client] Exposed MQTTv5 CONNACK values to client.
- [Client] Added MqttClientSubscribeOptionsBuilder.
- [Client] The disconnected handler is now executed in a new task to prevent deadlocks when reconnecting etc. (thanks to @lizziebeans).
- [Client] Converted option DualMode into nullable boolean to preserve original value and avoid exceptions in IPv4 only networks (thanks to @lavaflo).
- [Server] Exposed ClientCertificateRequired and CheckCertificateRevocation at TLS options.
- [Server] Exposed client certificate at client connection validator.
- [Server] The subscription interceptor now supports altering the entire topic filter.
- [Server] Exposed more properties to the connection validator context.
- [MQTTnet.Server] Added authentication support via Python script file.
- [MQTTnet.Server] Migrated the result of connection validations to ReasonCode (MQTTv5) instead of ReturnCode (MQTTv3 only) (BREAKING CHANGE!).
v3.0.2
v3.0.1
- [Core] Fixed missing properties from PUBLISH packet in MqttApplicationMessage (thanks to @pcbing).
- [Core] Fixed wrong encoding of PUBREL and PUBCOMP packets for MQTTv5 (thanks to @perphilipp).
- [Client] Added the authentication result to the disconnected handler (only set when connecting failed).
- [Client] Added new overloads for MqttClientOptionsBuilder.
- [Server] Fixed a bug which returns wrong flag for existing session in CONNACK packet (thanks to @avengerstark).
- [nuget] .NET Framework builds are now using 4.5.2 or 4.6.1 builds instead of netstandard 2.0.