Skip to content

Releases: mjmlio/mjml

2.1.4

01 Jun 12:50

Choose a tag to compare

Fixes

  • Merge packages mj-navbar/inline-links/link, mj-hero/mj-hero-content, mj-invoice/invoice-item
  • Fix issue with default attributes/classe reset on new render

2.1.1

25 May 13:06

Choose a tag to compare

Fixes

  • mj-social padding regression on vertical mode
  • Update some documentation
  • Now supports olders versions of outlook ( < 2007 ) thanks to @rojasmi1 !
  • mj-section has now a background-color for client that doesn't support background-image thanks to @Everus !
  • Fix mj-hero in high dpi outlook

2.1.0

24 May 09:29

Choose a tag to compare

Features

Fixes

  • Background color on body was missing in 2.0 #236
  • Yahoo alignement issue since 2.0 #231 #250 and #229
  • Fix directories being skipped in watch #220
  • Watch now notify when changes are being detected #234

Development mode

  • install.sh script should be faster now

2.0.2

03 May 11:00

Choose a tag to compare

Fix

  • mjml watch now works properly #213
  • Fixing a margin bug with mj-divider on Outlook 2013 #214
  • Adding a default value on mj-invoice #211

2.0.1

29 Apr 14:24

Choose a tag to compare

Change mjml-cli version

2.0.0

27 Apr 13:41

Choose a tag to compare

Features

  • MJML is now a mono repo project with multiple packages
    • mjml-core for the engine that renders MJML componenent
    • mjml-cli for the cllient, based on mjml-core interface
    • mjml is a standlone mjml client with standard MJML lib (column/section/body/...)
    • One standalone package for each component
  • API te create a component is now much easier, and allow postRender hook with full HTML document. Document can be modified through cheerio
  • mjml root tag have been implemented #78 allows #157
<mjml>
  <mj-body>
    <mj-container>
      ...
    </mj-container>
  </mj-body>
</mjml>

Note that previous notation is deprecated but still available

<mj-body>
 ...
</mj-body>
  • .mjmlconfig allows you to define a list of included component that will be required by mjml-core
{
 "packages": [
    "mjml-body",
    "mjml-section" 
  ]
} 
  • Upgrade React version to v15.0.1, adding a unit on each CSS property
  • Expose global helpers on mjml-core

Fix

  • Fix #153 : comments inside a ending tags are back
  • align on column element is now a text-align on td
  • Remove min-width on a column for pixel layout. It will fix browser and Mail on iOS render
  • Fix when you use mjml React component with childrens

1.3.4

07 Apr 10:48

Choose a tag to compare

Bug fixes

  • Update dependencies
  • Fix false condition when padding = 0
  • Yahoo delete background on body tag
  • Bug with mj-attribute locked
  • Table layout property to set it as fixed, thanks to @slantz
  • Remove min-with on mj-column

1.3.3

22 Mar 17:10

Choose a tag to compare

  • Fix width on mj-image #144

1.3.2

22 Mar 12:23

Choose a tag to compare

  • Refactoring issue in client fixed

1.3.0

21 Mar 10:16

Choose a tag to compare

Features

  • MJML can now be used in a isomorphic environment !
  • mjml cli supports i/o streams see #91
  • ColumnElement such as text, image, list, ... now supports container-background-color
  • MJML support Open Sans, Droid Sans, Lato and Roboto fonts and, fonts are imported only when used
  • Add support to share and non-share url for mj-social, add :url to disable share link for a social network : <mj-social display="twitter:url facebook google:url" />

New components

  • mj-invoice : Display a table of items with calculated total price.
  • mj-table : This tag allows you to display table and filled it with data.
  • mj-location : Display a Google Maps location link

Bug fixes

  • mj-raw tags should no longer parse incorrect tags, see #25
  • Custom MJ Element with empty content or string content no longer make MJML crash, see #62
  • mj-button default attributes has been updated to match other element, see #109 and #69
  • max-width on mj-image has been removed see #86
  • color is no longer inherited and see #105
  • mj-social now have a padding between for text-mode false
  • Fix font-size for mj-html
  • VerticalAlign for column is now applied on Outlook client
  • Use width for mj-divider #77
  • mj-divider should now use % instead of px for width + fix #125
  • Outlook conditional tags should behave correctly with % #130
  • Divider has a incorrect padding bottom on Outlook 2013 see #137