Packages

mqtt

5.16.1 · 14 Oct 2026MIT3.4M / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 5.x5.16.1No known advisoryLatest line
  • 4.x4.3.8No known advisoryTo 5.16.1
  • 3.x3.0.1No known advisoryTo 5.16.1
  • 2.x and older2.18.93 open advisories, worst high · last release Aug 2021, no longer updatedTo 5.16.1

Latest releases

All 210 releases
  1. 5.16.1

    14 Oct 2026
    • Reconnect instead of ending a client whose stream is already destroyed

    • Schedule browser process.nextTick with queueMicrotask (#2056) (648b79c), closes #2074

  2. 5.16.0

    16 Sep 2026
    • security

      options is no longer mutated by a CONNACK. Code that read negotiated values back off options.properties.maximumPacketSize or options.keepalive must use the new client.serverProperties / client.keepalive getters instead.

    • security

      A refused CONNACK now always closes the socket. With reconnectOnConnackError: false (the default) the client previously sat on an open connection and kept delivering message events after telling the application the connection was refused.

    • security

      Protocol violations now drop the connection: a SUBACK reason-code count mismatch, an invalid Topic Alias, an unsolicited or out-of-spec AUTH, and a broker exceeding receiveMaximum on inbound QoS 2 (reason code 0x93). Reconnect stays armed in all cases.

  3. 5.15.2

    6 Jul 2026
    • connect/tls: don't overwrite an explicit servername (SNI)

    • Support relative WebSocket URLs (#2049) (c4be563), closes #2035

Dependency tracking · free for 3 projects

Know when your own dependencies move

mqtt published 5 releases in the last 12 months. inlinr folds the routine ones into a line and keeps the few that need you.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Registry facts last checked 6 Nov 2026. Releases and advisories last read 6 Nov 2026.