Skip to content
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

Add support for Mongoose@5 #29

Merged
merged 3 commits into from
Jan 22, 2018
Merged

Add support for Mongoose@5 #29

merged 3 commits into from
Jan 22, 2018

Conversation

loris
Copy link
Contributor

@loris loris commented Jan 22, 2018

Mongoose v5 was released last week and they dropped support for their custom Promise implementation (ie, mongoose.Promise.ES6 is undefined, we need to use native promises instead).
Updated other deps to latest releases too.
It should certainly be tagged as a new breaking change major version as it won't work anymore with older Node.js version (

@boblauer boblauer merged commit 9cdfd17 into boblauer:master Jan 22, 2018
@boblauer
Copy link
Owner

Thanks for the pull! Published on npm @5.0.0

tourbillonlabs pushed a commit to tourbillonlabs/react-native-parse-cache that referenced this pull request Aug 14, 2019
* Upgrade deps to latest releases

* Add --exit flag to test script (required since mocha@4 - https://boneskull.com/mocha-v4-nears-release/#mochawontforceexit)

* Use native promises instead of mongoose Promise.ES6 (not provided in mongoose@5 anymore - Automattic/mongoose#2917)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants