@Igor-Lopes there will continue to be patch releases for 4.x to fix bugs but future development of new features will take place in version 5. Can you elaborate on what is preventing you from upgrading to 5? What feature are you hoping to have?
@lineus He's asking about the recent MongoDB release candidate 4, not Mongoose v 4.
@StefanoDeVuono That's right. @lineus I refer to Mongo 4.0 new features, such as Multi-Document ACID Transactions.
@Igor-Lopes my bad :smile: I鈥檓 sure we will, not sure if there鈥檚 a roadmap or timeline.
@vkarpov15 do you have a mongoose version in mind for adding mongodb server version 4 support?
@lineus we're waiting on the MongoDB driver to release their 3.1.0 release for 4.0 support. Currently, the plan is to ship mongoose 5.2.0 to support MongoDB 4.0's new features. Given how big this release is, we'll release a 5.2.0-rc0 in June.
Good news. MongoDB driver v3.1 was released a week ago.
https://github.com/mongodb/node-mongodb-native/releases/tag/v3.1.0
And seems like there is multi-doc transactions support in it!
https://github.com/mongodb/node-mongodb-native/blob/09c7d8e4ce302f1c8f6339dd19ee4b86e40b30a8/test/examples/transactions.js#L55
@koresar yep! Here's a blog post to get you started with MongoDB transactions in Node.js with the MongoDB driver and mongoose :+1:
Most helpful comment
@lineus we're waiting on the MongoDB driver to release their 3.1.0 release for 4.0 support. Currently, the plan is to ship mongoose 5.2.0 to support MongoDB 4.0's new features. Given how big this release is, we'll release a 5.2.0-rc0 in June.