Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 7, 2025

Bumps nodemailer from 6.9.9 to 7.0.7.

Release notes

Sourced from nodemailer's releases.

v7.0.7

7.0.7 (2025-10-05)

Bug Fixes

  • addressparser: Fixed addressparser handling of quoted nested email addresses (1150d99)
  • dns: add memory leak prevention for DNS cache (0240d67)
  • linter: Updated eslint and created prettier formatting task (df13b74)
  • refresh expired DNS cache on error (#1759) (ea0fc5a)
  • resolve linter errors in DNS cache tests (3b8982c)

v7.0.6

7.0.6 (2025-08-27)

Bug Fixes

  • encoder: avoid silent data loss by properly flushing trailing base64 (#1747) (01ae76f)
  • handle multiple XOAUTH2 token requests correctly (#1754) (dbe0028)
  • ReDoS vulnerability in parseDataURI and _processDataUrl (#1755) (90b3e24)

v7.0.5

7.0.5 (2025-07-07)

Bug Fixes

  • updated well known delivery service list (fa2724b)

v7.0.4

7.0.4 (2025-06-29)

Bug Fixes

  • pools: Emit 'clear' once transporter is idle and all connections are closed (839e286)
  • smtp-connection: jsdoc public annotation for socket (#1741) (c45c84f)
  • well-known-services: Added AliyunQiye (bb9e6da)

v7.0.3

7.0.3 (2025-05-08)

Bug Fixes

  • attachments: Set the default transfer encoding for message/rfc822 attachments as '7bit' (007d5f3)

v7.0.2

7.0.2 (2025-05-04)

... (truncated)

Changelog

Sourced from nodemailer's changelog.

7.0.7 (2025-10-05)

Bug Fixes

  • addressparser: Fixed addressparser handling of quoted nested email addresses (1150d99)
  • dns: add memory leak prevention for DNS cache (0240d67)
  • linter: Updated eslint and created prettier formatting task (df13b74)
  • refresh expired DNS cache on error (#1759) (ea0fc5a)
  • resolve linter errors in DNS cache tests (3b8982c)

7.0.6 (2025-08-27)

Bug Fixes

  • encoder: avoid silent data loss by properly flushing trailing base64 (#1747) (01ae76f)
  • handle multiple XOAUTH2 token requests correctly (#1754) (dbe0028)
  • ReDoS vulnerability in parseDataURI and _processDataUrl (#1755) (90b3e24)

7.0.5 (2025-07-07)

Bug Fixes

  • updated well known delivery service list (fa2724b)

7.0.4 (2025-06-29)

Bug Fixes

  • pools: Emit 'clear' once transporter is idle and all connections are closed (839e286)
  • smtp-connection: jsdoc public annotation for socket (#1741) (c45c84f)
  • well-known-services: Added AliyunQiye (bb9e6da)

7.0.3 (2025-05-08)

Bug Fixes

  • attachments: Set the default transfer encoding for message/rfc822 attachments as '7bit' (007d5f3)

7.0.2 (2025-05-04)

Bug Fixes

  • ses: Fixed structured from header (faa9a5e)

7.0.1 (2025-05-04)

Bug Fixes

  • ses: Use formatted FromEmailAddress for SES emails (821cd09)

... (truncated)

Commits
  • 9357a71 chore(master): release 7.0.7 [skip-ci] (#1761)
  • df13b74 fix(linter): Updated eslint and created prettier formatting task
  • 62629a0 Updated tests for addressparser
  • 1150d99 fix(addressparser): Fixed addressparser handling of quoted nested email addre...
  • 3b8982c fix: resolve linter errors in DNS cache tests
  • 0240d67 fix(dns): add memory leak prevention for DNS cache
  • ea0fc5a fix: refresh expired DNS cache on error (#1759)
  • 430ca75 chore(master): release 7.0.6 [skip-ci] (#1753)
  • e3e700c Bumped deps
  • f322c38 replaced escaped single quotes with unescaped ones
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by CodeRabbit

  • Chores
    • Updated the email delivery dependency to the latest major version.
    • Ensures improved compatibility with current environments.
    • No changes to public interfaces or user workflows detected.
    • No other functional changes included.

Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.9.9 to 7.0.7.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](nodemailer/nodemailer@v6.9.9...v7.0.7)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 7.0.7
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 7, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 7, 2025

Walkthrough

Dependency version upgrade in package.json: nodemailer updated from ^6.9.4 to ^7.0.7 in dependencies and peerDependencies. No source code or control-flow changes.

Changes

Cohort / File(s) Summary
Dependency updates
package.json
Bump nodemailer from ^6.9.4 to ^7.0.7 in dependencies and peerDependencies.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • leonid-shevtsov

Poem

A carrot of versions, crisp and new,
I hop through fields of deps to chew.
Nodemailer grew—v7 in sight,
My whiskers twitch with upgrade delight.
Thump-thump, commit approved—so bright! 🥕✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The pull request description does not follow the repository’s required template, omitting all mandatory sections such as Motivation, Changes, How to test, and Images and GIFs, and only provides a brief upgrade note and release details. Please update the description to include the Motivation for this dependency bump, a bullet list of Changes, specific testing steps under How to test, and any relevant visual comparisons under Images and GIFs as outlined in the template.
✅ Passed checks (2 passed)
Check name Status Explanation
Title Check ✅ Passed The title clearly conveys the main change of upgrading the dev dependency nodemailer from version 6.9.9 to 7.0.7 in a concise conventional commits style, making its intent immediately understandable to reviewers.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/npm_and_yarn/nodemailer-7.0.7

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@narekhovhannisyan
Copy link
Collaborator

@coderabbitai review

@coderabbitai
Copy link

coderabbitai bot commented Oct 7, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 674de14 and 83b082b.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (1)
  • package.json (2 hunks)

"eslint-plugin-prettier": "^4.0.0",
"jest": "^29.3.1",
"nodemailer": "^6.9.4",
"nodemailer": "^7.0.7",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion | 🟠 Major

🧩 Analysis chain

Peer bump to Nodemailer v7 may be a breaking change; consider widening range and verify runtime/types compatibility

  • Changing peerDependencies to ^7.0.7 drops v6 and can break consumers. If your code supports both, widen the peer range; otherwise plan a semver-major release with notes.
  • Verify Node.js support for Nodemailer v7 vs engines.node (currently >=16.20.1). Update engines if v7 requires a higher baseline.
  • Confirm @types/nodemailer ^6.4.9 remains compatible with Nodemailer v7; bump if needed.

Apply this diff to keep compatibility with both v6 and v7 (if supported):

-    "nodemailer": "^7.0.7"
+    "nodemailer": ">=6 <8"

Run these quick checks:

Also applies to: 44-44


🌐 Web query:

What Node.js versions are supported by Nodemailer v7? Does it require Node 18+?

💡 Result:

Short answer: No — Nodemailer v7 does not require Node 18+. The project documentation and repo state Nodemailer supports older Node versions (historically "Node.js ≥ 6.0.0"); there is no indication in the v7 release notes that Node 18+ is required. [1][2]

Sources:

  • Nodemailer requirements (official docs). [1]
  • Nodemailer GitHub repository / README. [2]

References:
[1] https://nodemailer.com/
[2] https://github.com/nodemailer/nodemailer


🌐 Web query:

Are the DefinitelyTyped package versions @types/nodemailer@6.x compatible with Nodemailer v7, or is there a newer types version recommended?

💡 Result:

Short answer: No — @types/nodemailer 6.x targets Nodemailer v6. For Nodemailer v7 you should use the @types/nodemailer 7.x release (install @types/nodemailer@latest). [1][2]

Sources:

  • @types/nodemailer (npm) shows v7.x published. [1]
  • nodemailer package docs note TypeScript definitions are provided via @types/nodemailer (types package versions track the library). [2]

Align dependencies and types for Nodemailer v7

  • Peer bump to ^7.0.7 is a semver-major change: if you still need v6 support, widen to "nodemailer": ">=6 <8"; otherwise proceed with a major release.
  • Update @types/nodemailer from ^6.4.9 to ^7.0.0 in both devDependencies and peerDependencies.
  • engines.node (>=16.20.1) already satisfies Nodemailer v7’s requirements.
🤖 Prompt for AI Agents
In package.json around line 28, the dependency bump to "nodemailer": "^7.0.7" is
a semver-major change and the types are still at v6; either relax the nodemailer
range to ">=6 <8" if you need to keep v6 support, or keep the ^7.0.7 but treat
this as a major release; then update @types/nodemailer in both devDependencies
and peerDependencies from ^6.4.9 to ^7.0.0 to match Nodemailer v7; no change
needed to engines.node since >=16.20.1 already satisfies v7.0.0.

Copy link
Collaborator

@narekhovhannisyan narekhovhannisyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nodemailer 7.0.7 upgrade is safe

Breaking change analysis
The breaking change in nodemailer 7.0.0 is SES-related:
Removed support for older SES SDK versions (v2 and v3)
Added support for SESv2 SDK
Removed SES rate limiting and idling features


This codebase does not use SES:
No SES/AWS/Amazon references found

Implements a custom nodemailer transport (MailtrapTransport)
Uses core nodemailer APIs: Transport, MailMessage, createTransport, sendMail

@mklocek mklocek merged commit 0da12ca into main Oct 13, 2025
4 checks passed
@mklocek mklocek deleted the dependabot/npm_and_yarn/nodemailer-7.0.7 branch October 13, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants