.NET: Update Microsoft.Extensions.AI.* packages to 10.2.0#3211
Merged
stephentoub merged 3 commits intomainfrom Jan 20, 2026
Merged
.NET: Update Microsoft.Extensions.AI.* packages to 10.2.0#3211stephentoub merged 3 commits intomainfrom
stephentoub merged 3 commits intomainfrom
Conversation
… tests Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update Microsoft.Extensions.AI packages to version 10.2
Update Microsoft.Extensions.AI.* packages to 10.2.0
Jan 14, 2026
stephentoub
approved these changes
Jan 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Microsoft.Extensions.AI.* packages from version 10.1.1 to 10.2.0 and adjusts tests to accommodate an upstream behavioral change in timestamp coalescing from "latest timestamp wins" to "first non-null valid timestamp wins".
Changes:
- Updated Microsoft.Extensions.AI packages to 10.2.0
- Bumped transitive dependencies (System.Text.Json, System.Threading.Channels, etc.) from 10.0.1 to 10.0.2
- Modified test assertions and timestamps to reflect the new "first timestamp wins" behavior
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| dotnet/Directory.Packages.props | Updated Microsoft.Extensions.AI.* packages to 10.2.0 and transitive dependencies to 10.0.2 |
| dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentRunResponseUpdateExtensionsTests.cs | Updated test timestamps to realistic values and changed assertions to match new "first timestamp wins" behavior |
peibekwe
approved these changes
Jan 15, 2026
alliscode
approved these changes
Jan 15, 2026
Member
|
@copilot, please merge in main and address the merge conflict |
Contributor
Author
Merged main and resolved the conflict in |
This was referenced Jan 24, 2026
This was referenced Feb 1, 2026
arisng
pushed a commit
to arisng/agent-framework
that referenced
this pull request
Feb 2, 2026
…3211) * Initial plan * Update Microsoft.Extensions.AI.* to 10.2.0 and fix timestamp behavior tests Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
This was referenced Feb 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Updating to the latest Microsoft.Extensions.AI.* packages (10.2.0) on NuGet as requested.
Description
Package updates in
dotnet/Directory.Packages.props:Transitive dependencies bumped to satisfy new requirements:
Microsoft.Bcl.AsyncInterfaces10.0.1 → 10.0.2Microsoft.Extensions.DependencyInjection.Abstractions10.0.1 → 10.0.2Microsoft.Extensions.Logging.Abstractions10.0.1 → 10.0.2System.Diagnostics.DiagnosticSource10.0.1 → 10.0.2System.Text.Json10.0.1 → 10.0.2System.Threading.Channels10.0.1 → 10.0.2Test updates:
The 10.2.0 release changed timestamp coalescing behavior in
ToChatResponse()from "latest timestamp wins" to "first non-null valid timestamp wins". UpdatedAgentResponseUpdateExtensionsTests.csto reflect this upstream behavioral change:Contribution Checklist
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.