Skip to content

chore: version packages - #158

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: version packages#158
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@e4a/pg-js@2.4.0

Minor Changes

  • 5fd30b7: Export the MIME reader, PostGuard detection and the archival armor readers, so both add-ins read the envelope through one implementation instead of two hand-rolled copies.

    New exports: parseDecryptedMime, readMimeHeader, bodyFromMime, isMultipart, detectPostGuard, extractArmoredCiphertext, looksLikeArmoredPostGuard, POSTGUARD_ENCRYPTED_FILENAME, and the ParsedMessage / ParsedAttachment / DetectPostGuardInput types. Additive only — no existing signature changes.

    Two fixes came out of the move:

    • Quoted-printable bodies with non-ASCII characters were decoded wrong. Each =XX was mapped through String.fromCharCode, giving one character per octet, so caf=C3=A9 read back as café rather than café. The byte path compounded it by re-encoding that as UTF-8, doubling every octet above 0x7f and silently corrupting quoted-printable attachments. Octets are now collected and decoded once.
    • extractCiphertext's documentation claimed it read "attachment or armored body". It has only ever read the attachment. The armor path is now a separate, explicitly archival export, which is what COMPATIBILITY.md's never-drops guarantee for stored artifacts actually requires.

postguard-outlook-addin@1.0.1

Patch Changes

  • Updated dependencies [5fd30b7]
    • @e4a/pg-js@2.4.0

postguard-tb-addon@0.9.5

Patch Changes

  • Updated dependencies [5fd30b7]
    • @e4a/pg-js@2.4.0

postguard-website@1.8.3

Patch Changes

  • Updated dependencies [5fd30b7]
    • @e4a/pg-js@2.4.0

@dobby-coder
dobby-coder Bot requested a review from Iso5786 July 30, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants