Skip to content

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

@coreb1

Description

@coreb1

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

Metadata

Metadata

Assignees

Labels

.NETIssue or Pull requests regarding .NET code

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions