Skip to content

Releases: mertemr/mjml-server

v1.2.1

08 Jan 01:51

Choose a tag to compare

🎉 What's New in v1.2.1

This release brings significant new features focused on template processing, performance optimization, and production-ready Docker improvements.

✨ Major Features

🎨 Template Processing & Batch Rendering

  • New Template Processing Engine: Added Mustache-based template processing support for dynamic MJML content
  • Batch Rendering Endpoint: Introduced /render-batch endpoint for rendering multiple MJML templates in a single request
  • Template Variables: Support for dynamic variable substitution in MJML templates using Mustache syntax

🚦 Rate Limiting

  • Built-in Rate Limiting: Added express-rate-limit integration to protect against abuse
  • Configurable Options:
    • --rate-limit-window: Set time window for rate limiting (default: 15 minutes)
    • --rate-limit-max: Set maximum requests per window (default: 100)
  • Flexible Configuration: Rate limiting can be enabled/disabled based on your needs

🐳 Docker Improvements

Production-Ready Dockerfile

  • Multi-stage Build: Optimized build process with dedicated build and production stages
  • Security Enhancements: Running as non-root user with proper permission management
  • Health Check: Integrated health check endpoint for container orchestration
  • Smaller Image Size: Improved layer caching and reduced final image footprint
  • Multi Architecture Support: Official support for both linux/amd64 and linux/arm64 architectures

📚 Documentation

  • Enhanced README: Comprehensive documentation updates including:
    • Rate limiting configuration examples
    • Template processing usage guide
    • Batch rendering API documentation
    • Docker deployment best practices
    • Updated API examples with new endpoints

🔧 Dependencies

New Dependencies

  • express-rate-limit@8.2.1: Rate limiting middleware
  • mustache@4.2.0: Template processing engine

Updated Dependencies

  • express@5.1.0: Upgraded to Express v5
  • Multiple dev dependency updates for better tooling and security

🧪 Testing

  • Improved Test Coverage: Added comprehensive tests for new template processing features
  • Code Formatting: Better test file formatting and organization

📦 Installation

Docker

Pull the latest v1.2.1 image:

docker pull mactorient/mjml-server:1.2.1

Run the server:

docker run -p 15500:15500 mactorient/mjml-server:1.2.1

Detailed usage instructions can be found in README.md documentation.


📝 Full Changelog

Version: 1.2.1
Release Date: January 2026
Previous Version: 1.1.0

For detailed commit history, see: v1.1.0...v1.2.1

🐛 Bug Reports & Feature Requests

Found a bug or have a feature request? Please open an issue on GitHub.

mjml-server v1.1.0

20 Jun 11:02
9c932ef

Choose a tag to compare

What's Changed

  • Add env support, HTTP Basic Auth and Improved CLI options by @mertemr in #2

Docker image

docker pull mactorient/mjml-server:1.1.0

Full Changelog: v1.0.0...v1.1.0