Packages

nodemailer

10.2.1 · 22 Oct 2026MIT-023.7M / weekRepositoryHomepagenpmAtom feed

Upgrading nodemailer from 6.3.0 to 10.1.4

111 releases in betweennotes for 45

Other targets from 6.3.0Newest 6.x6.10.1Latest10.2.1
7.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
3+
changes to make
24
advisories fixed
8+
new
133+
fixes

Counted from 45 of 111 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking10.0.0
  • breaking9.0.0
  • breaking8.0.0

Security

Fixes 24 advisories affecting 6.3.0

  • Two pending security advisories (jsonTransport access bypass, List-* CRLF injection)

    8.0.9
  • Sanitize CRLF in transport name option to prevent SMTP command injection (GHSA-vvjj-xcjg-gr5g)

    8.0.5
  • Sanitize envelope size to prevent SMTP command injection

    8.0.4

Release by release

  1. 10.1.4

    18 Oct 20269 fixes
    • fixed

      addressparser: apply the unexpected "<" rule outside quotes and comments

    • fixed

      addressparser: bound group nesting at ten levels

    • fixed

      addressparser: drop the obsolete route from an angle-addr

    • fixed

      addressparser: end a comment only at the ")" that closes the outermost one

  2. 10.1.3

    18 Oct 20261 fix
    • fixed

      Format References and strip URLs in linear time, release any number of streams

  3. 10.1.2

    16 Oct 20261 fix
    • fixed

      Bound the work a message can make the mailer do and keep per-message auth off the transport's token endpoint

  4. 10.1.1

    14 Oct 20261 fix
    • fixed

      fetch: strip credentials on any cross-origin redirect

  5. 10.1.0

    10 Oct 20262 new · 11 fixes
    • new

      Harden message streams, SMTP connections and the connection pool

    • new

      Encode base64 and quoted-printable without per-chunk delays

    • fixed

      Do not read the environment or the interface table on import

    • fixed

      End the SMTP session on any 421 reply and drive the envelope through one step

  6. 10.0.16

    7 Oct 20263 fixes
    • fixed

      addressparser: keep an escaped parenthesis inside a comment

    • fixed

      fetch: keep the case of cookie names

    • fixed

      fetch: read the cookie name-value pair by position

  7. 10.0.15

    5 Oct 20262 fixes
    • fixed

      errors: inherit NodemailerError code from ErrnoException (e99db61), closes #1884

    • fixed

      errors: keep NodemailerError compatible with @types/node 26 ErrnoException

  8. 10.0.14

    3 Oct 20266 fixes
    • fixed

      addressparser: keep a quoted display name that holds no "@" out of the address

    • fixed

      addressparser: keep the group recursion depth out of the options object

    • fixed

      addressparser: stop a "[" from hiding the operators after it

    • fixed

      dkim: trim a header field name in linear time

    • fixed

      mime-funcs: read and write header parameters per rfc2045 and rfc2231

    • fixed

      Search only the new bytes for the end of the proxy CONNECT response

1 internal line (docs, tests, tooling) left out.