Skip to content

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 16 Apr 19:16
d41c9ab

0.13.0 (2026-04-16)

⚠ BREAKING CHANGES

  • mjml-template: the MjmlTemplate construct has been removed. mjml v5 renders
    asynchronously, which doesn't fit CDK's synchronous construct pattern, and the
    construct was a thin wrapper over CfnTemplate. Render the MJML yourself and
    pass the HTML to CfnTemplate directly:
  import { CfnTemplate } from 'aws-cdk-lib/aws-ses'; 
  import mjml2html from 'mjml'; 

  const html = await mjml2html(mjmlSource);

  new CfnTemplate(this, 'Template', {
    template: {
      subjectPart: 'Welcome!',
      htmlPart: html,
    },
  });

Features