Packages

mqtt

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

Upgrading mqtt From 0.3.13 to 1.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.3.13Latest5.16.1
  1. 0.3.13yours
  2. 1.0.0target

Before you upgrade

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

Security

Fixes 1 advisory affecting 0.3.13

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

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