Drop SendGrid email transport support#23392
Conversation
Based on issue directus#23217 I removed the nodemailer-sendgrid else if branch
🦋 Changeset detectedLatest commit: 2c712db The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
I would also remove the |
Since the package received the last update 6 years ago we remove nodemailer-sendgrid for security reasons
|
Not sure how to fix the current errors, probably I should not just remove the line from package.json.
|
Heya @McSundae 👋 You need to run |
paescuj
left a comment
There was a problem hiding this comment.
We also need to mention this on the "Breaking Changes" page 12, advising users to switch to SMTP as per #23217 (comment).
Footnotes
|
WHY?!? More importantly why not release this on a minor release, it is a big breaking change to anyone using Sendgrid. |
|
@u12206050 I understand your frustration, but as mentioned in the initial issue the package that was used for this is not maintained since over 6 years, so it is a security issue to keep it inside of directus. We recommend to use smtp to connect with send grid. The package I'm talking about is: |
Thanks, that I understand, although I still don't understand how this could be released as a patch release, are we too assume from now on that patch releases could also contain breaking changes? |
|
Same opinion. Why are you bringing out breaking changes in hotfixes? Not that I would be affected, but it directly caught my attention when looking at the release-notes. |
|
Have you added any guide/instructions how to get SendGrid working again after you have removed support for SendGrid transport? Or a way how to manually add SendGrid transport support (with me taking all the risks for using outdated component)? |
|
As already mentioned it is recommended to use simply smtp. So you simply go into your config file and change the specific parameters: https://docs.directus.io/self-hosted/config-options.html#smtp-smtp |
Based on issue #23217 I removed the nodemailer-sendgrid else if branch
What's changed:
Potential Risks / Drawbacks
Review Notes / Questions
Closes #23217