---
title: "mqtt-packet 10.0.0 Breaking Changes on npm | Since.dev"
description: "What each mqtt-packet release removed, renamed or changed: 3 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/mqtt-packet
last_updated: 2026-12-04
---

# mqtt-packet breaking changes

mqtt-packet 10.0.0 (November 29, 2026) is its newest release with breaking changes, 3 of them. The first: Passwords without a username are rejected below MQTT 5 in mqtt-packet 10.0.0. Every breaking API change we have recorded in mqtt-packet on npm: 3 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `10.0.0`, released November 29, 2026. [Source repository](https://github.com/mqttjs/mqtt-packet)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## mqtt-packet 10.0.0 breaking changes

mqtt-packet 10.0.0, released November 29, 2026: 3 breaking changes.

- **Behavior changed**  

A password without a username is now allowed only on MQTT 5. On earlier MQTT versions it is rejected per MQTT-3.1.2-22, so code that sends such CONNECT packets must add a username. [github.com](https://github.com/mqttjs/mqtt-packet/releases/tag/v10.0.0)
- **Behavior changed**  

mqtt-packet is now published as an ES module. Code that loads it with require() must switch to import. [github.com](https://github.com/mqttjs/mqtt-packet/releases/tag/v10.0.0)
- **Signature changed** `Parser.on`  

Was on(event: 'error', callback: (error: any) => void): this; now on(event: 'error', callback: (error: ParserError) => void): this. [npmjs.com](https://www.npmjs.com/package/mqtt-packet/v/10.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
