mqtt
5.16.1 · 14 Oct 2026MIT4.6M / weekRepositoryHomepagenpmAtom feed
1.14.1 is the newest release of 1.x.
In short
2 deprecated4 new10 changed
- Deprecated
Deprecate
createServerandcreateSecureServer#231 - Deprecated
Deprecate
createClientandcreateSecureClientin favor of a genericconnect.
Security
Fixes 1 advisory that affected 0.3.13
- HighDenial of Service in mqttGHSA-hg78-c92r-hvwr · 1 Sep 2020Fixed in 1.0.0
Release note
Move the parser/generator of packets to a separate module mqtt-packet.
Integrate the new API for servers #145
Support all TLS options for servers.
- Deprecated
Deprecate
createServerandcreateSecureServer#231 - Deprecated
Deprecate
createClientandcreateSecureClientin favor of a genericconnect. Prepare new mqtt command line tools.
Adds
Connection#destroy().Supports for multiple server URLs #215.
Resend in-flight packets when a reconnect happens #47.
Emit events when reconnect happens #186.
Improved performance
Remove index.js and just have a mqtt.js file in the main folder
Remove the usage of Connection in Client to achieve more speed and backpressure support (44k sent msg/s here).
Extract server, connection, etc into their own package, see mqtt-connection.
[x]
Add the new CLI tools to the README
Closes #137.
Closes #224.
Closes #184.
Closes #231.
Closes #182.
Closes #47.
Closes #117.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.