Skip to content

Releases: mjmlio/mjml

1.3.0

21 Mar 10:16
Compare
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

1.3.0-beta4

03 Mar 15:22
Compare
Choose a tag to compare
1.3.0-beta4 Pre-release
Pre-release
  • Clean code
  • Fix CDATA for mj-raw
  • Fix font-size for mj-html
  • Use width for mj-divider

1.3.0-beta3

02 Mar 16:03
Compare
Choose a tag to compare
1.3.0-beta3 Pre-release
Pre-release
  • MJML support Open Sans, Droid Sans, Lato and Roboto fonts
  • Fonts are imported only when it is used
  • mj-column's vertical-align is now applied on outlook too see #7

1.3.0-beta

01 Mar 16:16
Compare
Choose a tag to compare
1.3.0-beta Pre-release
Pre-release
  • MJML can now be used in a isomorphic environment !
  • 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
  • mjml cli supports i/o streams see #91

1.2.1

22 Feb 13:10
Compare
Choose a tag to compare
  • Fix a crash when mj-social has no display attribute

1.2.0

19 Feb 09:56
Compare
Choose a tag to compare
  • Padding syntax rework
    • Elements with padding can now be written with padding syntax in px, e.g. padding: 20px 0 is now a valid thing!
    • padding-left|-top|-right|-bottom now override padding definition : Hello` will now have a top padding of 35px and a bottom padding of 20px
  • mj-social receive a heavy lifting thanks to @hteumeuleu 's work
    • New syntax: you can now reorder and choose what social network you want to display. <mj-social display="twitter facebook google" /> will display only twitter, facebook and google, in this particular order.
    • base-url has been added to allow self-hosted icons
  • mj-section supports text-align
  • Fixed a crash when empty mj-text

Body width, Column background Color

12 Feb 11:30
Compare
Choose a tag to compare
  • Adding width property on body
  • Now column supports background-color !
  • Fix a render issue with image on iOs

Remove HTMLTidy

11 Feb 17:29
Compare
Choose a tag to compare
  • No more escaped characters caused by htmltidy
  • Margin on divider is now fixed

Bug fixes + typos

08 Feb 08:36
Compare
Choose a tag to compare
  • Update MjDivider for a better render on Outlook & Gmail
  • MjImage should behave better with no width attributes
  • Added a default background-size on section to render properly
  • Update lint rules

Cli fix

04 Feb 15:33
Compare
Choose a tag to compare
  • Typo in command line interface: fixed