Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
149ed1b to
4e26acb
Compare
4e26acb to
0367ba1
Compare
0367ba1 to
d9d203d
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
4.18.0→5.1.04.7.4→5.0.0Release Notes
mjmlio/mjml (mjml)
v5.1.0Compare Source
What's Changed
Features
beautifytook 500ms for large MJML documents and was causing 504 errors.. Note: Prettier is still used inside mjml-browser by @totocap in #3075 and @dazgreer in #3076Full Changelog: mjmlio/mjml@v5.0.1...v5.1.0
v5.0.1Compare Source
What's Changed
Documentation
Full Changelog: mjmlio/mjml@v5.0.0...v5.0.1
v5.0.0Compare Source
Upgrade Guide
These are the changes users need to actively consider when upgrading to MJML 5.x.x from MJML 4.x (and early MJML 5 alphas):
Highlights
html-minifierandjs-beautifywithhtmlnano+cssnano. [breaking change]mj-includeandignoreIncludes[breaking change]<body>tag is now driven bymj-body, not the global skeleton. [breaking change]mjml-browserbuild/minification pipeline updatedborder-radius). [breaking change]HTML/CSS minification & formatting
What changed
htmlnanoinstead ofhtml-minifier.cssnanopresets wired viamjml-core..mjmlconfig.jsImpact [potential breaking changes]
html-minifierspecific options used in custom tooling will no longer apply; options are now expressed ashtmlnano/cssnanoconfigs.What to do
minify/beautifyflags or custom minifier options, re‑map them to the newhtmlnano/cssnanoconfig.Notes
cssnanouseslitepreset by default. Due to this issue: #2919.defaultpreset can be used if your fonts don’t contain numeralsMore detail: (#2858 (comment))
Template syntax handling and sanitization (PostCSS)
What changed
{{ }}) is now sanitized before PostCSS and with syntax restored post-processing.Impact
CssSyntaxErrorerror will occur when applying CSS minification to files with some template syntaxWhat to do
More detail: (#2858 (comment))
Includes are more locked down
What changed
ignoreIncludes/allowIncludes(CLI) defaults and behavior have changed to be more secure. Includes are ignored by defaultincludePathoption is introduced to explicitly control where includes can be loaded from outside of a templates filePathImpact [potential breaking changes]
What to do
ignoreIncludes/allowIncludes.includePath(and related options) in your.mjmlconfigor CLI usage to match your desired include directories (see docs)More detail: (#2858 (comment))
mj-body and skeleton structure
What changed
<body>HTML tag is now generated under mj-body instead of a global skeleton file.idattribute tomj-bodymj-bodyattributes have been refactored:classattribute is applied to thebodytag rather than the childdivbackground-colorremoved frombody, applies to childdivonlyImpact [potential breaking changes]
<body>lived, what attributes were on it), this structure is now different.classmay no longer applyWhat to do
classorbackground-colorattributes that were applied tomj-bodyNotes
Browser bundle / build scripts
What changed
mjml-browserbuild/minification pipeline has been updated to use new minifiersWhy
Impact
mjml-browserdirectly or depended on its legacy build scripts, behavior and bundle size/shape might change.What to do
mjml-browserand verify they still load, minify, and run as expected.Attributes & layout consistency
What changed
border-radiusattributes now accept a string, previously this was inconsistent across components. Allows more flexible inputinner-paddingattributes ofmj-heroand fixed an Outlook issue withwidth/paddingImpact [potential breaking changes]
border-radiusvalues are less strictinner-paddingformj-herois now applied to all clients, not just OutlookWhat to do
border-radiusandmj-hero'sinner-paddingMigration helper removal
What changed
mjml-migratetool and associatednoMigrateWarnoption are removed.Impact [potential breaking changes]
What to do
Node.js version support
What changed
Impact [potential breaking changes]
What to do
Full Changelog: mjmlio/mjml@v4.18.0...v5.0.0
Configuration
📅 Schedule: (in timezone Europe/Sofia)
* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.