Releases: mjmlio/mjml
Releases · mjmlio/mjml
2.2.0
Features
mj-group
allows you to control how yourmj-column
behave on mobile! Look at https://github.com/mjmlio/mjml/blob/master/packages/mjml-group/README.md for more informationsmj-link
now supports thetext-transform
attribute
2.1.4
2.1.1
2.1.0
Features
- Adding
mj-head
to MJML markup. - Allowing to register MJ-Head elements to modify default attributes/mj-classes via
registerMJHeadElement
frommjml-core
- Add
Mj-Attributes
to set default attributes formj-element
andmj-class
support ! Look at https://github.com/mjmlio/mjml/tree/master/packages/mjml-head-attributes - Add
Mj-Hero
to make Hero-like section https://github.com/mjmlio/mjml/tree/master/packages/mjml-hero - Add
Mj-Navbar
to 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-spacer
to add space between element on a column https://github.com/mjmlio/mjml/tree/master/packages/mjml-spacer Mj-Text
supportstext-transform
nowMj-Social
add 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.sh
script 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-core
for the engine that renders MJML componenentmjml-cli
for the cllient, based on mjml-core interfacemjml
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 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
align
on column element is now atext-align
ontd
- 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
1.3.3
1.3.2
- Refactoring issue in client fixed