You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parse Server has a dependency on parse-server-simple-mailgun-adapter, which is an old adapter that does not support custom emailVerification or passwordReset emails, so it seems more like a proof-of-concept.
Parse Server today has multiple mail adapters that provide much more functionality. Keeping that adapter as a dependency just for adapter loading tests is unnecessary. The adapter also needs to be maintained and current has a high security vulnerability, the package is lacking tests and other basics like lint. In short, we wouldn't want to keep a poorly maintained adapter is presumably not much in use as part of Parse Server.
Feature / Enhancement Description
The suggestion is to:
replace the adapter with sub-package inside the Parse Server package (for adapter module loading tests)
@davimacedo Can you please archive @parse/simple-mailgun-adapter on npm? I don't have the access rights there. Or you can invite me there and I'll do it. I already archived it on GitHub.
@mtrezza I know you guys have removed this dependancy, however for some reason parse-server still requires it. It is listed as a dependancy of parse-server in package-lock.json.
@stage88 That is correct, it should also be in package.json. We didn't remove it for the 4.x versions because that would be a breaking change and require a major version upgrade. Since this is only a dependency, you can just not use the adapter and there shouldn't be a vulnerability for Parse Server. If you want to get rid of the warning, you can fork and remove the dependency manually.
Note that 4.x is currently being maintained as a long-term support trial, until we release Parse Server 5.0.
Activity
[-]Remove simple-mailgun-adapter (and deprecate it)[/-][+]Remove simple-mailgun-adapter dependency[/+]mtrezza commentedon Apr 7, 2021
@davimacedo Can you please archive @parse/simple-mailgun-adapter on npm? I don't have the access rights there. Or you can invite me there and I'll do it. I already archived it on GitHub.
davimacedo commentedon Apr 7, 2021
I believe there isn't such option at npm.
mtrezza commentedon Apr 7, 2021
Actually here it is:
https://docs.npmjs.com/deprecating-and-undeprecating-packages-or-package-versions
For example:
https://www.npmjs.com/package/parse-server-simple-mailgun-adapter
davimacedo commentedon Apr 8, 2021
It looks it is a command and not an option in the dashboard: https://docs.npmjs.com/deprecating-and-undeprecating-packages-or-package-versions
I will try that.
davimacedo commentedon Apr 8, 2021
It looks that worked.
mtrezza commentedon Apr 8, 2021
Great! I see it now too.
stage88 commentedon Oct 2, 2021
@mtrezza I know you guys have removed this dependancy, however for some reason parse-server still requires it. It is listed as a dependancy of parse-server in package-lock.json.
From package lock:
I only care because I get audit reports with criticals as a result of using this lib.
mtrezza commentedon Oct 2, 2021
@stage88 That is correct, it should also be in
package.json. We didn't remove it for the 4.x versions because that would be a breaking change and require a major version upgrade. Since this is only a dependency, you can just not use the adapter and there shouldn't be a vulnerability for Parse Server. If you want to get rid of the warning, you can fork and remove the dependency manually.Note that 4.x is currently being maintained as a long-term support trial, until we release Parse Server 5.0.
parseplatformorg commentedon Nov 1, 2021
🎉 This change has been released in version 5.0.0-beta.1
parseplatformorg commentedon Mar 14, 2022
🎉 This change has been released in version 5.0.0