-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing naming between mailgun.js and mailgun-js #122
Comments
Thanks for creating this, @adriaanvanrossum. I've also mentioned how confusing this is before but nothing seems to have changed. Glad to see that your issue is getting seen. What makes it more confusing, at least for me, is that in the actual Mailgun dashboard, when looking at examples of how to use the API, it explicitly shows Anyway, thanks again for creating the issue! |
+1 I also installed the wrong package. |
On top of that the non-official version has a huge security issue: #124, https://www.npmjs.com/advisories/1658
It would be nice if Mailgun would take over the I'm very tempted (tweet): |
Actually, that's the reason I came back here today and tried to move to the official package instead of using the non-official one. Previously, I had the non-official one working and said, after all the confusion, I'd never go back and touch it again. |
+1 |
Can't believe no one has fixed it yet! I wasted my entire day juggling between send and create message functions and why my attachments weren't being sent |
Thanks for the feedback, y'all, and apologies for the delays in getting this fixed. We've assumed ownership of https://www.npmjs.com/package/mailgun-js and deprecated that package. We've also renamed https://github.com/mailgun/mailgun-js to https://github.com/mailgun/mailgun.js so that it matches out official package on https://www.npmjs.com/package/mailgun.js. We're also working on updating all of our documentation, both on our public sites, as well as the application. |
that's great... my last experience attempting to use mailgun for a dev project was such a disaster that it's hard to imagine giving you guys a second try, and was incredibly disappointing for a group that seems to target that specifically, but this is definitely an important step towards making sure that doesn't happen again. |
@zeefarmer you have to rename this too: I've done it in PR: #206 hope this helps. |
2022 April & I've just installed the depreciated package.... |
Why @Anan7Codes? It's updated everywhere, right? At least in the docs: |
Hi Adrian, So if I go to the dashboard and then go to sending -> overview and select the button under API and choose nodejs I get the below code. The package mentioned over there is "mailgun-js" and I just went ahead and installed it.
|
O Mailgun, ... |
Just did exactly the same... via |
Still see the old code example via https://app.eu.mailgun.com/app/sending/domains/my-domain. |
Which one is correct? |
Love that mailgun has an official Node.js package now!
But it's very confusing to know which library is official and which is not. Would be great to name at least the npmjs package the same as the GitHub repository.
GitHub: https://github.com/mailgun/mailgun-js
Official: https://www.npmjs.com/package/mailgun.js
Non official: https://www.npmjs.com/package/mailgun-js
I think https://github.com/mailgun/mailgun-js could be renamed to https://github.com/mailgun/mailgun.js. Let me know if I can help.
The non official module is also deprecated but gets way more weekly downloads then the official one. Would be great to have the depreciation notice on the NPM page as well.
Keep up the good work!
The text was updated successfully, but these errors were encountered: