Skip to content

Commit db2dcec

Browse files
Bump Microsoft.Extensions.Diagnostics.Testing from 10.4.0 to 10.5.0 (#238)
Updated [Microsoft.Extensions.Diagnostics.Testing](https://github.com/dotnet/extensions) from 10.4.0 to 10.5.0. <details> <summary>Release notes</summary> _Sourced from [Microsoft.Extensions.Diagnostics.Testing's releases](https://github.com/dotnet/extensions/releases)._ ## 10.5.0 HTTP Logging Middleware APIs in `Microsoft.AspNetCore.Diagnostics.Middleware` are now stable. This release also transfers `Microsoft.Extensions.VectorData.Abstractions` and `Microsoft.Extensions.VectorData.ConformanceTests` from the [Semantic Kernel](https://github.com/microsoft/semantic-kernel) repository into dotnet/extensions, jumping from 10.1.0 to 10.5.0 for consistent versioning. The release also delivers fixes across the AI libraries, AI Evaluation, and Service Discovery. ## Breaking Changes 1. **Rename `VectorStoreVectorAttribute` constructor parameter #​7460** * The `Dimensions` parameter was renamed to `dimensions` (lowercase). This is a source-breaking change only — binary compatibility is preserved. * If you use the named argument syntax `new VectorStoreVectorAttribute(Dimensions: 1536)`, update it to `new VectorStoreVectorAttribute(dimensions: 1536)`. ## Experimental API Changes ### Now Stable * HTTP Logging Middleware APIs are now stable (previously `EXTEXP0013`): `AddHttpLogEnricher<T>`, `IHttpLogEnricher`, and `RequestHeadersLogEnricherOptions.HeadersDataClasses` #​7380 ## What's Changed ### AI * Fix OpenAIResponsesChatClient to respect "store":false in responses #​7417 by @​stephentoub * Fix InvalidOperationException in CoalesceWebSearchToolCallContent #​7419 by @​stephentoub * Handle F# optional parameters in AIFunctionFactory schema generation #​7439 by @​eiriktsarpalis * Fix ComputerCallResponseItem using Item.Id instead of CallId #​7446 by @​jozkee * Fix HostedFileContent with image MIME type sent as input_file instead of input_image #​7438 by @​stephentoub (co-authored by @​copilot) * Guard Activity.Current restore with null check in OpenTelemetry streaming clients #​7443 by @​stephentoub (co-authored by @​copilot) * Enable stateless mode in remote MCP server template (released as v1.2.0 on 2026-04-01) #​7441 by @​jeffhandley ### Vector Data * Move Microsoft.Extensions.VectorData.Abstractions over from Semantic Kernel #​7434 by @​roji * Rename VectorStoreVectorAttribute dimensions constructor parameter #​7460 by @​roji ### AI Evaluation * Add Path Validation for DiskBasedResponseCache and DiskBasedResultStore #​7397 by @​peterwald * Update brace-expansion for CVE-2026-33750 #​7457 by @​SamMonoRT ### ASP.NET Core Extensions * Removing experimental attribute from Http logging middleware #​7380 by @​mariamgerges ### Service Discovery * Implement RFC6761 reserved DNS names handling #​6924 by @​rzikm ## Documentation Updates * Remove per-library CHANGELOG.md files #​7413 by @​jeffhandley ## Test Improvements ... (truncated) ## 10.4.1 This release of the Microsoft.Extensions.AI packages adds new experimental APIs for Realtime client sessions and Text-to-Speech, along with OpenTelemetry and middleware improvements. ## Packages in this release | Package | Version | |---------|---------| | Microsoft.Extensions.AI.Abstractions | 10.4.1 | | Microsoft.Extensions.AI | 10.4.1 | | Microsoft.Extensions.AI.OpenAI | 10.4.1 | ## Experimental API Changes ### New Experimental APIs * New experimental API: Realtime Client Sessions #​7285 and #​7399 * New experimental API: Text-to-Speech Client #​7381 ### Changes to Experimental APIs * Hosted File Download Stream: write-path methods now explicitly throw `NotSupportedException` #​7394 ## What's Changed ### AI * Add `ITextToSpeechClient` abstraction, middleware, and OpenAI implementation #​7381 by @​stephentoub * Realtime Client Proposal #​7285 by @​tarekgh * Add `VoiceActivityDetection` options to realtime session abstractions #​7399 by @​tarekgh * Make `UriContent` `mediaType` parameter optional with inference from URI file extension #​7398 by @​stephentoub (co-authored by @​Copilot) * Emit `gen_ai.client.operation.exception` via `ILogger LoggerMessage` on OpenTelemetry instrumentation classes #​7379 by @​stephentoub (co-authored by @​Copilot) * Support `invoke_workflow` as an equivalent parent span to `invoke_agent` in `FunctionInvokingChatClient` #​7382 by @​stephentoub (co-authored by @​Copilot) * Make `HostedFileDownloadStream` explicitly read-only #​7394 by @​stephentoub (co-authored by @​Copilot) ## Documentation Updates * Document JSON schema derivation for return types in AIFunctionFactory #​7400 by @​stephentoub (co-authored by @​Copilot) ## Test Improvements * Fix test warnings #​7369 by @​jozkee * Add tests for JSON deserialization of serializable types #​7373 by @​stephentoub (co-authored by @​Copilot) ## Repository Infrastructure Updates * Update Package Validation Baseline to 10.4.0 #​7389 by @​jeffhandley (co-authored by @​Copilot) * Update ModelContextProtocol libraries to version 1.0.0 #​7340 by @​stephentoub (co-authored by @​Copilot) ## Acknowledgements * @​eiriktsarpalis @​ericstj @​CodeBlanch @​lmolkova @​adamsitnik @​joperezr reviewed pull requests ... (truncated) Commits viewable in [compare view](dotnet/extensions@v10.4.0...v10.5.0). </details> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Extensions.Diagnostics.Testing&package-manager=nuget&previous-version=10.4.0&new-version=10.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pete Sramek <2333452+petesramek@users.noreply.github.com>
1 parent 12ccab4 commit db2dcec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/PolylineAlgorithm.Tests/PolylineAlgorithm.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<PackageReference Include="Microsoft.Testing.Platform.MSBuild" Version="2.2.1" />
2323
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.6.2" />
2424
<PackageReference Include="Microsoft.Testing.Extensions.TrxReport" Version="2.2.1" />
25-
<PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" Version="10.4.0" />
26-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.5" />
25+
<PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" Version="10.5.0" />
26+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.6" />
2727
</ItemGroup>
2828

2929
<ItemGroup>

0 commit comments

Comments
 (0)