Skip to content

Releases: emailens/engine

Release list

v0.9.6

Choose a tag to compare

@Ouranos27 Ouranos27 released this 28 Jul 16:57
9032188

Added

  • Severity and BaseIssue exported types. Severity is the shared "error" | "warning" | "info" union used across every report; BaseIssue is the { rule; severity; message } shape that the analyzer issue types (SpamIssue, LinkIssue, AccessibilityIssue, …) now extend. Both are additive — the existing issue types keep the exact same structure.

Changed

  • Internal cleanup, no behavior change. The seven HTML analyzers now share one fromHtml() entry guard (empty-input + size-cap + parse) instead of repeating it; auditEmail() and EmailSession.audit() share a single runAudit() / EMPTY_AUDIT instead of duplicating the check list; removed unused type stubs, an unused CSSRule interface, and an unused compile() parameter. Public API and output are unchanged (all tests green).