---
title: "mjml 5.2.0 Breaking Changes on npm | Since.dev"
description: "What each mjml release removed, renamed or changed: 16 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/mjml
last_updated: 2026-12-04
---

# mjml breaking changes

mjml 5.2.0 (May 7, 2026) is its newest release with breaking changes. The first: Beautification switches back to js-beautify, which can change HTML output in mjml 5.2.0. Every breaking API change we have recorded in mjml on npm: 16 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.4.1`, released September 10, 2026. [Source repository](https://github.com/mjmlio/mjml)

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

- From [5.0.0](#v-5-0-0) to [5.2.0](#v-5-2-0): 2 breaking changes in 2 versions.

## mjml 5.2.0 breaking changes

mjml 5.2.0, released May 7, 2026: 1 breaking change.

- **Behavior changed**  

The package moves its beautification back to js-beautify from the Biome and Prettier setup used in 5.x. Generated HTML formatting may differ, so check any output that depends on exact whitespace or layout. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.2.0)

## mjml 5.1.0 breaking changes

mjml 5.1.0, released April 24, 2026: 1 breaking change.

- **Behavior changed** `beautify`  

The beautify function now formats MJML output with Biome rather than Prettier, so beautified output can differ from before. Check any code or tests that depend on the exact beautified text. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.1.0)

## mjml 5.0.0 breaking changes

mjml 5.0.0, released April 16, 2026: 7 breaking changes.

- **Removed**  

CI now targets Node 20, 22 and 24; run MJML 5 on one of those versions. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0)
- **Removed** `mjml-migrate`  

The standalone mjml-migrate tool is removed, so very old MJML syntax is no longer migrated automatically. Migrate old templates with MJML 4 tooling first. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0)
- **Removed** `noMigrateWarn`  

The noMigrateWarn option is removed along with the migration helper. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0)
- **Behavior changed**  

HTML and CSS minification now use htmlnano and cssnano, so output formatting changes and legacy minifier options must be remapped to the new configs. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0)
- **Behavior changed** `border-radius`  

border-radius values are less strict across components, and mj-hero inner-padding now applies to all clients rather than only Outlook. Visually test these. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0)
- **Behavior changed** `mj-body`  

The body tag and class attribute move to mj-body output, and background-color applies only to the child div. Re-check any CSS or tooling relying on the old skeleton placement. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0)
- **Configuration changed** `ignoreIncludes`  

ignoreIncludes and allowIncludes defaults changed so includes are ignored unless explicitly allowed. Configure includePath and allow includes explicitly. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0)

## mjml 5.0.0-beta.1 breaking changes

mjml 5.0.0-beta.1, released April 16, 2026: 7 breaking changes.

- **Removed**  

CI now targets Node 20, 22 and 24; run MJML 5 on one of those versions. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0-beta.1)
- **Removed** `mjml-migrate`  

The standalone mjml-migrate tool is removed, so very old MJML syntax is no longer migrated automatically. Migrate old templates with MJML 4 tooling first. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0-beta.1)
- **Removed** `noMigrateWarn`  

The noMigrateWarn option is removed along with the migration helper. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0-beta.1)
- **Behavior changed**  

HTML and CSS minification now use htmlnano and cssnano, so output formatting changes and legacy minifier options must be remapped to the new configs. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0-beta.1)
- **Behavior changed** `border-radius`  

border-radius values are less strict across components, and mj-hero inner-padding now applies to all clients rather than only Outlook. Visually test these. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0-beta.1)
- **Behavior changed** `mj-body`  

The body tag and class attribute move to mj-body output, and background-color applies only to the child div. Re-check any CSS or tooling relying on the old skeleton placement. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0-beta.1)
- **Configuration changed** `ignoreIncludes`  

ignoreIncludes and allowIncludes defaults changed so includes are ignored unless explicitly allowed. Users must explicitly configure includePath and allow includes. [github.com](https://github.com/mjmlio/mjml/releases/tag/v5.0.0-beta.1)

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