Releases: mjmlio/mjml
Releases · mjmlio/mjml
v4.10.3
Features
- Update @babel/runtime dependency on all packages (thanks @doits)
Fixes
- Documentation fix (thanks @GarryFlemings)
- Docs and linter corrections for invalid / missing attributes (fixes #2352, thanks @BenjaminNolan)
- Add
title
missing attribute onmj-button
v4.10.2
Features
- Add cli flag to omit file header comment on stdout (fixes #2039, thanks @timo-reymann)
- Allow components that use the color validator on an attribute without a default value (fixes #1955, #2315, thanks @chadfurman)
- Support "inherit" color (thanks @chadfurman)
- Update dependencies
Fixes
- Documentation updates (thanks @GarryFlemings, @timo-reymann)
v4.10.1
Features
- Add
role
attribute tomj-table
(fixes #2303, thanks @mohamedsalem401) - Add
role: 'presentation'
onmj-section
's table (thanks @mohamedsalem401)
Fixes
- Require newer babel runtime (fixes #2299, thanks @doits)
- Documentation update (thanks @GarryFlemings)
v4.10.0
Features
- Add documentation for community component
msobutton
, (thanks @adrien Zinger)
Fixes
- Fix background image in mj-section for Yahoo and AOL. (fixes #2098, thanks @Pharmasolin)
- Added missing tags in mjml-hero, mjml-button, mjml-social (thanks @Pharmasolin)
- removed useless "tagOmission" property on some components (thanks @GarryFlemings)
- Update cheerio (thanks @pfmnzone)
- Documentation improvements (thanks @GarryFlemings)
Potential breaking changes
- The missing
tbody
tags that were added on mjml-hero, mjml-button and mjml-social might require a change in the css selectors, i.e. if you used a mj-style with.css-class > table > tr
you'll need to add the tbody in the selector.
v4.9.3
v4.9.2
v4.9.1
v4.9.0
Features
- Add
mjml-preset-core
package, which contains all standard components, and can be passed tomjml-core
's mjml2html. (thanks @TrySound) mj-include
can now be used to include css and html files (ref #2026)- Add specific media queries for thunderbird
Fixes
mj-raw
can now be used inmj-social
- Removed the media queries for owa as they're not needed anymore
- Improved
mj-accordion
documentation @GarryFlemings
v4.8.2
Features
mj-button
: Add support fortitle
attribute (thanks @lahdekorpi)
Fixes
mjml-cli
: Fix minify and beautify config when compiling multiple files (fixes #2163)- Transpile classes (fixes #2149, thanks @TrySound)
mjml-hero
: Fix background image bug in Yahoo and AOL (fixes #2098, thanks @Pharmasolin)mj-divider
: Fix width on Outlook when set in percent (thanks @quetzalcoatlAxolotl)- Default dependencies in .mjmlconfig (fixes #2141, thanks @ryanburr)
- Documentation improvements (thanks @valse, @hikiroom)
v4.8.1
Fixes
- Prevent the validator from throwing an error when mjml is provided as Json and some components have no
attributes
property (thanks @BenjaminNolan)