---
title: "postal-mime 4.2.1 Breaking Changes on npm | Since.dev"
description: "What each postal-mime release removed, renamed or changed: 46 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/postal-mime
last_updated: 2026-12-04
---

# 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

Latest version `4.2.1`, released November 10, 2026. [Source repository](https://github.com/postalsys/postal-mime)

Its 4.0.0 release requires [Node.js 20](https://since.dev/calendar/nodejs/20.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.0.0](#v-4-0-0) to [4.2.1](#v-4-2-1): 7 breaking changes in 3 versions.

## postal-mime 4.2.1 breaking changes

postal-mime 4.2.1, released November 10, 2026: 1 breaking change.

- **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](https://github.com/postalsys/postal-mime/releases/tag/v4.2.1)

## postal-mime 4.2.0 breaking changes

postal-mime 4.2.0, released October 29, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/postal-mime/v/4.2.0)

## postal-mime 4.1.4 breaking changes

postal-mime 4.1.4, released October 22, 2026: 5 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](https://github.com/postalsys/postal-mime/releases/tag/v4.1.4)
- **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](https://github.com/postalsys/postal-mime/releases/tag/v4.1.4)
- **Behavior changed**  

format=flowed unfolding now applies only to text/plain parts, so other parts keep their original line breaks. [github.com](https://github.com/postalsys/postal-mime/releases/tag/v4.1.4)
- **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](https://github.com/postalsys/postal-mime/releases/tag/v4.1.4)
- **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](https://github.com/postalsys/postal-mime/releases/tag/v4.1.4)

## postal-mime 4.0.0 breaking changes

postal-mime 4.0.0, released September 26, 2026: 39 breaking changes.

- **Removed**  

Node.js 18 is no longer supported. Run the package on Node.js 20 or newer. [github.com](https://github.com/postalsys/postal-mime/releases/tag/v4.0.0)
- **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](https://github.com/postalsys/postal-mime/releases/tag/v4.0.0)
- **Behavior changed** `addressParser`  

The internal \_depth option is gone, so options forwarded to addressParser can no longer lift the nested group limit. [github.com](https://github.com/postalsys/postal-mime/commit/2559c820af2553d9166af586868ec636ea69e820)
- **Signature changed** `Address`  

Was type Address = | Mailbox | {name: string; address?: undefined; group: Mailbox\[\];}; now type Address = Mailbox | AddressGroup. [npmjs.com](https://www.npmjs.com/package/postal-mime/v/4.0.0)
- **Signature changed** `AddressParserOptions`  

Was type AddressParserOptions = {flatten?: boolean;}; now type AddressParserOptions = {flatten?: boolean | undefined;}. [npmjs.com](https://www.npmjs.com/package/postal-mime/v/4.0.0)
- **Signature changed** `AddressParserOptions.flatten`  

Was flatten?: boolean; now flatten?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/postal-mime/v/4.0.0)
- **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](https://www.npmjs.com/package/postal-mime/v/4.0.0)
- **Signature changed** `Attachment.contentId`  

Was contentId?: string; now contentId?: string | undefined. [npmjs.com](https://www.npmjs.com/package/postal-mime/v/4.0.0)
- **Signature changed** `Attachment.description`  

Was description?: string; now description?: string | undefined. [npmjs.com](https://www.npmjs.com/package/postal-mime/v/4.0.0)
- **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](https://www.npmjs.com/package/postal-mime/v/4.0.0)

And 29 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
