Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 06:17
· 33 commits to master since this release
e2bb5c9

Added

  • Base64 In-Place Decoder Command (email_plugin.py):
    • Implemented EmailDecodeBase64Command (email_decode_base64) to decode single-line or multi-line Base64 payload blocks directly in-place across active selections or the block under cursor (#22).
    • Automatically detects contiguous meta.block.base64 lines around cursor when selection is empty (#22).
    • Includes safe decoding fallbacks (UTF-8, Latin-1, replacement chars) and binary guardrails to prevent buffer corruption from null bytes (#22).
    • Added Command Palette action in Default.sublime-commands (Email: Decode Base64) and context menu entry in Context.sublime-menu (#22).
  • Base64 Attachment Export Command (email_plugin.py):
    • Implemented EmailExportBase64Command (email_export_base64) to export binary Base64 payloads (images, PDFs, documents) or text directly to disk (#22).
    • Automatically parses and decodes suggested filenames from Content-Disposition or Content-Type parameters, and derives appropriate file extensions from the Content-Type MIME type via mimetypes (#22).
    • Limits file export availability to MIME parts with Content-Disposition: attachment via dynamic is_enabled and is_visible guards (#22).
    • Added Command Palette action in Default.sublime-commands (Email: Export Base64 Attachment to File) and context menu entry in Context.sublime-menu (#22).
  • Base64 Test Fixtures (tests/fixtures/base64_decode.eml):
    • Added sample fixture demonstrating single-line, multi-line, and binary attachment Base64 blocks for manual in-editor verification (#22).
  • Automated Base64 Plugin Unit Tests (tests/test_plugin.py):
    • Added test cases covering single-line, multi-line, unpadded strings, non-base64 passthrough, binary null-byte protection, raw byte decoding, and filename extraction (#22).

Changed

  • Task Backlog & Roadmap Modernization (ROADMAP.md, TODO.md):
    • Updated Base64 decoding goal to in-place decoding (Email: Decode Base64) matching the behavior of Email: Decode Encoded Words (#22).
    • Dropped redundant Email: Copy Decoded Subject goal (#22).