Skip to content

Minor fixes to MEVD.Abstractions#7475

Merged
roji merged 1 commit into
mainfrom
TransitiveWarning
Apr 22, 2026
Merged

Minor fixes to MEVD.Abstractions#7475
roji merged 1 commit into
mainfrom
TransitiveWarning

Conversation

@roji
Copy link
Copy Markdown
Member

@roji roji commented Apr 18, 2026

  • Correct StorageName behavior when external serialization is enabled
  • Disable warning for net462
Microsoft Reviewers: Open in CodeFlow

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses a mismatch in how StorageName is computed in Microsoft.Extensions.VectorData.Abstractions when a provider indicates it uses an external serializer, and updates packaging settings to avoid incorrect compatibility warnings for net462 consumers.

Changes:

  • Fix CollectionModelBuilder so UsesExternalSerializer=true correctly causes attribute-specified StorageName values to be ignored (by ensuring PropertyInfo is set before storage-name application).
  • Add unit tests covering StorageName behavior with UsesExternalSerializer enabled/disabled.
  • Disable minimum-supported-TFM compat warnings for this package to prevent incorrect net462 warnings.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
test/Libraries/Microsoft.Extensions.VectorData.Abstractions.Tests/CollectionModelBuilderTests.cs Adds regression tests validating StorageName behavior with/without UsesExternalSerializer.
src/Libraries/Microsoft.Extensions.VectorData.Abstractions/ProviderServices/CollectionModelBuilder.cs Moves PropertyInfo assignment earlier so storage-name logic can correctly ignore attribute/config when external serialization is used.
src/Libraries/Microsoft.Extensions.VectorData.Abstractions/Microsoft.Extensions.VectorData.Abstractions.csproj Disables minimum-supported-TFM compat errors to avoid incorrect net462 consumer warnings for this package.

@github-actions github-actions Bot added area-ai Microsoft.Extensions.AI libraries and removed needs-area-label labels Apr 18, 2026
* Correct StorageName behavior when external serialization is enabled
* Disable warning for net462
@roji roji force-pushed the TransitiveWarning branch from e63bd75 to 31bb859 Compare April 18, 2026 08:34
@roji roji merged commit 7723587 into main Apr 22, 2026
6 checks passed
@roji roji deleted the TransitiveWarning branch April 22, 2026 18:57
jeffhandley pushed a commit that referenced this pull request May 5, 2026
* Correct StorageName behavior when external serialization is enabled
* Disable warning for net462

(cherry picked from commit 7723587)
renebentes pushed a commit to renebentes/3054 that referenced this pull request May 20, 2026
#182)

Pinned
[Microsoft.Extensions.Http.Resilience](https://github.com/dotnet/extensions)
at 10.6.0.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.Extensions.Http.Resilience's
releases](https://github.com/dotnet/extensions/releases)._

## 10.6.0

Version 10.6.0 stabilizes the response continuation token and
background-response APIs in Microsoft.Extensions.AI.Abstractions. Most
other AI work for May shipped in 10.5.1; this monthly release rolls
those changes up alongside dependency updates and a small Resource
Monitoring cleanup.

## Experimental API Changes

### Now Stable

* ResponseContinuationToken and background-response APIs are now stable
(previously `MEAI001`) #​7512

## What's Changed

### AI

* Stabilize ResponseContinuationToken / background-response APIs #​7512
by @​jozkee (co-authored by @​Copilot)

## Repository Infrastructure Updates

* Update version to 10.6.0 #​7458 by @​jeffhandley
* [main] Update dependencies from dotnet/arcade #​7451
* Bump follow-redirects from 1.15.11 to 1.16.0 in
/src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/azure-devops-report/tasks/PublishAIEvaluationReport
#​7469
* Merge release/10.5 into main #​7470 by @​jeffhandley
* Bump microsoft.visualstudio.slngen.tool from 12.0.13 to 12.0.32 #​7484
* Bump postcss from 8.5.9 to 8.5.12 in
/src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript
#​7494
* Bump dotnet-reportgenerator-globaltool from 5.5.7 to 5.5.9 #​7504
* Rename release-notes skill to write-release-notes #​7511 by
@​jeffhandley (co-authored by @​Copilot)

## Acknowledgements

* @​wtgodbe @​tarekgh @​peterwald @​JeremyLikness @​eiriktsarpalis
@​ericstj @​evgenyfedorov2 reviewed pull requests

**Full Changelog**:
dotnet/extensions@v10.5.2...v10.6.0


## 10.5.2

This patch release ships a single fix to
`Microsoft.Extensions.VectorData.Abstractions`, correcting `StorageName`
resolution when external serialization is enabled.
`Microsoft.Extensions.VectorData.ConformanceTests`,
`Microsoft.Extensions.AI.Abstractions`, `Microsoft.Extensions.AI`, and
`Microsoft.Extensions.AI.OpenAI` are published alongside it for version
coherency — they contain no code changes from 10.5.1.

## Packages in this release

| Package | Version |
| --- | --- |
| Microsoft.Extensions.VectorData.Abstractions | 10.5.2 |
| Microsoft.Extensions.VectorData.ConformanceTests | 10.5.2 |
| Microsoft.Extensions.AI.Abstractions | 10.5.2 |
| Microsoft.Extensions.AI | 10.5.2 |
| Microsoft.Extensions.AI.OpenAI | 10.5.2 |

## What's Changed

### Microsoft.Extensions.VectorData.Abstractions

- Minor fixes to MEVD.Abstractions: correct `StorageName` behavior when
external serialization is enabled, and disable a warning for `net462`.
(by @​roji in [#​7475](dotnet/extensions#7475))

**Full Changelog**:
dotnet/extensions@v10.5.1...v10.5.2


## 10.5.1

Version 10.5.1 of the Microsoft.Extensions.AI packages stabilizes
CodeInterpreter, WebSearch, and ImageGeneration tool content types. The
release adds new experimental tool search and OpenAI request policy
hooks. And the OpenTelemetry gen-ai semantic conventions are updated to
align with v1.41.

The 'aiagent-webapi' project template in
Microsoft.Agents.AI.ProjectTemplates is updated to align with v1.3.0 of
Agent Framework, updating the OpenTelemetry dependencies within the
template projects as well.

## Packages in this release

| Package | Version |
|---------|---------|
| Microsoft.Extensions.AI | 10.5.1 |
| Microsoft.Extensions.AI.Abstractions | 10.5.1 |
| Microsoft.Extensions.AI.OpenAI | 10.5.1 |
| Microsoft.Extensions.AI.Templates | 10.5.1-preview.3.26251.3 |
| Microsoft.Agents.AI.ProjectTemplates | 1.3.0-preview.1.26251.3 |

## Experimental API Changes

### Now Stable

The following types previously emitted the `MEAI001` experimental
diagnostic and are now stable.

* CodeInterpreter and WebSearch tool content types are now stable #​7493
  * `CodeInterpreterToolCallContent`
  * `CodeInterpreterToolResultContent`
  * `WebSearchToolCallContent`
  * `WebSearchToolResultContent`
* ImageGeneration tool content types and tool are now stable #​7476
  * `ImageGenerationToolCallContent`
  * `ImageGenerationToolResultContent`
  * `HostedImageGenerationTool`
  * `ImageGenerationOptions`
* `ImageGenerationResponseFormat` (the `Hosted` enum value remains
experimental)
* `IImageGenerator` and the rest of the image generation infrastructure
also remain experimental

### New Experimental APIs

The following new APIs emit the `MEAI001` experimental diagnostic.

* New experimental API: `HostedToolSearchTool` with `DeferredTools` for
tool-search-driven deferred tool loading #​7471
* New experimental API: `OpenAIRequestPolicies` extension hook for
appending `System.ClientModel.PipelinePolicy` instances to outgoing
OpenAI requests #​7495

### Breaking Changes to Experimental APIs

* `WebSearchToolResultContent.Results` was renamed to `Outputs` as part
of the stabilization in #​7493, aligning with
`CodeInterpreterToolResultContent.Outputs`. The original `Results`
property was included in version 10.4.0 and 10.5.0; this is a binary
breaking change and consumers need to update to consume the updated
property.

  ```diff
  WebSearchToolResultContent content = ...;
  - IList<AIContent>? items = content.Results;
  + IList<AIContent>? items = content.Outputs;
  ```

 ... (truncated)

Commits viewable in [compare
view](dotnet/extensions@v10.5.0...v10.6.0).
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ai Microsoft.Extensions.AI libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants