Releases: mjmlio/mjml
Releases · mjmlio/mjml
2.1.4
2.1.1
2.1.0
Features
- Adding
mj-headto MJML markup. - Allowing to register MJ-Head elements to modify default attributes/mj-classes via
registerMJHeadElementfrommjml-core - Add
Mj-Attributesto set default attributes formj-elementandmj-classsupport ! Look at https://github.com/mjmlio/mjml/tree/master/packages/mjml-head-attributes - Add
Mj-Heroto make Hero-like section https://github.com/mjmlio/mjml/tree/master/packages/mjml-hero - Add
Mj-Navbarto make an easy navbar with hamburger menu support for some clients https://github.com/mjmlio/mjml/tree/master/packages/mjml-navbar && https://github.com/mjmlio/mjml/tree/master/packages/mjml-inline-links - Add
Mj-spacerto add space between element on a column https://github.com/mjmlio/mjml/tree/master/packages/mjml-spacer Mj-Textsupportstext-transformnowMj-Socialadd your favorite network easily, see https://github.com/mjmlio/mjml/blob/master/packages/mjml-social/README.md
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.shscript should be faster now
2.0.2
2.0.1
2.0.0
Features
- MJML is now a mono repo project with multiple packages
mjml-corefor the engine that renders MJML componenentmjml-clifor the cllient, based on mjml-core interfacemjmlis 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
postRenderhook with full HTML document. Document can be modified through cheerio mjmlroot 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>.mjmlconfigallows you to define a list of included component that will be required bymjml-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
alignon column element is now atext-alignontd- Remove
min-widthon 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
1.3.3
1.3.2
- Refactoring issue in client fixed
1.3.0
Features
- MJML can now be used in a isomorphic environment !
mjmlcli supports i/o streams see #91ColumnElementsuch astext, image, list, ...now supportscontainer-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:urlto 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-rawtags 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-buttondefault attributes has been updated to match other element, see #109 and #69max-widthonmj-imagehas been removed see #86coloris no longer inherited and see #105mj-socialnow have a padding between fortext-modefalse- Fix
font-sizeformj-html VerticalAlignfor column is now applied on Outlook client- Use
widthformj-divider#77 mj-dividershould now use%instead ofpxfor width + fix #125- Outlook conditional tags should behave correctly with
%#130 - Divider has a incorrect padding bottom on Outlook 2013 see #137