Releases: mjmlio/mjml
v4.4.0-beta.1
Features
- Mj-buttons are now Fully clickable ! (except on outlook)(Thanks to @hellocosmin !)
- Mj-image: Fix Alt Text, allow font-size and max-height attribute (thanks @Zelltron)
- Allow to preserve tags from being altered by juice when inlining css (#1450)
- Add an option to disable migration warnings
Fixes
v4.3.1
v4.3.0
Features
- Added title attribute on social img (#1447)
- Mjml-migrate now has a beautify option
- Mjml-validator: small fixes, greatly improved flexibility when used standalone
- Multiple documentation improvements
Fixes
v4.2.1
v4.2.0
Features
#82 mj-raw
is now allowed in mj-head
#1234 new social networks are now available for mj-social
#1130 new option for mj-social
to keep urls untouched
#969 MJML now refactors shorthand hex codes into longhand hex codes
Better handling of mjmlconfig, which allows usage of a local MJML version on the app
#1181 'name' attribute added for mj-button
, mj-image
and mj-navbar-link
Fixes
#605 mj-button
can now handle a RGB background-color
Borders are now handled in container width calculations (mj-section
, mj-column
and mj-image
)
#1277 Color validation no longer raises errors on some valid combinations
#1261 mj-button align="right"
is now working on Outlook
#1187 mj-navbar
icons now use html char code
#1174 mj-column
: removed invalid background property on table
#1094 various fixes on mj-image
for outlook
#1016 babel-runtime dep was added in most packages to allow standalone usage
#1272 mj-text align="justify"
is no longer considered as invalid
#1267 added multiple missing allowed attributes for validation
#1287 MJML-Validator no longer crashes when receiving an attribute with a number-value (in json input)
#1312 added mj-spacer
default height
Documentation improvements
v4.2.0-beta.2
Features
#82 mj-raw is now allowed in mj-head, no need to hack with /style anymore
#1234 many social networks were added for mj-social
#1130 option for mj-social to keep urls untouched
#969 MJML now refactor colors' shorthand hex codes
improved handling of mjmlconfig, which will allow usage on the app
#1181 'name' attribute added for mj-button, image and navbar-link links
Fixes
#605 mj-button can now handle an rgb background-color
Border are now handled in container width calculations (section, column and image)
#1277 Color validation no longer raises errors on some valid combinations
#1261 mj-button align="right" is now working on Outlook
#1187 mj-navbar icons now use html char code
#1174 mjml-column: removed invalid background property on table
#1094 various fixes on mj-image for outlook
#1016 babel-runtime dep was added in most packages to allow standalone usage
#1272 mjml-text Attribute align="justify" is no longer considered as invalid
#1267 added multiple missing allowed attributes for validation
#1287 MJML-Validator no longer crashes when receiving an attribute with a number-value (in json input)
#1312 added mj-spacer default height
documentation improvements
v4.1.2
v4.1.1
v4.1.0
Features
- Change attributes parsing to allow special characters, notably <>, inside values (#1020, #1145, #1092)
- .mjmlconfig is back, allowing to use custom components with the client (#660)
- new attribute fluid-on-mobile on mj-image, that allows to set a width, but keep full-width on mobile (#263)
- add type checking of attribute values in the validation process
- --validate option was added on client (#1142)
- allow empty alt attribute on mj-image (#1148)
- add more logging to the client to help identify error causes (#1065)
- allow global lang attribute to be specified in template for accessibility (#757)
- Allow css-class to add multiple class names via multiple mj-class (#722)
Fixes
- Minify no longer break MS Outlook conditional tags (#1201)
- Repeated mj-tag's inside mj-attributes are now properly cumulated (#1194)
- text-align on mj-button is now handled (#1188)
- --watch option is fixed (#1171)
- a mj-tag which is used several times inside mj-attributes will get all cumulated attributes (#1194)
- mj-carousel image now properly fits its container (#1170)
- mj-raw no longer counts as a column in mj-section when calculating columns' width (#1152)
- 0 value is no longer ignored in html attributes
- The migration process no longer replaces mj-includes with the actual content (#1141)
- Allowed Attributes in mj-spacer added to match documentation (#1102)
- Fixed allowed types for some attributes (container-background-color, font-size, vertical-align, border[-x], direction, padding[-x], table-layout...)
- fix travis, added some tests & much linting
Documentation
- Removed remaining references to mj-container (#1079)
v4.1.0-beta.4
Fixes
- Fixed allowed types for some attributes (
container-background-color
,font-size
,vertical-align
,border[-x]
,direction
,padding[-x]
,table-layout
...) - The parser doesn't use CDATA anymore
- Improved the test suite for the parser