Skip to content

chore(master): release 5.3.3 - #103

Merged
andris9 merged 1 commit into
masterfrom
release-please--branches--master--components--imapkit
Nov 29, 2026
Merged

andris9 merged 1 commit into
masterfrom
release-please--branches--master--components--imapkit

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

5.3.3 (2026-11-29)

Summary

ENVELOPE (and the other parsed header values) now unfold folded header fields as RFC 5322 section 2.2.3 says: only the line break is removed and the whitespace around it is kept. A subject folded as a\r\n \tb is now a \tb instead of a b, the same value mail parsers such as mailparser return.

Who should upgrade

  • Anyone comparing ENVELOPE subjects with a MIME parser's view of the same message. Before this release they differed for folded subjects with more than one whitespace character at the fold.
  • No hurry otherwise. SORT and THREAD still normalize whitespace for the base subject as RFC 5256 requires.

Highlights

  • Folded Subject, Date, Message-ID and In-Reply-To values keep their original spacing in ENVELOPE.
  • Found with the synthetic email corpus: 7 of 11,637 messages had subjects that differed between ImapKit's ENVELOPE and the corpus oracle, now 0.

Bug Fixes

  • unfold header fields by removing only the CRLF (RFC 5322 2.2.3) (9328f5e)
  • unfold header fields by removing only the CRLF (RFC 5322 2.2.3) (3d01291)

This PR was generated with Release Please. See documentation.

@andris9
andris9 merged commit 037e5e7 into master Nov 29, 2026
1 check passed
@github-actions

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant