Releases: mjmlio/mjml
Releases · mjmlio/mjml
v4.7.0-beta.2
Features
- Return the mjml json structure (thanks @DRoet)
- Include directory for monorepo packages (thanks @iamandrewluca)
Fixes
- Fix #1942 mj-html-attribute cause trailing
</link></meta>
- Fix to allow empty attributes
- Upgrade yargs and drop commander (thanks @TrySound)
- Fix validate command to use the default base directory (thanks Yuri Guilherme)
- Remove extra argument in call to borderParser (thanks @FelixSchwarz)
- Code improvements (thanks @TrySound, @DRoet)
- Documentation improvements (thanks @GarryFlemings)
v4.7.0-beta.1
Features
- Add a new head component, mj-html-attributes, which allows to add any attribute on the generated html tags using css selectors
- Add support of 'cover' and 'contain' on
background-size
for mj-section and mj-wrapper (thanks @Alexnortung), and other small improvements of background-images on outlook. - Add support of 'srcset' on mj-social-element (thanks @rickytranmer)
- Add support of 'sizes' on mj-image and mj-social-element (thanks @rickytranmer)
- Add support of 'letter-spacing' on multiple components
- Automatically normalize lodash imports (thanks @TrySound)
- Expose 'ignoreIncludes' option
Fixes
- Fix mjml-migrate dependencies versions (thanks @TrySound)
- Change to new twitter share link (thanks @kitfit-dave)
- Fix support of 'font-style' on
mj-navbar-link
(thanks @kevingermain) - Documentation fixes (thanks @kevingermain, @dmgawel)
v4.6.3
v4.6.1
v4.6.0
Features
- Add preprocessors to mjml parser - Fixes #42, #874, #457, #459 (thanks @XBeg9)
- Add "inner-background-color" to
mj-column
to improve gutter. You can set different background-colors for padding and content. Also adds "inner-border" and "inner-border-radius". - Add "letter-spacing" attribute to
mj-button
(thanks @milap1296) - Add "usemap" attribute to
mj-image
(thanks @vinikira)
Fixes
- Fix #1628
--filePath
option accepts directories. Also, fix watch of nested includes when filePath is specified. - Fix #1670
mj-accordion
fallback for Thunderbird (thanks @bertho-zero) - Fix #1801 dont escape url when "baseUrl" is set on
mj-navbar
- Fix
mj-group
background-color on outlook 2016 - set bgcolor on table (thanks @btd) - Fix invalid font-size value on p tag on
mj-divider
(thanks @allentsai93) - Fix #1848 cli
--version
alias - Allow "border-radius" to be percentage or px based on several components (thanks @zslabs)
- Fix http links in code examples (thanks @edjw)
- Multiple documentation improvements (thanks @GarryFlemings, @toantqt, @petetnt, @allanlewis, @davidsneighbour)
v4.5.1
v4.5.0
Features
- Allow social elements without links to make simple image-text lists (thanks @krystof-k)
- Trigger validation warning when mj-include file is not found (#1689)
- Mj-text line-height accepts negative values (#1639)
- Prefix some css classes with
mj-
(#1620)
Fixes
- Update to latest Yargs to resolve vulnerable transient dependencies (thanks @hermanbanken)
- Fix auto generated column classes conflicts
Minor breaking changes
- Due to the fix of the auto generated column classes, 3 columns with no width specified will now have a css class
mj-column-per-33-333333333333336
instead ofmj-column-per-33
. Also, theoutlook-group-fix
andfull-width-mobile
classes have been prefixed withmj-
. Be careful if you used those in a css selector. - Due to the "social elements without links" feature, a mj-social-element with neither
name
norhref
will no longer have a<a>
tag around it.
v4.4.0
Features
- Mj-buttons are now Fully clickable ! (except on outlook)(Thanks to @hellocosmin !)
Fully clickable when width is inpx
, when width is in%
only the inner-padding is clickable - Mj-image: Fix Alt Text, allow font-size and max-height attribute (thanks @Zelltron)
- Allow to preserve tags from being altered by juice when inlining css (#1450)
- Add an option to disable migration warnings
- allow to specify base path for mj-includes in cli (#1546)
- doc to ignore content during minification (#1527)
- Other documentation updates
Fixes
- fix parser issue when failed include (#1607)
- ignore raw elements in column width calculation in mj-group (#1621)
- remove old windows phone 8 fix , remove old outlook fixes, lowercase Margin (#1619, #1618, #1614 thanks @hteumeuleu)
- Bump chokidar & juice to resolve a security vulnerability (thanks @schmod)
- https for carousel arrows img urls (thanks @sylvaindumont )
- Upgrade chokidar to fix braces CVE (#1516 thanks @Sparticuz)
- Fix cli output path calculation with
\
separators (windows) - Move
cross-env
into devDependencies (thanks @nexdrew) - handle
auto
value in unit validation, allow it in mj-image height (#1538) - set mj-column font-size to 0 (#1560)
- remove cellpadding and cellspacing from mj-table style
- Allow 2 values for inner-padding on mj-button and mj-social (thanks @aew)
- Fix Navbar ico-align attribute (#1495)
- Don't migrate null values when migrating a json template
- Fix validation regex, allow unitless line-height and paddings on navbar
- Fix for ipad display block on social image (#1441)
- Hero width defaults to container width (#1632)
v4.4.0-beta.3
Fixes
- fix parser issue when failed include (#1607)
- ignore raw elements in column width calculation in mj-group (#1621)
- remove old windows phone 8 fix , remove old outlook fixes, lowercase Margin (#1619, #1618, #1614 thanks @hteumeuleu)
- Bump chokidar & juice to resolve a security vulnerability (thanks @schmod)
- https for carousel arrows img urls (thanks @sylvaindumont )
v4.4.0-beta.2
Features
- Improve mj-button clickable zone when fixed width
- allow to specify base path for mj-includes in cli (#1546)
- doc to ignore content during minification (#1527)
- Other documentation updates
Fixes
- Upgrade chokidar to fix braces CVE (#1516 thanks @Sparticuz)
- Fix cli output path calculation with
\
separators (windows) - Move
cross-env
into devDependencies (thanks @nexdrew) - handle
auto
value in unit validation, allow it in mj-image height (#1538) - set mj-column font-size to 0 (#1560)
- remove cellpadding and cellspacing from mj-table style
- Allow 2 values for inner-padding on mj-button and mj-social (thanks @aew)