Packages

nodemailer

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

Upgrading nodemailer from 0.1.21 to 10.2.1

284 releases in betweennotes for 213

Other targets from 0.1.21Newest 0.x0.7.1Clears its 15 advisories10.0.6
7+
changes to make
15
advisories fixed
85+
new
215+
fixes

Counted from 213 of 284 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • breaking10.2.1
  • breaking10.0.0
  • breaking9.0.0
  • breaking8.0.0
  • breaking7.0.0
  • breaking5.0.0
  • breaking0.5.6

Security

Fixes 15 advisories affecting 0.1.21

  • 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.2.1nothing new or fixed in the note

  2. 10.2.0

    21 Oct 20264 new · 2 fixes
    • new

      Add info.serverMessageId from the final 250 reply

    • new

      Add pendingCount() to the SMTP pool

    • new

      Make header value encoding public with MimeNode encodeHeaderValue()

    • new

      Mark SMTP errors as permanent or transient with err.permanent

    • fixed

      Label an ASCII message/rfc822 attachment 7bit instead of 8bit

    • fixed

      Report the recipients an LMTP server refuses after DATA in rejectedErrors

  3. 10.1.7

    18 Oct 20261 fix
    • fixed

      mime-funcs: encode parameter values that look like encoded words

  4. 10.1.6

    18 Oct 20261 fix
    • fixed

      addressparser: read groups in the same pass as the rest of the list

  5. 10.1.5

    18 Oct 20262 fixes
    • fixed

      addressparser: handle an address list without copying it per address

    • fixed

      addressparser: tokenize into offsets instead of an object per token

  6. 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

  7. 10.1.3

    18 Oct 20261 fix
    • fixed

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

  8. 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

114 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

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