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
On this page
Latest version 5.4.1, released September 10, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
mjml 5.2.0 breaking changes
- 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
mjml 5.1.0 breaking changes
- 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
mjml 5.0.0 breaking changes
- Removed
CI now targets Node 20, 22 and 24; run MJML 5 on one of those versions. github.com - 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 - Removed
noMigrateWarn
The noMigrateWarn option is removed along with the migration helper. github.com - 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 - 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 - 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 - Configuration changed
ignoreIncludes
ignoreIncludes and allowIncludes defaults changed so includes are ignored unless explicitly allowed. Configure includePath and allow includes explicitly. github.com
mjml 5.0.0-beta.1 breaking changes
- Removed
CI now targets Node 20, 22 and 24; run MJML 5 on one of those versions. github.com - 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 - Removed
noMigrateWarn
The noMigrateWarn option is removed along with the migration helper. github.com - 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 - 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 - 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.