Packages

nodemailer

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

Upgrading nodemailer from 6.0.0 to 10.1.4

115 releases in betweennotes for 111

Other targets from 6.0.0Newest 6.x6.10.1Latest10.2.1
4+
changes to make
24
advisories fixed
30+
new
182+
fixes

Counted from 111 of 115 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
  • breaking7.0.0

Security

Fixes 24 advisories affecting 6.0.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
  • ReDoS vulnerability in parseDataURI and _processDataUrl

    7.0.6
  • security: Fix issues described in GHSA-9h6g-pr28-7cqp. Do not use eternal matching pattern if only a few occurences are expected

    6.9.9

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

24 other lines we could not sort, mostly version bumps
  • Renamed SendinBlue to Brevo

    6.9.4
  • Specified license identifier (was defined as MIT, actual value MIT-0)

    6.9.3
  • If SMTP server disconnects with a message, process it and include as part of the response error

    6.9.3
  • Include EHLO extensions in the send response

    6.9.0
  • Resolver fixes

    6.7.7
  • No changes, pushing a new README to npmjs.org

    6.7.5
  • Replaced Travis with Github Actions

    6.7.4
  • Update Outlook/Hotmail host in well known services (popod)

    6.7.3
  • Updated DNS resolving logic. If there are multiple responses for a A/AAAA record, then loop these randomly instead of only caching the first one

    6.7.0
  • Replaced Object.values() and Array.flat() with polyfills to allow using Nodemailer in Node v6+

    6.6.5

4 internal lines (docs, tests, tooling) left out.