# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [1.0.5] - 2026-12-04 ### Changed - **Automated Release-Based Email Fixtures Sync**: Replaced the `tests/fixtures` Git submodule with vendored email-only fixtures in `tests/fixtures/emails/` extracted from the `emails/` directory of [`mariozaizar/emails`](https://github.com/mariozaizar/emails) releases, added `scripts/sync_fixtures.sh` with SHA-256 checksum verification, added `.github/workflows/sync-fixtures.yml` to check weekly (or on demand) for new `mariozaizar/emails` releases and open Dependabot-style update PRs whenever fixture files change, preserved raw fixture line endings via `tests/fixtures/emails/** -text` in `.gitattributes`, and updated CI workflows, unit tests, and developer docs ([#36](https://github.com/mariozaizar/email.sublime-syntax/pull/36)). ## [1.0.4] - 2026-12-04 ### Changed - **Centralized Email Test Fixtures (`mariozaizar/emails@v1.0.0`)**: Replaced locally committed raw email fixtures in `tests/fixtures/` with the versioned [`mariozaizar/emails`](https://github.com/mariozaizar/emails) Git submodule mounted at `tests/fixtures` (pinned to `v1.0.0`, with categorized messages under `tests/fixtures/emails/`), updated plugin unit tests (adding `manifest.json` and multi-format fixture coverage), enabled `submodules: true` and full-corpus `bat` validation in CI/release workflows, excluded `.gitmodules` in `.gitattributes`, and updated developer documentation and scripts ([#35](https://github.com/mariozaizar/email.sublime-syntax/pull/35)). - **Documentation Cleanup**: Added a Pulsar FAQ (`language-eml`) to `README.md`, simplified screenshot headings and references to emails across docs, and removed redundant `---` horizontal rules across Markdown files ([#35](https://github.com/mariozaizar/email.sublime-syntax/pull/35)). ## [1.0.3] - 2026-12-02 ### Added - **Automated `bat-source` Release Branch**: Added a `sync-bat-source` job to `.github/workflows/release.yml` that publishes a `syntect`-compatible `bat-source` branch (`email.sublime-syntax`, `LICENSE.md`, and `README.md`, omitting the Sublime Text 4-only `email_qp.sublime-syntax` and routing quoted-printable HTML bodies to `scope:text.html.basic`) and validates it with `bat cache --build` on every release ([#34](https://github.com/mariozaizar/email.sublime-syntax/pull/34)). ## [1.0.2] - 2026-12-02 ### Changed - **README & Demo Screenshots**: Replaced the legacy single screenshot (`.github/demo.png`) with dedicated **Sublime Text 4 (Build 4215)** (`.github/ST4-demo.png`) and **`bat` (0.27.0)** (`.github/BAT-demo.png`) demo screenshots, refined README formatting/alt text, and updated Sublime Text 3 FAQ & sibling package references to point to `eml-tmLanguage` ([#33](https://github.com/mariozaizar/email.sublime-syntax/pull/33)). ## [1.0.1] - 2026-12-02 ### Fixed - **Conditional Context Menu & Command Visibility**: Scoped all email commands (`is_visible` and `is_enabled`) to `text.eml` views and active cursor context, and grouped right-click actions under a compact `Email` submenu so non-email files are never cluttered ([#32](https://github.com/mariozaizar/email.sublime-syntax/pull/32)). ### Changed - **Package Control Archive Hygiene**: Added `.gitattributes` `export-ignore` rules to exclude CI files, tests, helper scripts, and repository-only docs from Package Control release archives ([#32](https://github.com/mariozaizar/email.sublime-syntax/pull/32)). - **README & Documentation Alignment**: Updated README preview/demo imagery and links, aligned the minimum supported Sublime Text 4 baseline to Build 4143+ (covering `foldScopes`), and updated Package Control installation docs to reference the `EML (E-Mail)` package name ([#32](https://github.com/mariozaizar/email.sublime-syntax/pull/32)). ## [1.0.0] - 2026-12-01 First stable release of `email.sublime-syntax` for **Sublime Text 4** (Build 4077+) and **`bat`**, establishing a stable standard scope contract and consolidating the complete email highlighting, inspection, navigation, folding, and decoding toolkit built across the `0.x` series. ### Added - **In-Place Quoted-Printable Decoder**: Added `Email: Decode Quoted-Printable` to unwrap soft line breaks and decode `=XX` text/HTML bodies in place across selections or enclosing MIME parts, with declared-charset support, binary safeguards, a 76-character capped test fixture, and unit tests ([#31](https://github.com/mariozaizar/email.sublime-syntax/pull/31)). - **Sublime Text 4 Python 3.8 Plugin Host**: Pinned the package to Sublime Text 4's Python 3.8 plugin host with an automated Python 3.8 AST compatibility test ([#31](https://github.com/mariozaizar/email.sublime-syntax/pull/31)). - **User & Community Documentation**: Consolidated roadmap/backlog notes into a user-focused feature guide, split detailed setup instructions into an installation guide, added an accessibility guide following GitHub standards, and added a `v1.0.0` Package Control upgrade message ([#31](https://github.com/mariozaizar/email.sublime-syntax/pull/31)). ### Changed - **Refreshed README & Logo**: Redesigned the README in pure Markdown with a modern neon envelope icon, high-level highlights, single-command installation, and a concise FAQ ([#31](https://github.com/mariozaizar/email.sublime-syntax/pull/31)). - **Consistent Menu Ordering**: Alphabetically ordered all email actions across the Command Palette and context menu and simplified the Encoded-Words caption ([#31](https://github.com/mariozaizar/email.sublime-syntax/pull/31)). - **Governance & Release Docs**: Updated the MIT license (`2020-2026`), upgraded the Code of Conduct to Contributor Covenant v2.1, modernized the security policy around GitHub Private Vulnerability Reporting and a 90-day disclosure process, and streamlined the release guide to the automated merge workflow ([#31](https://github.com/mariozaizar/email.sublime-syntax/pull/31)). - **GitHub Workflows & Templates**: Hardened CI and release workflows with least-privilege permissions, concurrency guards, and safe environment-variable passing; expanded CodeQL to scan both `python` and `actions`; upgraded issue templates to YAML Issue Forms with security reporting links; batched Dependabot updates; and sanitized all `.eml` fixtures to remove PII ([#31](https://github.com/mariozaizar/email.sublime-syntax/pull/31)). ### Removed - **Pre-1.0 Planning Docs & Legacy Scanner**: Retired the pre-1.0 roadmap/backlog files and removed the deprecated OSSAR workflow in favor of native CodeQL scanning ([#31](https://github.com/mariozaizar/email.sublime-syntax/pull/31)). ## [0.11.1] - 2026-12-01 ### Changed - **Rename & Hide Internal Companion Syntax (`email_qp.sublime-syntax`)**: - Renamed `HTML (Quoted Printable).sublime-syntax` to `email_qp.sublime-syntax` so it sits cleanly alongside `email.sublime-syntax` without spaces or parentheses, and added `hidden: true` so Sublime Text collapses the `Email ▸` syntax submenu into a single top-level `Email` entry while keeping embedded Quoted-Printable HTML highlighting (`scope:text.html.basic.quoted-printable`) intact ([#30](https://github.com/mariozaizar/email.sublime-syntax/pull/30)). - **Hardened `bat` / `syntect` Tooling (`scripts/link_bat.sh`, `.github/workflows/syntax-tests.yml`, `README.md`)**: - Updated `scripts/link_bat.sh` with `set -euo pipefail`, automatic `bat`/`batcat` binary detection, actionable cross-platform install guidance, removal of unused empty `themes/` directory creation, and clean completion instructions matching `scripts/link_sublime.sh` instead of automatically opening a fixture preview ([#30](https://github.com/mariozaizar/email.sublime-syntax/pull/30)). - Updated `README.md` installation docs to note that `bat` ships `email.sublime-syntax` built in, provide a standard `curl` + `bat cache --build` override for installing the latest version without cloning, position `scripts/link_sublime.sh` and `scripts/link_bat.sh` as local development helpers, and document why `email_qp.sublime-syntax` is excluded from `bat` (`syntect` lacks ST4 `extends:` support) ([#30](https://github.com/mariozaizar/email.sublime-syntax/pull/30)). - Updated the CI `Test bat integration` workflow step to execute `./scripts/link_bat.sh` directly and render every fixture in `tests/fixtures/*.eml` through `bat` ([#30](https://github.com/mariozaizar/email.sublime-syntax/pull/30)). ### Added - **Quoted-Printable HTML Comparison Fixture (`tests/fixtures/quoted_printable_html.eml`)**: - Added a multipart fixture combining Quoted-Printable plain text, standard HTML, and Quoted-Printable HTML to make side-by-side manual verification in Sublime Text 4 vs. `bat` straightforward ([#30](https://github.com/mariozaizar/email.sublime-syntax/pull/30)). ## [0.11.0] - 2026-12-01 ### Added - **Structural Symbol Indexing (`Goto Symbol` / `Cmd+R` & `Cmd+Shift+R`)**: - Added `Preferences/Symbol List - Message-ID.tmPreferences` to index unique `Message-ID` values in both single-file `Goto Symbol` (`Cmd+R`) and project-wide `Goto Symbol in Project` (`Cmd+Shift+R`) ([#29](https://github.com/mariozaizar/email.sublime-syntax/pull/29)). - Added `Preferences/Symbol List - Parts.tmPreferences` to index `Content-Type` multipart containers (`Multipart: multipart/mixed`, `Multipart: multipart/alternative`) and MIME body parts (`Part: text/plain`, `Part: text/html`, etc.) ([#29](https://github.com/mariozaizar/email.sublime-syntax/pull/29)). - Added `Preferences/Symbol List - Implicit Parts.tmPreferences` with `body-content-default-implicit` fallback so MIME parts or plain messages omitting `Content-Type:` still surface as `Part: text/plain` ([#29](https://github.com/mariozaizar/email.sublime-syntax/pull/29)). - Added `Preferences/Symbol List - Attachments.tmPreferences` to index `Content-Type` headers declaring `name=` as `Attachment: ()` (e.g., `Attachment: text/plain ("report.txt")`, `Attachment: image/png ("sample_icon_64x64.png")`) without creating duplicate `Part:` entries ([#29](https://github.com/mariozaizar/email.sublime-syntax/pull/29)). - Added `Preferences/Symbol List - Hide.tmPreferences` to suppress Sublime Text's default `entity.name` and embedded symbol indexing (`Received:` domains, encoded-word charsets, diff `@@` hunks, HTML `#id`s, and embedded `