All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed regression where installs using globally installed
npx
ornvm
would not be able to find the MJML binary
- Craft 5 support
- Fixed issue where using the plugin when rendering a template with the Craft Core Mailer would use the CP templates folder as relative path for
mj-include
calls
- Fixed issues with saving settings
- Initial Craft CMS 4 release
- Added Craft 4 support
- Added
include
method similar to Twig'sinclude
method so we can cache the MJML template once and then render the dynamic parts with Twig - Added support for
<mj-include/>
tags for the CLI option - Added
mjmlCliIncludesPath
config setting
- Changed error handling to log more detailed error messages
- Allow for optional CLI config settings (e.g. minify)
- Always render template if in LivePreview mode (#11)
- Added logging of CLI output when in devMode
- Fixed a race condition where the wrong email contents sometimes was returned if two users triggered a render at the same time
- Fixed bad references to
mjmlCliPath
- Initial release