Skip to content

.Net: Upgrade MongoDB connector dependency to MongoDB.Driver to v3.x #11652

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
acorbin-vdm opened this issue Apr 19, 2025 · 1 comment · May be fixed by #11663
Open

.Net: Upgrade MongoDB connector dependency to MongoDB.Driver to v3.x #11652

acorbin-vdm opened this issue Apr 19, 2025 · 1 comment · May be fixed by #11663
Assignees
Labels
.NET Issue or Pull requests regarding .NET code

Comments

@acorbin-vdm
Copy link

Hello,

I would like to suggest to you to upgrade the Microsoft.SemanticKernel.Connectors.MongoDB connector to v3.x.x.
Currently, the library dep for MongoDB.Driver is using v2.30 by default.
Since last year, MongoDB .NET driver has a breaking changes bumping to v3. There is no MongoDB.Driver.Core package, it has been removed and deprecated.

While using the nuget package Microsoft.SemanticKernel.Connectors.MongoDB with a solution which using the MongoDB.Driver v3, the method SaveReferenceAsync() throw an exception due to missing library.

Image

Reference csproj MongoDB versions:

Image

That's really locking for up to date projects, because we cannot use the package with recent MongoDB databases and/or driver.

Thanks a lot in advance,
Adrien

@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code triage labels Apr 19, 2025
@github-actions github-actions bot changed the title Upgrade MongoDB connector dependency to MongoDB.Driver to v3.x .Net: Upgrade MongoDB connector dependency to MongoDB.Driver to v3.x Apr 19, 2025
@acorbin-vdm
Copy link
Author

I think that's linked to: #10291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants