Skip to content

nodemailer v7 peerDependency #13039

@thefeli73

Description

@thefeli73

Environment

all envs

Reproduction URL

https://github.com/nextauthjs/next-auth-example

Describe the issue

nodemailer v7 contains the following breaking change:

  • SESv2 SDK support, removed older SES SDK v2 and v3 , removed SES rate limiting and idling features

Please add v7 as a supported peerDependancy so we can keep things updated

Error:

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @auth/core@0.39.1
npm warn Found: nodemailer@7.0.3
npm warn node_modules/nodemailer
npm warn   nodemailer@"^7.0.0" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional nodemailer@"^6.8.0" from @auth/core@0.39.1
npm warn node_modules/next-auth/node_modules/@auth/core
npm warn   @auth/core@"0.39.1" from next-auth@5.0.0-beta.28
npm warn   node_modules/next-auth
npm warn
npm warn Conflicting peer dependency: nodemailer@6.10.1
npm warn node_modules/nodemailer
npm warn   peerOptional nodemailer@"^6.8.0" from @auth/core@0.39.1
npm warn   node_modules/next-auth/node_modules/@auth/core
npm warn     @auth/core@"0.39.1" from next-auth@5.0.0-beta.28
npm warn     node_modules/next-auth

How to reproduce

try to update nodemailer dependancy to v7 when having next-auth installet

Expected behavior

expected latest next-auth to support the latest nodemailer

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalid reproductionThe issue did not have a detectable valid reproduction URLtriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions