Skip to content

.Net: Bring back LibraryInfo for MongoClient lost in #f2df866#12824

Merged
westey-m merged 3 commits into
microsoft:mainfrom
damieng:mongodb-add-libinfo
Aug 12, 2025
Merged

.Net: Bring back LibraryInfo for MongoClient lost in #f2df866#12824
westey-m merged 3 commits into
microsoft:mainfrom
damieng:mongodb-add-libinfo

Conversation

@damieng

@damieng damieng commented Jul 29, 2025

Copy link
Copy Markdown
Contributor

Motivation and Context

Previous versions of the MongoDB connector provided LibraryInfo on the client, see

settings.LibraryInfo = new LibraryInfo("Microsoft Semantic Kernel", skVersion);

This was inadvertently removed in 656159e

Description

This change brings back the LibraryInfo and updates it from Microsoft Semantic Kernel to Microsoft.Extensions.VectorData

Contribution Checklist

@damieng damieng requested a review from a team as a code owner July 29, 2025 20:48
@moonbox3 moonbox3 added the .NET Issue or Pull requests regarding .NET code label Jul 29, 2025
@westey-m westey-m added this pull request to the merge queue Aug 12, 2025
Merged via the queue into microsoft:main with commit c1c3a1f Aug 12, 2025
19 checks passed
jcruzmot-te pushed a commit to thousandeyes/aia-semantic-kernel that referenced this pull request Sep 15, 2025
…oft#12824)

### Motivation and Context

Previous versions of the MongoDB connector provided LibraryInfo on the
client, see
https://github.com/microsoft/semantic-kernel/blob/656159e492b5dc453cd39ed666633f52b198062e/dotnet/src/Connectors/Connectors.Memory.MongoDB/MongoDBMemoryStore.cs#L227

This was inadvertently removed in
microsoft@656159e

### Description

This change brings back the LibraryInfo and updates it from `Microsoft
Semantic Kernel` to `Microsoft.Extensions.VectorData`

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
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

None yet

Development

Successfully merging this pull request may close these issues.

5 participants