nestjs / mongoose

Mongoose module for Nest framework (node.js) 🍸
https://nestjs.com
MIT License
528 stars 118 forks source link

Upgrade Mongoose: 5.13.8 -> 6.0.1 #1004

Closed juergenzimmermann closed 3 years ago

juergenzimmermann commented 3 years ago

I'm submitting a...


[ ] Regression 
[ ] Bug report
[ x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

@nestjs/mongoose currently uses Mongoose 5 which uses mongodb 3 with external type definitions.

Expected behavior

Meanwhile Mongoose 6.0.1 is available which is using mongodb 4.1.1. Furthermore mongodb 4 ships with its own type definitions in TypeScript.

What is the motivation / use case for changing the behavior?

There will be no dependency on external type definitions.

juergenzimmermann commented 3 years ago

Please see also https://thecodebarbarian.com/introducing-mongoose-6.html. Additionally, MongoDB (the database server) 5 is supported.

vtrphan commented 3 years ago

yes please update to use mongoose 6

hiukky commented 3 years ago

+1

keligijus commented 3 years ago

+2

tranphuoctien commented 3 years ago

+100^10

Lisette08 commented 3 years ago

+*

SergioSuarezDev commented 3 years ago

+1 🙈

jansedlon commented 3 years ago

Any updates?

jmcdo29 commented 3 years ago

People, we see you, we see the comment of wanting this, we see all the noise you're generating. Give us time. A major upgrade of an underlying dependency usually means a breaking change for the package so we need to coordinate how we want to do that. This means updating the docs and the library and making sure that it is extra clear that this is breaking. But the more noise y'all generate, the more distracted we are. Please, be patient, use the reactions if you want to +1 or same here. Subscribe to the issue (you can do it without commenting) if you want news on it. You don't need to keep making noise.

kamilmysliwiec commented 3 years ago

9.0.0 has just been released