yarn mjml 4.1.0
v4.1.0

latest releases: 5.0.0-alpha.6, 5.0.0-alpha.4, 5.0.0-alpha.3...
6 years ago

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)

Don't miss a new mjml release

NewReleases is sending notifications on new releases.