Skip to content

v0.2.4

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 09:29
· 2 commits to master since this release
2ed54cb

Added

.mbox Support, MBOX Envelopes & First-Line Auto-Detection

  • Added mbox to fileTypes, firstLineMatch (matching MBOX From envelopes and standard RFC 5322 headers for extensionless Maildir/email files), and RFC 4155 From <sender> <timestamp> MBOX envelope highlighting with multi-message boundary resets (tests/syntax_test_mbox.eml) in email.YAML-tmLanguage / email.tmLanguage (#12).

Expanded Embedded Language Routing

  • Added embedded JSON highlighting (application/json, text/json, *+json → source.json), AMP HTML routing (text/x-amp-html → text.html.basic), and application/x-patch diff routing (source.diff) across root and multipart MIME parts with syntax test coverage (#12).

Address Display Names & Null Bounce Paths

  • Added unquoted display-name highlighting (string.unquoted.display-name.eml) before <user@domain> and empty bounce path highlighting (Return-Path: <> as constant.language.null-sender.eml) in headers (#12).

Automated Email Fixtures Sync (scripts/sync_fixtures.sh, .github/workflows/sync-fixtures.yml)

  • Syncs the categorized email fixture corpus from mariozaizar/emails release archives into tests/fixtures/emails/ with SHA-256 checksum verification and opens Dependabot-style PRs weekly (or on demand) when fixture files change (#12).

Encoded-Words Hover Preview (RFC 2047)

  • Scoped RFC 2047 encoded-words as meta.encoded-word.eml and added EmailViewListener.hover_encoded_word in email_plugin.py to preview decoded Unicode text on hover (including folded multi-line headers and RFC 2231 *lang charset tags) (#12).

Release Version Ceiling Guard (< v0.3.0)

  • Added a < v0.3.0 (0.2.x-only) version ceiling rule in AGENTS.md, RELEASE.md, and .github/workflows/release.yml so Sublime Text 3 releases never collide with Sublime Text 4 (v0.3.0+) Package Control routing (#12).

Changed

RFC 5322 Header Grouping & ID Scoping

  • Grouped header field name scopes into MIME & delivery headers (keyword.other.eml), authentication & security headers (support.type.header.eml, covering all ARC-* headers), custom X-* headers (entity.other.attribute-name.header.eml), and standard/generic headers (entity.name.tag.header.eml), scoped <id@domain> tokens in In-Reply-To, References, and Content-ID as entity.name.label.eml, and updated syntax test assertions across tests/syntax_test_*.eml (#12).

Reply-Quoted Lines (> ...)

  • Updated #plaintext-blockquote to highlight full reply-quoted lines (including nested > > quotes) as markup.quote.eml comment.line.quote.eml with punctuation.definition.comment.eml markers (#12).

Compact Date Hover Preview

  • Updated EmailViewListener.hover_datetime in email_plugin.py to display concise Mon DD, YYYY HH:MM AM/PM Local (with relative time, e.g., 6 days ago) and UTC timestamps, including support for MBOX asctime envelope timestamps (#12).

Centralized Email Fixtures (tests/fixtures/emails/)

  • Replaced locally maintained flat fixtures in tests/fixtures/*.eml with the categorized emails/ corpus from mariozaizar/emails@v1.0.0, preserved raw line endings via tests/fixtures/emails/** -text in .gitattributes, and updated unit tests and developer documentation (#12).

README & Documentation Refresh

  • Refreshed README.md structure and formatting (moved Highlights before Screenshots, converted FAQ and References to nested bullet lists, added zed-email under sibling packages), removed redundant --- horizontal rules across Markdown docs, and removed backtick formatting around bat in README.md and INSTALL.md (#12).

Removed

Obsolete text/watch-html Routing

  • Removed text/watch-html from HTML MIME routing in email.YAML-tmLanguage / email.tmLanguage and FEATURES.md (#12).

Fixed

Multi-Line Base64 Hover Previews & Image Format Fallback

  • Updated EmailViewListener.hover_base64 in email_plugin.py to expand across all contiguous body Base64 lines via extract_base64_region (fixing truncated/broken image previews caused by per-line .tmLanguage Base64 scoping), removed the stray space after base64, in inline data: image URIs, and added a clean MIME/size fallback popup for image formats Sublime Text 3 minihtml cannot render inline (WebP, BMP, ICO, SVG) (#12).