Skip to content

[DEPS] upgrade to MJML v5#114

Merged
Freezystem merged 2 commits intomainfrom
nico/deps/mjml-5
Apr 16, 2026
Merged

[DEPS] upgrade to MJML v5#114
Freezystem merged 2 commits intomainfrom
nico/deps/mjml-5

Conversation

@Freezystem
Copy link
Copy Markdown
Owner

@Freezystem Freezystem commented Mar 4, 2026

On hold while waiting for mjmlio/mjml#2858 to be merged and MJML v5 to be released.

@Freezystem Freezystem force-pushed the nico/deps/mjml-5 branch 2 times, most recently from 87440fc to bf0c3c7 Compare April 3, 2026 11:09
@Freezystem Freezystem added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 3, 2026
@Freezystem Freezystem force-pushed the nico/deps/mjml-5 branch 4 times, most recently from 185622a to 5fd8f0c Compare April 12, 2026 13:15
simplify and improve jsonToXML performance

Refactor jsonToXML to improve attribute and content handling

Update the builder logic to support boolean attributes, prevent empty
content rendering for null/undefined values, and improve performance by
using an array buffer instead of string concatenation.

Refactor and expand jsonToXML test suite

Update attribute handling logic to correctly filter undefined values and
support boolean-style attributes when the value is an empty string.

Escape attribute values in jsonToXML to prevent XSS

Add test case for URL and hex color escaping in jsonToXML

upgrade typescript to v6
@Freezystem Freezystem merged commit 3070655 into main Apr 16, 2026
5 checks passed
@Freezystem Freezystem deleted the nico/deps/mjml-5 branch April 16, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant