mailparser breaking changes
Updated December 4, 2026
On this page
Latest version 3.15.2, released December 2, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
mailparser 3.14.0 breaking changes
- Signature changed
default
Was const _default: {MailParser: typeof MailParser; simpleParser: typeof simpleParser; parseAddressHeader: typeof parseAddressHeader;}; now const _default: {MailParser: typeof MailParser; simpleParser: typeof simpleParser... npmjs.com
mailparser 3.12.3 breaking changes
- Behavior changed
The headers map no longer keeps the comments of a Content-Type or Content-Disposition header. Code that reads those values from the headers map must not depend on the comments being present. github.com
mailparser 3.12.1 breaking changes
- Behavior changed
parseAddressHeader
The html and text forms of parsed address headers are built only when read instead of eagerly. Code that relies on them being precomputed should read them normally, which still works. github.com
mailparser 3.11.0 breaking changes
- Behavior changed
Text bodies are decoded differently in this release, so code that reads decoded text may see different output. github.com - Signature changed
default
Was const _default: {MailParser: typeof MailParser; simpleParser: typeof simpleParser;}; now const _default: {MailParser: typeof MailParser; simpleParser: typeof simpleParser; parseAddressHeader: typeof parseAddressHeader;}. npmjs.com - Signature changed
lib/stream-hash:default.algo
Was algo: string; now algo: string | false. npmjs.com - Signature changed
lib/stream-hash:default.constructor
Was constructor(attachment: HashTarget, algo?: string); now constructor(attachment: HashTarget, algo?: string | false). npmjs.com - Signature changed
lib/stream-hash:default.hash
Was hash: crypto.Hash; now hash: crypto.Hash | null. npmjs.com - Signature changed
MailParserOptions.checksumAlgo
Was checksumAlgo?: string; now checksumAlgo?: string | false. npmjs.com
mailparser 3.10.0 breaking changes
- Removed
AttachmentCommon.checksum
AttachmentCommon.checksum was removed in mailparser 3.10.0 npmjs.com - Removed
AttachmentCommon.content
AttachmentCommon.content was removed in mailparser 3.10.0 npmjs.com - Removed
AttachmentCommon.headerLines
AttachmentCommon.headerLines was removed in mailparser 3.10.0 npmjs.com - Removed
AttachmentCommon.size
AttachmentCommon.size was removed in mailparser 3.10.0 npmjs.com - Removed
MailParserOptions.keepCidLinks
MailParserOptions.keepCidLinks was removed in mailparser 3.10.0 npmjs.com - Removed
ParsedMail.priority
ParsedMail.priority was removed in mailparser 3.10.0 npmjs.com - Signature changed
Attachment.related
Was related: boolean; now related?: boolean. npmjs.com - Signature changed
AttachmentCommon.cid
Was cid?: string | undefined; now cid?: string. npmjs.com - Signature changed
AttachmentCommon.contentDisposition
Was contentDisposition?: string | undefined; now contentDisposition?: string. npmjs.com - Signature changed
AttachmentCommon.contentId
Was contentId?: string | undefined; now contentId?: string. npmjs.com
And 43 more in this version. Sign up to see every change
mailparser 3.9.16 breaking changes
- Behavior changed
Text bodies are now scanned for links with a bounded limit, which may change how links are detected in very large bodies. github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
mailparser 3.0.0 breaking changes
- Signature changed
AttachmentCommon.cid
Was cid?: string; now cid?: string | undefined. npmjs.com - Signature changed
AttachmentCommon.contentId
Was contentId?: string; now contentId?: string | undefined. npmjs.com
And 22 more in this version.
mailparser 2.0.0 breaking changes
- Removed
Attachment.fileName
Attachment.fileName was removed in mailparser 2.0.0 npmjs.com - Removed
Attachment.generatedFileName
Attachment.generatedFileName was removed in mailparser 2.0.0 npmjs.com
And 17 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.