Skip to content

Releases: mjmlio/mjml

v4.4.0

17 Jul 16:07
Compare
Choose a tag to compare

Features

  • Mj-buttons are now Fully clickable ! (except on outlook)(Thanks to @hellocosmin !)
    Fully clickable when width is in px, 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

02 Jul 17:31
Compare
Choose a tag to compare

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

24 May 09:50
Compare
Choose a tag to compare

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)

v4.4.0-beta.1

18 Feb 11:59
Compare
Choose a tag to compare
v4.4.0-beta.1 Pre-release
Pre-release

Features

  • Mj-buttons are now Fully clickable ! (except on outlook)(Thanks to @hellocosmin !)
  • 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

Fixes

  • 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)

v4.3.1

08 Jan 17:28
Compare
Choose a tag to compare

Fixes

  • Flush all the rendered html to stdout before exiting in mjml-cli (#1461) (thanks @sangaline!)
  • Validation: accept mj-raw everywhere except in endingTags
  • Migrate can now handle mj-social networks suffixes like :url from mjml v3

v4.3.0

03 Jan 17:21
Compare
Choose a tag to compare

Features

  • Added title attribute on social img (#1447)
  • Mjml-migrate now has a beautify option
  • Mjml-validator: small fixes, greatly improved flexibility when used standalone
  • Multiple documentation improvements

Fixes

  • Fix parsing when a single line endingTag contains an opening tag (#1358)
  • Pinned all internal mjml dependencies versions (#1442)

v4.2.1

26 Nov 08:52
Compare
Choose a tag to compare

Features

  • paddings on social icon and text (#1384)
  • support font-weight on style on social (#1412)
  • Allow minifyOptions (#1405) and fonts to be set from cli

Fixes

  • rm other exports from mjml to fix require('mjml') (#1387)
  • hero children width shouldnt depend on siblings (#1357)
  • most errors will be directed to stderr instead of stdout (#1342)
  • minor doc fixes (#1432)
  • Declare missing dependencies on babel-runtime
  • order attributes alphabetically in docs (#1385)

v4.2.0

08 Oct 15:40
Compare
Choose a tag to compare

Features

#82 mj-raw is now allowed in mj-head
#1234 new social networks are now available for mj-social
#1130 new option for mj-social to keep urls untouched
#969 MJML now refactors shorthand hex codes into longhand hex codes
Better handling of mjmlconfig, which allows usage of a local MJML version on the app
#1181 'name' attribute added for mj-button, mj-image and mj-navbar-link

Fixes

#605 mj-button can now handle a RGB background-color
Borders are now handled in container width calculations (mj-section, mj-column and mj-image)
#1277 Color validation no longer raises errors on some valid combinations
#1261 mj-button align="right" is now working on Outlook
#1187 mj-navbar icons now use html char code
#1174 mj-column: removed invalid background property on table
#1094 various fixes on mj-image for outlook
#1016 babel-runtime dep was added in most packages to allow standalone usage
#1272 mj-text align="justify" is no longer considered as invalid
#1267 added multiple missing allowed attributes for validation
#1287 MJML-Validator no longer crashes when receiving an attribute with a number-value (in json input)
#1312 added mj-spacer default height
Documentation improvements

v4.2.0-beta.2

13 Sep 11:45
Compare
Choose a tag to compare

Features

#82 mj-raw is now allowed in mj-head, no need to hack with /style anymore
#1234 many social networks were added for mj-social
#1130 option for mj-social to keep urls untouched
#969 MJML now refactor colors' shorthand hex codes
improved handling of mjmlconfig, which will allow usage on the app
#1181 'name' attribute added for mj-button, image and navbar-link links

Fixes

#605 mj-button can now handle an rgb background-color
Border are now handled in container width calculations (section, column and image)
#1277 Color validation no longer raises errors on some valid combinations
#1261 mj-button align="right" is now working on Outlook
#1187 mj-navbar icons now use html char code
#1174 mjml-column: removed invalid background property on table
#1094 various fixes on mj-image for outlook
#1016 babel-runtime dep was added in most packages to allow standalone usage
#1272 mjml-text Attribute align="justify" is no longer considered as invalid
#1267 added multiple missing allowed attributes for validation
#1287 MJML-Validator no longer crashes when receiving an attribute with a number-value (in json input)
#1312 added mj-spacer default height
documentation improvements

v4.1.2

07 Aug 13:23
Compare
Choose a tag to compare

Fixes

  • Regression from MJML3: Parser was altering attributes cases
  • mj-hero should no longer have a bottom margin