NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #1233 most downloaded on NuGet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker) and supports v3.1.0, v3.1.1 and v5.0.0 of the MQTT protocol.
Latest stable
3.1.2
Last release 4 months ago
01 Jul 2026
Release timing varies
gaps range from 9 days to 1.1 years
Nearly every release is documented
notes for 58 of the last 60 stable releases
6 versions withdrawn
withdrawn after publishing
127 years old
142 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Removal of no longer supported .NET Frameworks (BREAKING CHANGE)
! Read the migration guide (https://github.com/dotnet/MQTTnet/wiki/Upgrading-guide) before migrating to version 5!
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
nuget: Changed code signing and nuget certificate (BREAKING CHANGE).
[Client] Restored _Server_ and _Port_ behavior of client options (#2005).
[Client] Fix _None of the discovered or specified addresses match the socket address family._ (#1997).
…0 message which leads to a server disconnect (BREAKING CHANGE!, #1974, thanks to @fazho).
The packet must be received completely within the keep alive boundaries (BREAKING CHANGE!, #1883).
[Server] Added support for custom DISCONNECT packets when stopping the server or disconnect a client (BREAKING CHANGE!, #1846).
[Client] Fixed wrong TLS options handling (#1830).
[Client] Added several new option builders and aligned usage (#1781, BREAKING CHANGE!).
[Core] Add validation of maximum string lengths (#1718).
…to indicate that the disconnect is not clean (BREAKING CHANGE).
[Core] Fixed a memory leak in _AsyncSignal_ implementation (#1586, thanks to @mario-zelger).
[Core] Fixed several dead locks by implementing a new async signal
[Core] Fixed dead lock and race conditions in new AsyncLock implementation (#1542).
[Core] MQTT Packets being sent over web socket transport are now setting the web socket frame boundaries correctly (#1499).
[Core] Fixed not working removal of event handlers from async events (#1479).
[Core] The option _IgnoreCertificateChainErrors_ is now respected (thanks to @GodVenn, #1447).
[Client] Added the flag try_private (MQTT 3.1.1 Bridge) to client options (#1413).
We have joined the .NET Foundation! Version 4 comes with a new API so a lot of breaking changes should be expected. Checkout the upgrade guide (https:…
We have joined the .NET Foundation! Version 4 comes with a new API so a lot of breaking changes should be expected. Checkout the upgrade guide (https://github.com/dotnet/MQTTnet/wiki/Upgrading-guide) for an overview of the changes. Checkout the new samples (https://github.com/dotnet/MQTTnet/tree/master/Samples) how to use the new API. The wiki only remains for version 3 of this library. Preview builds of this library are available at: https://www.myget.org/feed/mqttnet/package/nuget/MQTTnet
[Core] Improved memory management when working with large payloads. [Core] Added support for .NET 6.0. [Core] nuget packages are now created by MSBuild including more information (i.e. commit hash). [Client] Exposed socket linger state in options. [Client] The OS will now choose the best TLS version to use. It is no longer fixed to 1.3 etc. (thanks to @patagonaa, #1271). [Client] Added support for ServerKeepAlive (MQTTv5). [Client] Exposed user properties and reason string in subscribe result. [Client] Exposed user properties and reason string in unsubscribe result. [Client] Migrated application message handler to a regular .NET event (BREAKING CHANGE!). [Client] The will message is longer a regular application message due to not supported properties by the will message (BREAKING CHANGE!). [Client] Timeouts are no longer handled inside the library. Each method (Connect, Publish etc.) supports a cancellation token so that custom timeouts can and must be used (BREAKING CHANGE!). [Client] Exposed certificate revocation mode on options (@andyolivares). [Server] Exposed socket linger state in options. [Server] Added support for returning individual subscription errors (#80 thanks to @jimch) [Server] Improved topic filter comparisons (support for $). [Server] Added more MQTTv5 response information to all interceptors (BREAKING CHANGE!). [Server] Improved session management for MQTT v5 (#1294, thanks to @logicaloud). [Server] All interceptors and events are migrated from interfaces to simple events. All existing APIs are availble but must be migrated to corresponding events (BREAKING CHANGE!). [Server] Removed all interceptor and event interfaces including the delegate implementations etc. (BREAKING CHANGE!). [Server] Renamed a lot of classes and adjusted namespaces (BREAKING CHANGE!). [Server] Introduced a new queueing approach for internal message process (packet bus). [Server] For security reasons the default endpoint (1883) is no longer enabled by default (BREAKING CHANGE!). [Server] Added support for choosing the cipher suite (thanks to @TimSiefert). [Nuget] Added method summaries etc. to nuget packages (thanks to @SpringHgui).
[Server] Fix wrong QoS level handling
One column per quarter.