MQTTnet 2.5.0

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

No packages depend on MQTTnet.

  • [Core] Merged the platform specific projects (Thanks to @JanEggers)
  • [Core] Migrated the trace to a non-static approach (Breaking Change!)
  • [Core] Added a builder for application messages using a fluent API
  • [Core] Introduced CI and DI (Thanks to @JanEggers)
  • [Core] Added interfaces for publishing and receiving which applies to every client and server (Thanks to @ChristianRiedl)
  • [Core] Fixed an issue when reading from closed streams
  • [Client] Added a first version of a managed client which will manage the connection, subscription etc. automatically (Thanks to @JTrotta)
  • [Client] The session state response from the server is now returned in the ConnectAsync method and also part of the Connected event args
  • [Client] Added a TopicFilterBuilder using a fluent API (Namespace Changes!)
  • [Client] Added several new options for the WebSocket channel (Thanks to @ChristianRiedl)
  • [Client] Refactored the options and added a builder using a fluent API (Breaking Change!)
  • [Client] Added more options for WebSocket connections like RequestHeaders, SubProtocol etc.
  • [Server] Added support for WebSockets via ASP.NET Core 2.0 (additional nuget) (Thanks to @ChristianRiedl, @JanEggers)
  • [Server] Added support for a custom application message interceptor
  • [Server] Fixed an issue with dropped connections on UWP (Thanks to @haeberle)
  • [Server] Added support for a custom subscription interceptor which allows denying of subscriptions and closing the connection

Version Downloads Last updated
2.5.0 4 2020/11/11
2.4.0 4 2020/11/11
2.2.0 3 2020/11/11