Skip to content

Upgrade mongo-driver to V2 #1233

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NickLovera
Copy link

Upgrades mongo driver to the newly released V2 version.

Breaks compatibility with any 1.x and lower versions of the mongo driver.

Followed the migration guide that can be found here https://github.com/mongodb/mongo-go-driver/blob/master/docs/migration-2.0.md

@dhui
Copy link
Member

dhui commented Apr 17, 2025

@NickLovera Thanks for the PR! Could you add a new mongo db driver for v2 similar to how there's a pgxv4 and pgxv5 db driver. That way users can choose when to update db drivers.

@nikhilsinghcohesity
Copy link

Hi @NickLovera and maintainers,

Thanks for putting together this upgrade to MongoDB driver v2 — it's an important change for projects looking to support MongoDB 8.0, which requires driver version 2.1 or later.

I noticed the PR has been open for a little while. Just wanted to check in and see if there’s any update on its review or if it’s on the roadmap to be merged soon.

Appreciate all the work you do on this project!

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.

3 participants