Skip to content

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 19 May 19:26
· 1 commit to main since this release
ea8a47d

4.0.0 (2026-05-19)

Features

  • Upgrade to MJML5 and prepare for V4 release (#147) (ea8a47d)

BREAKING CHANGES

  • The render function is now asynchronous and returns a promise.
    This is because MJML v5 introduces asynchronous rendering which is non optional.

  • fix(tests): Fix moduleNameMapper breaking cssnano optional imports in dist tests

Co-authored-by: anajavi anajavi@users.noreply.github.com

  • chore(build): target es2020

  • chore(docs): Update documentation for async and remove v4 references

  • fix(ci): fix test not being awaited

  • chore(deps): Remove @types/html-minifier

  • chore(mjml): Set formatter to removeComments: "safe"

  • fix(docs): incorrect minify options in README

  • fix(docs): By default minify is false