Skip to content

npm-mongo-legacy for backwards compatibility with Mongo 3.6#13736

Merged
nachocodoner merged 24 commits intorelease-3.3.1from
npm-mongo-legacy
Jul 21, 2025
Merged

npm-mongo-legacy for backwards compatibility with Mongo 3.6#13736
nachocodoner merged 24 commits intorelease-3.3.1from
npm-mongo-legacy

Conversation

@nachocodoner
Copy link
Copy Markdown
Member

@nachocodoner nachocodoner commented May 9, 2025

Continues: #13735

This PR fixes an issue that blocked our Mongo upgrade to 6.9.0. Research showed some Meteor apps still use Mongo 3.6, and Mongo 6.10.0 dropped support for that version.

To avoid blocking Meteor upgrades after the upcoming performance improvements, we add a new package, npm-mongo-legacy. When listed before the mongo package in .meteor/packages, it forces Mongo to use version 6.9.0 for apps that import it.

⚠️ Apps should upgrade their databases beyond Mongo 3.x, and eventually to 4.x, to get future driver updates, since Mongo 6.17.0 may drop support for 4.x as they state in 6.16.0 changelog.

This fix will be included in the 3.3.1 beta or 3.4 beta release.

@netlify
Copy link
Copy Markdown

netlify bot commented May 9, 2025

Deploy Preview for v3-meteor-api-docs ready!

Name Link
🔨 Latest commit 8d9bc7d
🔍 Latest deploy log https://app.netlify.com/projects/v3-meteor-api-docs/deploys/687e2d490326f900084aa45a
😎 Deploy Preview https://deploy-preview-13736.docs.meteor.com
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nachocodoner nachocodoner changed the base branch from release-3.3 to devel May 9, 2025 18:12
@nachocodoner nachocodoner changed the base branch from devel to release-3.3 May 9, 2025 18:12
Fix for Issue #13652 caused by MongoDB Node.js Driver (reopened)
@nachocodoner nachocodoner marked this pull request as ready for review July 17, 2025 12:21
@nachocodoner nachocodoner changed the base branch from release-3.3 to release-3.3.1 July 21, 2025 12:07
@nachocodoner nachocodoner merged commit a76cb73 into release-3.3.1 Jul 21, 2025
8 of 10 checks passed
@nachocodoner nachocodoner deleted the npm-mongo-legacy branch July 21, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants