MQTTnet

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.

MIT License

Stars
4.4K
Committers
124

Bot releases are visible (Hide)

MQTTnet - v2.5.1

Published by chkr1011 almost 7 years ago

  • Fixed several library reference issues.
  • [Client] Fixed issue in MqttClientOptionsBuilder when using no certificates (Thanks to @1iveowl).
MQTTnet - v2.5.0

Published by chkr1011 almost 7 years ago

  • [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
MQTTnet - v2.4.0

Published by chkr1011 about 7 years ago

  • [Server] Added an event which is fired when a client has disconnected
  • [Server] Added support for retained application messages
  • [Server] Added support for saving and loading retained messages
  • [Server] The client connection is now closed if sending of one pending application message has failed
  • [Server] Fixed handling of Dup flag (Thanks to haeberle)
  • [Core] Optimized exception handling
  • [Core] Mono is now also supported (Thanks to JTrotta)
  • [Client] The options are now passed in ConnectAsync (Breaking change! Read Wiki for examples)
  • [Core] Trace class renamed to MqttNetTrace (Breaking change!)
  • [Client] Extended certificate validation options (Breaking change!)
  • [Client] Added static certificate validation callback (NetFramework, NetStandard) / ignorable certificate errors (UniversalWindows) to MqttTcpChannel
MQTTnet - v2.3.1

Published by chkr1011 about 7 years ago

  • [Server] Fixed an issue when accepting a new connection (UWP only) (Thanks to haeberle)
  • [Core] Fixed a dead lock while sending messages (Thanks to 1liveowl, JanEggers)
  • [Client] The client is no longer sending packets before receiving has started
  • [Core] Minor changes and improvements
MQTTnet - v2.3.0

Published by chkr1011 about 7 years ago

  • [Client] Added support for web socket communication channel (thanks to nowakpiotr)
  • [Core] Huge performance optimizations (thanks to JanEggers)
  • [Client] Fixed an issue when calling DisconnectAsync and the connection is already closed.
  • [Core] Added several new interfaces
  • [Core] Added a factory for creation of application messages
  • [Core] Fixed issues in connection handling
  • [Client] Fixed issues with subscribing/unsubscribing (breaking change!)
MQTTnet - v2.2.1

Published by chkr1011 about 7 years ago

  • [Server] Fixed a bug in connection management (Thanks to rydergillen-compacSort)
MQTTnet - v2.2.0

Published by chkr1011 about 7 years ago

  • [Server] Added support for MQTT protocol version 3.1.0
  • [Server] Providing the used protocol version of connected clients
  • [Client] Added support for protocol version 3.1.0
  • [Core] Several minor performance improvements
  • [Core] Fixed an issue with connection management (Thanks to wuzhenda; Zuendelmeister)
MQTTnet - v2.1.5.1

Published by chkr1011 about 7 years ago

  • [Server] Fix wrong QoS level handling
MQTTnet - v2.1.5.0

Published by chkr1011 about 7 years ago

  • [MqttServer] Added support for publishing application messages
  • [Core] Fixed QoS level 2 handling
  • [Core] Performance optimizations
  • [MqttClient/MqttServer] Errors while handline application messages are now catched and traced
  • [MqttClient/MqttServer] Added interfaces
MQTTnet - v2.1.4.0

Published by chkr1011 over 7 years ago

  • [.NET Standard] Added support for .NET Standard 1.3 (Thanks to 1iveowl)
  • [Server] Added an even which allows processing of all received messages from the clients
  • [Server] Fixed an issue when stopping the server
MQTTnet - v2.1.3.0

Published by chkr1011 over 7 years ago

  • [Core] Any exception while accessing the underlying data source is now rethrown as "MqttCommunicationException".
  • [Core] Extended exception information when an invalid packet type is received.
  • [Server] Added TLS 1.2 support (but not for UWP) (thanks to Zazzmatazz)
  • [Client] Added TLS 1.2 support (thanks to Zazzmatazz)
  • [Core] Optimized async task management
  • [Nuget] Fixed x64 files
MQTTnet - v2.1.2.0

Published by chkr1011 over 7 years ago

  • [Server] Added support for complex client IDs.
  • [Server] Fixed an issue with not correctly removed old client sessions.
  • [Server] Several minor performance improvements.
  • [Server] An existing client session is no longer closed if a new client connection is invalid.
  • [Client] Added support for sending "CleanSession" flag.
MQTTnet - v2.1.1.0

Published by chkr1011 over 7 years ago

  • Performance optimizations
MQTTnet - v2.1.0.4

Published by chkr1011 over 7 years ago

  • Added MQTT server.
Package Rankings
Top 10.05% on Proxy.golang.org
Badges
Extracted from project README
NuGet Badge CI MyGet Join the chat at https://gitter.im/MQTTnet/community License: MIT
Related Projects