Mjml Versions Save

MJML: the only framework that makes responsive-email easy

v4.10.0

2 years ago

Features

  • Add documentation for community component msobutton, (thanks @Adrien Zinger)

Fixes

  • Fix background image in mj-section for Yahoo and AOL. (fixes #2098, thanks @Pharmasolin)
  • Added missing tags in mjml-hero, mjml-button, mjml-social (thanks @Pharmasolin)
  • removed useless "tagOmission" property on some components (thanks @GarryFlemings)
  • Update cheerio (thanks @pfmnzone)
  • Documentation improvements (thanks @GarryFlemings)
  • Potential breaking changes

    • The missing tbody tags that were added on mjml-hero, mjml-button and mjml-social might require a change in the css selectors, i.e. if you used a mj-style with .css-class > table > tr you'll need to add the tbody in the selector.

v4.9.3

3 years ago

Fixes

  • Fix cli when no config arg is provided

V4.9.2

3 years ago

Fixes

  • Added quotes for 'href' and 'rel' attributes values on mj-carousel image (fixes #2242)
  • handle keepComments option in cli (fix #2206)
  • re-implement owa (fix #2241)

v4.9.1

3 years ago

Fixes

  • Fixed some options that were incorrectly passed from the cli to mjml-core

v4.9.0

3 years ago

Features

  • Add mjml-preset-core package, which contains all standard components, and can be passed to mjml-core's mjml2html. (thanks @TrySound)
  • mj-include can now be used to include css and html files (ref #2026)
  • Add specific media queries for thunderbird

Fixes

  • mj-raw can now be used in mj-social
  • Removed the media queries for owa as they're not needed anymore
  • Improved mj-accordion documentation @GarryFlemings

v4.8.2

3 years ago

Features

  • mj-button: Add support for title attribute (thanks @lahdekorpi)

Fixes

  • mjml-cli: Fix minify and beautify config when compiling multiple files (fixes #2163)
  • Transpile classes (fixes #2149, thanks @TrySound)
  • mjml-hero: Fix background image bug in Yahoo and AOL (fixes #2098, thanks @Pharmasolin)
  • mj-divider: Fix width on Outlook when set in percent (thanks @quetzalcoatlAxolotl)
  • Default dependencies in .mjmlconfig (fixes #2141, thanks @ryanburr)
  • Documentation improvements (thanks @valse, @hikiroom)

v4.8.1

3 years ago

Fixes

  • Prevent the validator from throwing an error when mjml is provided as Json and some components have no attributes property (thanks @BenjaminNolan)

v4.8.0

3 years ago

Features

  • A new package mjml-browser is available. Use this package if you need to use MJML client-side.
  • Add align attribute to mj-divider (thanks @thierrylemoulec)
  • Supports returning siblings elements from a custom component (thanks @IanEdington)
  • Move js-beautify and html-minifier to cli, and flag minify and beautify 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)

v4.7.1

3 years ago

Fixes

  • add attributes on mj-accordion-text (thanks @brunohkbx)
  • fix regression on migrate (thanks @DRoet)

v4.7.0

3 years ago

Features

  • Add a new head component, mj-html-attributes, which allows to add any attribute on the generated html tags using css selectors
  • Add support of 'cover' and 'contain' on background-size for mj-section and mj-wrapper (thanks @Alexnortung), and other small improvements of background-images on outlook.
  • Return the mjml json structure (thanks @DRoet)
  • Include directory for monorepo packages (thanks @iamandrewluca)
  • Add support of 'srcset' on mj-social-element (thanks @rickytranmer)
  • Add support of 'sizes' on mj-image and mj-social-element (thanks @rickytranmer)
  • Add support of 'letter-spacing' on multiple components
  • Automatically normalize lodash imports (thanks @TrySound)
  • Expose 'ignoreIncludes' option

Fixes

  • Fix mjml-migrate dependencies versions (thanks @TrySound)
  • Change to new twitter share link (thanks @kitfit-dave)
  • Fix support of 'font-style' on mj-navbar-link (thanks @kevingermain)
  • Fix to allow empty attributes
  • Upgrade yargs and drop commander (thanks @TrySound)
  • Update juice version (thanks @TrySound)
  • Fix validate command to use the default base directory (thanks Yuri Guilherme)
  • Remove extra argument in call to borderParser (thanks @FelixSchwarz)
  • Code improvements (thanks @TrySound, @DRoet)
  • Documentation improvements (thanks @GarryFlemings)
  • Documentation fixes (thanks @kevingermain, @dmgawel)