New Meteor 2.11 and the new embedded MongoDB


New embedded MongoDB, better type definitions and performance gains and much moreI hope you all are doing well. Meteor 2.11 brings updates on Node to 14.21.3, which introduced security updates. In this new release, I will talk about what great features and dependency bumps we did, such as upgrading the MongoDB driver to v4.14, TypeScript in its v4.9.4, updating embedded MongoDB to v6.0.3, and many more! Which can be seen here in the changelog.Also, before starting to tell all about this new version, I would like to give an update regarding the road to a Fibers-free Meteor. We have made an open board on Favro.com (they use Meteor, which is really nice). You can check our fibers tasks status here, and if you would like to ping us or ask questions, we have many channels such as the Meteor Community Slack (click here to join), the Discord server (click here to join), the forums and the Fibers discussion thread on GitHub.For more details on how to migrate to this version you can check our migration guide where it show in a detailed manner how to bring your app to the latest Meteor versionNew embedded MongoDBAs part of MongoDB Atlas automatic upgrade to v6.x, we also needed to update our own embedded MongoDB. At the time of the upgrade, the latest version was v6.0.3.What changed?For a full in-depth of what changed and what got better (spoiler alert: change streams are getting even better, and there are new aggregation operators), for you as a Meteor user, what you might need to change can be seen here in the migration guide.Full details regarding MongoDB v6.x can be seen in their changelog.Note that you do not need to rush upgrading your Meteor app as since v2.2.0 we do support MongoDB v6.x (not with its full features). You can check the compatibility tableMassive performance upgrade in makeLookupFunctionThis refactor (PR) that Radosław Miernik has done, as can be seen in the benchmarks, has given a massive upgrade in performance while using the makeLookupFunction .Packages with better type definitionsWith the herculean works of @ebroder now, some of the Meteor core packages now have even better type definitions, such as mongo, email, and meteor , which types were just Object are now improved.Also continuing in this realm of typesafety perbergland also removed unused dependencies that could make our bundler bigger.Related PRs:

Updating your appIf you liked what you saw, you could update by following these steps:If you are in 2.10.0cd your-projectmeteor updateAny other versioncd your-projectmeteor update --release 2.11.0Again, please do not forget to check out the migration guide for a full understanding of the changesNotable mentionsI thank all contributors who have worked hard to make this release possible with issues, discussions, and PRs.And a big and warm hug to these contributors in particular:

Appreciate the work that you all did to make this great framework even better!New Meteor 2.11 and the new embedded MongoDB was originally published in Meteor Blog on Medium, where people are continuing the conversation by highlighting and responding to this story.