This release introduces CssInliner – a brand-new component that brings CSS-to-inline-style conversion directly into Nette Mail. The minimum PHP version has been raised to 8.2, and static analysis is now a mandatory part of the build pipeline.
-
Minimum PHP version raised from 8.0 to 8.2 – time to upgrade if you haven't already
-
Improved PHPDoc types and descriptions for better IDE support and static analysis accuracy
-
CssInliner – converts
<style>rules into inlinestyleattributes, making your HTML emails render consistently across email clients. Features a single-regex tokenizer, full CSS nesting support,Dom\HTMLDocumentselector matching (PHP 8.4+), and automatic Outlook-compatible HTML attribute generation (bgcolor,width,align, etc.).<style>tags are preserved so@mediaqueries keep working.