Releases: mjmlio/mjml
Releases · mjmlio/mjml
3.1.0
Features
- Make your email interactive with brand new
mj-carousel
!
API
- Add or remove custom rules on
mjml-validator
with.mjmlconfig
MJML
is now embeddable inside Atom with every features
Fixes
- Fix some non illegal attributes see #424
- Fix double unit on VML background for
mj-section
#422 - Line Height supports now unitless line-height in supported components #390
$
no longer duplicate content #449- Some documentation fixes ex #446
- Some fix to be used inside a browser environment
Soon to be deprecated
mj-list
will be deprecated in the next releasemj-html
will be deprecated in the next release
3.0.2
3.0.1
3.0.0
Features
mj-validator
provides validation to MJML documents with 3 levels ( skip/soft/strict)mj-include
is now recursive, so you can usemj-include
insidemj-include
(related: https://i.imgflip.com/1beg53.jpg)- New tag
mj-style
can be used inmj-head
to add CSS that will be inlined in the generated HTML.mj-style
doesn't support media queries at the moment. mj-font
now enables users to override default MJML fonts like Robotomj-section
now support thedirection
attribute to change the way columns display on desktopmj-social
now supportsinner-padding
to add padding between social networksmj-button
now supports theborder-left/right/bottom/top
andwidth
attributesmj-section
now supports theborder-left/right/bottom/top
attributesmj-column
now supports theborder-left/right/bottom/top
attributes
API Update
mjml
&mj-body
is now mandatory, old MJML syntax with onlymj-body
is removedmjml2html
andMJMLRenderer
will not return a string anymore, it will return an object with :{ errors, html }
Fixes
- Fixed a bug when registering twice a MJML element with the same name
mj-button
should now render correctly on old outlook ( 2000/2003)- Glob pattern ( *.mjml ) should now work in
mjml-cli
- When importing a MJML file using
mj-include
, the.mjml
extension is optional .mjmlconfig
should now finally accepts relative path 🎉- Fixed the
package.json
version lockout to download a specific version - Fixed
mj-group
so it renders correctly on Outlook 2000/2003 &background-color
works as expected
3.0.0-beta.2
See list of changes in #321
3.0.0-beta.1
See list of changes in #321
2.3.3
Features
- Add
presentation="role"
for almost everytable
to help with accessibility http://blog.rebelmail.com/accessibility-in-email-part-ii/
Fixes
- Fix Mj-Button ghost button, padding fix introduce in
2.3.1
broke border - Fix Mj-Hero align/padding were not applied #366
mj-location
href
is now documented- Remove a
mj-hero
warning Mj-Hero
supportsvertical-align
thanks to @tothandras
2.3.2
2.3.1
2.3.0
Features
- MJ Button supports ghost buttons #116 ! + some new attributes on it (
inner-padding text-transform
) - Mj Font to import custom font when used #80
- Mj Title to set HTML title !
- Mj Table has some new attributes (
cellpadding cellspacing
see #202 ) - Mj Image has now
border-radius
( not supported everywhere ) andtitle
attributes - Mj Include allows you to import partial MJML file
- Mj Head Attributes has now a
mj-all
that update style for every MJML component
API Update
- No more
setMjCssClasses
orsetDefaultAttributes
, they are now properties on MJMLRenderer - ColumnElement is no longer needed
- Default HTML container can now be modified by Mj-Head elements
Fixes
- Cli now adding
.html
only if output html has no extension see #262 - Multiple MJ-Classes should now work as intended
- Element as MjText/MjImage... can be rendered outside a
mj-column
without surroundingtd
- Errors from
.mjmlconfig
give now more relevant informations