Skip to content

Releases: mjmlio/mjml

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

v4.1.1

19 Jul 12:01
Compare
Choose a tag to compare

Fixes

  • Fix mjml-migrate crash when migrate an MJML 3 file

v4.1.0

28 Jun 12:39
Compare
Choose a tag to compare

Features

  • Change attributes parsing to allow special characters, notably <>, inside values (#1020, #1145, #1092)
  • .mjmlconfig is back, allowing to use custom components with the client (#660)
  • new attribute fluid-on-mobile on mj-image, that allows to set a width, but keep full-width on mobile (#263)
  • add type checking of attribute values in the validation process
  • --validate option was added on client (#1142)
  • allow empty alt attribute on mj-image (#1148)
  • add more logging to the client to help identify error causes (#1065)
  • allow global lang attribute to be specified in template for accessibility (#757)
  • Allow css-class to add multiple class names via multiple mj-class (#722)

Fixes

  • Minify no longer break MS Outlook conditional tags (#1201)
  • Repeated mj-tag's inside mj-attributes are now properly cumulated (#1194)
  • text-align on mj-button is now handled (#1188)
  • --watch option is fixed (#1171)
  • a mj-tag which is used several times inside mj-attributes will get all cumulated attributes (#1194)
  • mj-carousel image now properly fits its container (#1170)
  • mj-raw no longer counts as a column in mj-section when calculating columns' width (#1152)
  • 0 value is no longer ignored in html attributes
  • The migration process no longer replaces mj-includes with the actual content (#1141)
  • Allowed Attributes in mj-spacer added to match documentation (#1102)
  • Fixed allowed types for some attributes (container-background-color, font-size, vertical-align, border[-x], direction, padding[-x], table-layout...)
  • fix travis, added some tests & much linting

Documentation

  • Removed remaining references to mj-container (#1079)

v4.1.0-beta.4

20 Jun 08:51
Compare
Choose a tag to compare

Fixes

  • Fixed allowed types for some attributes (container-background-color, font-size, vertical-align, border[-x], direction, padding[-x], table-layout...)
  • The parser doesn't use CDATA anymore
  • Improved the test suite for the parser