12 KiB
12 KiB
Changelog
2.7.4 (2026-03-17)
Bug Fixes
- add missing originalKey to Header type and Uint8Array to Attachment content (92cc91c)
- include originalKey in parsed headers output (83521c8)
- preserve __esModule and .default in CJS build for bundler interop (1466910)
- prevent RFC 2047 encoded-word address fabrication (844f920)
2.7.3 (2026-01-09)
Bug Fixes
- correct TypeScript type definitions to match implementation (b225d7c)
2.7.2 (2026-01-08)
Bug Fixes
- add null checks for contentType.parsed access (ad8f4c6)
- improve RFC compliance for MIME parsing (e004c3a)
2.7.1 (2025-12-22)
Bug Fixes
- Add null checks for contentDisposition.parsed access (fd54c37)
2.7.0 (2025-12-22)
Features
- add headerLines property exposing raw header lines (c79a02a)
2.6.1 (2025-11-26)
Bug Fixes
- prevent DoS from deeply nested address groups (f509eaf)
- update TypeScript typings to match source code (df5640a)
2.6.0 (2025-10-24)
Features
- add CommonJS build support for dual package compatibility (0ea3de3)
2.5.0 (2025-10-07)
Features
- add comprehensive type validation and TypeScript support (81a6467)
2.4.7 (2025-10-07)
Bug Fixes
- prevent email extraction from quoted strings in addressParser (837d679)
2.4.6 (2025-10-01)
Bug Fixes
- add security limits for MIME parsing (defbf11)
2.4.5 (2025-09-29)
Bug Fixes
- handle broken quoted-printable sequences and add prettier formatter (ec3bc64)
2.4.4 (2025-06-26)
Bug Fixes
- TextDecoder: Fall back to windows-1252 for an unknown charset instead of throwing (d5b917d)
2.4.3 (2025-01-24)
Bug Fixes
- TextDecoder: Do not reuse text decoders to avoid spilling data from one instance to another (8b1013e)
2.4.2 (2025-01-24)
Bug Fixes
- decodeWords: Better handling of decoded words (e0f0047)
2.4.1 (2025-01-05)
Bug Fixes
- ts: Tiny schema fix (f8761e6)
2.4.0 (2025-01-05)
Features
- attachments: Added new option 'attachmentEncoding' to return attachment content as a string, not arraybuffer (0f7e9df)
2.3.2 (2024-09-23)
Bug Fixes
- Modified README to trigger a new release (previous npm publish failed) (f975ef4)
2.3.1 (2024-09-23)
Bug Fixes
- message/rfc822: Added option 'forceRfc822Attachments' to handle all message/rfc822 nodes as attachments instead of inline content (bf47621)
2.3.0 (2024-09-23)
Features
- Treat message/rfc822 as an attachment for delivery-status and feedback-report (21e6224)
2.2.9 (2024-09-16)
Bug Fixes
- exports: Define 'default' exports as last for legacy compatibility (a9518c8)
2.2.8 (2024-09-14)
Bug Fixes
2.2.7 (2024-07-31)
Bug Fixes
- rfc822: Only inline message/rfc822 messages if Content-Disposition is (53024de)
2.2.6 (2024-07-09)
Bug Fixes
- types: Updated type for attachment.content to ArrayBuffer (191524f)
2.2.5 (2024-04-11)
Bug Fixes
- types: Fixed Address type (57908e4)
2.2.4 (2024-04-11)
Bug Fixes
- exports: Export addressParser and decodeWords functions (43d3187)
2.2.3 (2024-04-11)
Bug Fixes
- attachments: Added description key from Content-Description attachment header (6e29de9)
- calendar-attachments: treat text/calendar as an attachment (2196b49)
2.2.2 (2024-04-10)
Bug Fixes
- parse: Do not throw on empty input when initializing an array buffer object (ddae5b4)
2.2.1 (2024-03-31)
Bug Fixes
- parser: Reply-To value must be an array, not a single address object (280bd8d)
2.2.0 (2024-03-26)
Features
- interface: Added statis parse() method to simplify usage (
await PostalMime.parse(email)) (c2faa27)
2.1.2 (2024-02-29)
Bug Fixes
2.1.1 (2024-02-26)
Bug Fixes
- types: Updated types for PostalMime (bc90f6d)
2.1.0 (2024-02-22)
Features
- workers: Support Cloudflare Email Workers out of the box (4904708)
Bug Fixes
2.0.2 (2023-12-08)
Bug Fixes
2.0.1 (2023-11-05)
Bug Fixes
- npm: DO not ignore src folder when publishing to npm (ef8a2df)
2.0.0 (2023-11-03)
⚠ BREAKING CHANGES
- module: Use as an ES module, do not build with webpack
Features
- module: Use as an ES module, do not build with webpack (70df152)