Packages

mqtt

5.16.1 · 14 Oct 2026MIT4.6M / weekRepositoryHomepagenpmAtom feed

Upgrading mqtt From 1.14.1 to 2.0.0

1 release in betweenevery note read

Other targets from 1.14.1Latest5.16.1
  1. 1.14.1yours
  2. 2.0.0target
2
changes to make
0
advisories fixed
0
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking2.0.0
  • Breaking2.0.0

Security

1 advisory still affects 2.0.0

Upgrading to 2.15.0 clears it.

Release by release

  1. 2.0.0

    Migration needed15 Sep 20161 fix
    • Breaking

      Drop support for node v0.8 and v0.10.

    • Breaking

      Drop deprecated API, in particular createClient, createServer and so on

    • Fixed

      Restore subscribtions after reconnect in deferred open scenario #166

5 other lines we could not sort, mostly version bumps
  • Update to mqtt-packet v5

    2.0.0
  • Use readable-stream v2.x.x

    2.0.0
  • Default value of keepalive should be at least 1 minute #382

    2.0.0
  • Handling wrong authentication in the CLI tools #351

    2.0.0
  • Explain QoS in the README #431

    2.0.0

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.