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.

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.

2 participants