Packages

nodemailer

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

Upgrading nodemailer from 0.3.25 to 10.0.6

230 releases in betweennotes for 193

Other targets from 0.3.25Newest 0.x0.7.1Latest10.2.1
6+
changes to make
15
advisories fixed
79+
new
156+
fixes

Counted from 193 of 230 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

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

Security

Fixes 15 advisories affecting 0.3.25

  • 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.0.6

    11 Sep 20261 fix
    • fixed

      addressparser: scan free text for an address in linear time

  2. 10.0.5

    11 Sep 20261 fix
    • fixed

      addressparser: parse comment-joined addresses in linear time

  3. 10.0.4

    11 Sep 20265 fixes
    • fixed

      fetch: scope a cookie without a Path to the RFC 6265 default path

    • fixed

      fetch: send cookies set with Path back to the exact path

    • fixed

      mail-composer: keep httpHeaders and tls for href alternatives and icalEvent

    • fixed

      Resolve well-known services by their primary domains

    • fixed

      ses-transport: throw a configuration error when the SES client is missing

  4. 10.0.3

    10 Sep 20261 fix
    • fixed

      fetch: honor the cookie Domain attribute without accepting public suffixes (1608391), closes #1856

  5. 10.0.2

    9 Sep 20262 fixes
    • fixed

      mime-node: flatten nested recipient arrays without recursion

    • fixed

      shared: keep the TLS server name out of the DNS cache

  6. 10.0.1

    7 Sep 20262 fixes
    • fixed

      types: accept an explicit undefined for optional properties (209719d), closes #1853

    • fixed

      types: drop the internal members from the published declarations

  7. 10.0.0

    4 Sep 20262 new · 10 fixes
    • new

      Keep the @types/nodemailer type layout working

    • new

      Migrate to TypeScript with ES module and CommonJS builds

    • fixed

      Apply the other keys of a configuration object next to its url

    • fixed

      dkim: canonicalize raw messages the way verifiers do

  8. 9.1.1

    1 Sep 20263 fixes
    • fixed

      mailer: apply the message access policy in resolveContent

    • fixed

      mailer: keep message data from reopening the access sandbox

    • fixed

      mime-node: inherit the access policy from the tree a node hangs in

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.