Features
- A new package
mjml-browser
is available. Use this package if you need to use MJML client-side. - Add
align
attribute tomj-divider
(thanks @thierrylemoulec) - Supports returning siblings elements from a custom component (thanks @IanEdington)
- Move js-beautify and html-minifier to cli, and flag
minify
andbeautify
options as deprecated in mjml-core. They will be removed from the core and only available in cli in MJML 5. (thanks @TrySound) - Flag
mjml-migrate
as deprecated. It will be removed in MJML 5. (thanks @TrySound) - Transpile lib for node 10 (thanks @TrySound)
- Refacto mjml-validator (thanks @TrySound)
- Bump all dependencies (thanks @DRoet)
Fixes
- Fix mjml-spacer in outlook, height was ignored when it was the last element of its parent mj-column (fixes #1971, thanks @Pharmasolin)
- Fix independent border properties on mj-image (fixes #1939, thanks @Pharmasolin)
- Fix conditional comment for meta tag in skeleton (thanks @cheapsteak)
- Added missing
<tbody>
after<table>
tag in mj-column component. (thanks @Pharmasolin) - Add
@babel/runtime
dependency directly to mjml (thanks @doits) - Fix issue with stacking columns within mj-group in Gmail for IOS (thanks @jsteele883)
- Handle border-radius on mj-hero (thanks @vasin)
- Documentation fixes and additions (thanks @theoomoregbee, @GarryFlemings, @KonstantinLukaschenko)