MJML v4.7.1 Release Notes

Release Date: 2020-09-30 // over 3 years ago
  • 🛠 Fixes

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

Previous changes from v4.7.0

  • 🔋 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)