postal-mime breaking changes
postal-mime 4.2.1 (November 10, 2026) is its newest release with breaking changes. The first: Behavior changed from.address. Every breaking API change we have recorded in postal-mime on npm: 46 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.2.1, released November 10, 2026. Source repository
Its 4.0.0 release requires Node.js 20 or later. Node.js end of life dates.
postal-mime 4.2.1 breaking changes
- Behavior changed
from.address
Whitespace or a comment next to a dot in a sender domain is now treated as folding whitespace, so the domain continues past it. Code that relied on the old split must be updated. github.com
postal-mime 4.2.0 breaking changes
- Signature changed
Email
Was type Email = {headers: Header[]; headerLines: HeaderLine[]; from?: Address | undefined; sender?: Address | undefined; replyTo?: Address[] | undefined; deliveredTo?: string | undefined; returnPath?: string | undefined; to?: Address[] |... npmjs.com
postal-mime 4.1.4 breaking changes
- Behavior changed
Encoded message/rfc822 parts are now returned as attachments, so code that reads them as inline content will see different results. github.com - Behavior changed
Messages labelled with other utf-16 charset names are no longer decoded as utf-16, so their decoded text may change. github.com - Behavior changed
format=flowed unfolding now applies only to text/plain parts, so other parts keep their original line breaks. github.com - Behavior changed
Header parsing now stops at the first line that is neither a header field nor a continuation fold, so text after that line is no longer read as headers. github.com - Behavior changed
maxPartCount
Passing maxPartCount as zero is now refused as an invalid option instead of being accepted. Code that passes zero must use a positive value. github.com
postal-mime 4.0.0 breaking changes
- Removed
Node.js 18 is no longer supported. Run the package on Node.js 20 or newer. github.com - Renamed
Browser code that imported the file from src/postal-mime.js in node_modules must use the new path. Imports by package name are unaffected. github.com - Behavior changed
addressParser
The internal _depth option is gone, so options forwarded to addressParser can no longer lift the nested group limit. github.com - Signature changed
Address
Was type Address = | Mailbox | {name: string; address?: undefined; group: Mailbox[];}; now type Address = Mailbox | AddressGroup. npmjs.com - Signature changed
AddressParserOptions
Was type AddressParserOptions = {flatten?: boolean;}; now type AddressParserOptions = {flatten?: boolean | undefined;}. npmjs.com - Signature changed
AddressParserOptions.flatten
Was flatten?: boolean; now flatten?: boolean | undefined. npmjs.com - Signature changed
Attachment
Was type Attachment = {filename: string | null; mimeType: string; disposition: 'attachment' | 'inline' | null; related?: boolean; description?: string; contentId?: string; method?: string; rfc822DepthExceeded?: boolean; content... npmjs.com - Signature changed
Attachment.contentId
Was contentId?: string; now contentId?: string | undefined. npmjs.com - Signature changed
Attachment.description
Was description?: string; now description?: string | undefined. npmjs.com - Signature changed
Attachment.disposition
The type now accepts any Content-Disposition token. Code that assigns the value to the old narrower type must widen it. npmjs.com
And 29 more in this version. Sign up to see every change
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.