Skip to content

Releases

v3.15.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 09:36
6608f9d

3.15.0 (2026-11-20)

Features

  • defaultTextCharset option for text bodies that name no charset (872c2de), closes #480

Bug Fixes

v3.14.5

Choose a tag to compare

@github-actions github-actions released this 16 Nov 07:02
5e635d3

3.14.5 (2026-11-16)

Summary

Link detection in plain text bodies (textAsHtml) moves to linkify-it 6. The configuration mailparser relied on is kept, and a custom rule keeps quoted addresses and file paths from turning into broken mailto: links.

Who should upgrade

Everyone using textAsHtml, at your convenience. Links found in ordinary mail are the same as before, with a few improvements listed below.

Highlights

  • Links without a scheme (example.com, www.example.org), IP hosts, .onion, git: links and @mentions are found as before, and user:pass@ stays part of a URL.
  • Closing quotes and guillemets after a URL are no longer included in the link.
  • URLs with bracketed IPv6 hosts (https://[2001:db8::1]:8080/) are now linked.
  • href="mailto:bob@example.org" in a text body links mailto:bob@example.org instead of including the attribute name.
  • A schemaless host with a port (example.com:8080/x) is no longer linked; linkify-it 6 refuses that form on purpose.

Bug Fixes

  • move link detection to linkify-it 6 (6527e91)

v3.14.4

Choose a tag to compare

@github-actions github-actions released this 15 Nov 20:50
b57f47d

3.14.4 (2026-11-15)

Bug Fixes

v3.14.3

Choose a tag to compare

@github-actions github-actions released this 10 Nov 09:40
eaffc16

3.14.3 (2026-11-10)

Bug Fixes

v3.14.2

Choose a tag to compare

@github-actions github-actions released this 04 Nov 13:24
f812318

3.14.2 (2026-11-04)

Bug Fixes

v3.14.1

Choose a tag to compare

@github-actions github-actions released this 29 Oct 12:36
fdeb800

3.14.1 (2026-10-29)

Bug Fixes

v3.14.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 12:26
d949017

3.14.0 (2026-10-29)

Features

  • export parseOtpToken for OTP-Token values read outside the parser (fda26b2)

v3.13.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 07:58
22f1c63

3.13.0 (2026-10-29)

Summary

mailparser now reads the OTP-Token header (draft-goto-otp-token), the header Nodemailer 10.3.0 sets with its otp option, and exposes the one-time passcode as otp: { code, origin } on the simpleParser result and on the MailParser instance. Parsing follows the same rules as PostalMime.

Who should upgrade

No hurry. Upgrade if you want to read one-time passcodes from incoming mail.

Highlights

  • New otp property, set only when the message header has exactly one valid OTP-Token header with a canonical https origin (or an http origin on a loopback host). Headers in MIME parts or forwarded messages are ignored.
  • The header is not authenticated: check that the message has a valid DKIM signature from the domain of the origin before offering the code.
  • otp is experimental and may change in a minor release when the draft does.
  • Dependency update: nodemailer 10.3.0.

Features

  • parse the OTP-Token header into mail.otp (bc20682)

Bug Fixes

v3.12.4

Choose a tag to compare

@github-actions github-actions released this 22 Oct 16:21
79bbbfc

3.12.4 (2026-10-22)

Bug Fixes

v3.12.3

Choose a tag to compare

@github-actions github-actions released this 22 Oct 13:04
ff4188e

3.12.3 (2026-10-22)

Bug Fixes

  • deps: bump mailsplit to 5.4.28 and libmime to 5.6.3 (996a18f)
  • deps: bump mailsplit to 5.4.29, which reads an RFC 2231 filename the same way (7ccd32b)
  • drop the comments of a Content-Type or Content-Disposition in the headers map (eaf345b)
  • tell an RFC 2231 parameter apart by what libmime decoded, not by a second scan of the header (eba8da2)