MQTTnet 2.8.0-alpha5

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker).

This is a prerelease version of MQTTnet.
There is a newer version of this package available.
See the version list below for details.
Install-Package MQTTnet -Version 2.8.0-alpha5
dotnet add package MQTTnet --version 2.8.0-alpha5
<PackageReference Include="MQTTnet" Version="2.8.0-alpha5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet --version 2.8.0-alpha5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* [Core] Performance optimizations.
* [Core] Due to performance reasons the timestamp of log messages is now in UTC format.
* [Core] Added several packet validations.
* [Core] Log messages now contain the complete source path including parent components.
* [Core] The adapter now has an _Endpoint_ definition as string containing remote IP and port.
* [Client] Received messages are now processed completely in the worker thread without creating new Tasks.
* [Client] Fixed wrong calculation for sending keep alive packets (thanks to @cstichlberger)
* [Client] A clean disconnect (via DisconnectAsync) will no longer throw an exception.
* [ManagedClient] The managed client is moved to a separate nuget package.
* [ManagedClient] Added an own message format with extended properties like ID (BREAKING CHANGE).
* [ManagedClient] Fixed a loading issue of stored application messages (thanks to @JTrotta).
* [Server] Added support for other WebSocket sub protocol formats like mqttv-3.1.1 (thanks to @israellot).
* [Server] The takeover of an existing client sessions is now treated as a _clean_ disconnect of the previous client.
* [Server] The pending messages queue per client is now limited to 250 messages. Overflow strategy and count can be changed via options (thanks to @VladimirAkopyan)
* [Server] Keep alive checking is now suspended while large packages are being received (and thus the client is connected). Keep alive checking continues after a large packet is received completely.
* [Server] Rewritten the _ConnectedClients_ API and added new features for disconnecting and Endpoint information (IP etc.).
* [Server] Added settings for disabling persistent sessions and defining a max pending messages queue size per session.
* [Server] Added a new interceptor which is invoked before a new message is added to the client queue.

Version History

Version Downloads Last updated
3.0.3-rc1 78 5/17/2019
3.0.2 1,633 5/12/2019
3.0.2-rc1 32 5/11/2019
3.0.1 143 5/11/2019
3.0.0 1,427 5/5/2019
3.0.0-rc3 92 5/1/2019
3.0.0-rc2 109 4/26/2019
3.0.0-rc1 87 4/22/2019
3.0.0-beta1 294 4/7/2019
3.0.0-alpha3 201 3/24/2019
3.0.0-alpha2 3,085 1/27/2019
3.0.0-alpha1 458 12/22/2018
2.8.5 41,926 12/9/2018
2.8.5-rc5 228 11/28/2018
2.8.5-rc4 143 11/24/2018
2.8.5-rc3 227 11/5/2018
2.8.5-rc2 109 11/4/2018
2.8.5-rc1 433 10/29/2018
2.8.4 28,085 10/6/2018
2.8.4-rc2 120 10/4/2018
2.8.4-rc1 88 10/4/2018
2.8.3 6,076 10/1/2018
2.8.2 26,454 8/4/2018
2.8.2-rc1 243 7/27/2018
2.8.1 5,622 7/8/2018
2.8.1-rc1 172 7/7/2018
2.8.0 1,954 7/1/2018
2.8.0-rc6 149 6/29/2018
2.8.0-rc5 167 6/28/2018
2.8.0-rc4 282 6/24/2018
2.8.0-rc3 171 6/22/2018
2.8.0-rc2 184 6/21/2018
2.8.0-rc1 165 6/21/2018
2.8.0-beta1 183 6/19/2018
2.8.0-alpha5 565 6/6/2018
2.8.0-alpha4 633 6/5/2018
2.8.0-alpha3 158 6/5/2018
2.8.0-alpha2 312 6/4/2018
2.8.0-alpha1 1,078 5/10/2018
2.7.5 15,708 4/28/2018
2.7.5-rc2 239 4/25/2018
2.7.5-rc1 243 4/24/2018
2.7.4 12,221 4/11/2018
2.7.3 1,249 4/4/2018
2.7.3-rc3 1,274 4/1/2018
2.7.3-rc2 267 3/29/2018
2.7.3-rc1 201 3/27/2018
2.7.2 1,202 3/26/2018
2.7.1 1,691 3/13/2018
2.7.1-rc1 264 2/28/2018
2.7.0 6,730 2/4/2018
2.7.0-rc1 422 1/27/2018
2.6.0 2,660 12/18/2017
2.6.0-rc2 290 12/7/2017
2.6.0-rc1 213 12/4/2017
2.5.3 1,391 11/25/2017
2.5.3-rc1 199 11/22/2017
2.5.2 670 11/21/2017
2.5.2-rc1 185 11/17/2017
2.5.1 611 11/11/2017
2.5.0 500 11/8/2017
2.4.0 2,632 10/9/2017
2.3.1 563 9/28/2017
2.3.0 341 9/20/2017
2.2.1 527 8/21/2017
2.2.0 310 8/17/2017
2.1.5.1 297 8/7/2017
2.1.5 238 8/5/2017
2.1.4 470 7/15/2017
2.1.3 2,671 6/8/2017
2.1.2 439 5/5/2017
2.1.1 591 4/8/2017
Show less