Packages

mqtt

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

Upgrading mqtt From 0.2.0 to 1.0.0

26 releases in betweennotes for 16

Reading releases, release notes and advisories…

Other targets from 0.2.0Newest 0.x0.3.13Latest5.16.1
  1. 0.2.0yours
  2. 11 releases
  3. 0.3.0major
  4. 13 releases
  5. 1.0.0target
2+
changes to make
1
advisory fixed
9+
new
7+
fixes

Counted from 16 of 26 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

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

Security

Fixes 1 advisory affecting 0.2.0

Release by release

  1. 1.0.0

    Deprecation13 Jan 20154 new
    • Deprecated

      Deprecate createServer and createSecureServer #231

    • Deprecated

      Deprecate createClient and createSecureClient in favor of a generic connect.

    • New

      Support all TLS options for servers.

    • New

      Adds Connection#destroy().

    • New

      Supports for multiple server URLs #215.

    • New

      Add the new CLI tools to the README

  2. 0.3.13

    11 Nov 20142 fixes
    • Fixed

      Handle binary will payloads.

    • Fixed

      Handle null or empty will payloads.

  3. 0.3.12nothing new or fixed in the note

  4. 0.3.11

    11 Jul 20141 new
    • New

      Support for Browserify 4.

  5. 0.3.10nothing new or fixed in the note

  6. 0.3.9

    27 May 20142 new
    • New

      Allow clients to validate a server without providing their certificate #163.

    • New

      Add reconnect and offline events #112.

  7. 0.3.8

    19 Mar 20141 new
    • New

      Added the new mqtt.connect(uri, opts) method #165 #164.

  8. 0.3.7

    28 Nov 20131 fix
    • Fixed

      Do not include vim undo files in the build #147.

33 other lines we could not sort, mostly version bumps
  • Move the parser/generator of packets to a separate module mqtt-packet.

    1.0.0
  • Integrate the new API for servers #145

    1.0.0
  • Prepare new mqtt command line tools.

    1.0.0
  • Integrate mows #182, and add browser tests.

    1.0.0
  • Resend in-flight packets when a reconnect happens #47.

    1.0.0
  • Emit events when reconnect happens #186.

    1.0.0
  • Improved performance

    1.0.0
  • Remove index.js and just have a mqtt.js file in the main folder

    1.0.0
  • Remove the usage of Connection in Client to achieve more speed and backpressure support (44k sent msg/s here).

    1.0.0
  • Extract server, connection, etc into their own package, see mqtt-connection.

    1.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.