Skip to content

Merging internal changes into the release/10.6 branch#7523

Merged
joperezr merged 4 commits into
dotnet:release/10.6from
joperezr:MergeInternalRel106
May 13, 2026
Merged

Merging internal changes into the release/10.6 branch#7523
joperezr merged 4 commits into
dotnet:release/10.6from
joperezr:MergeInternalRel106

Conversation

@joperezr
Copy link
Copy Markdown
Member

@joperezr joperezr commented May 12, 2026

Merging internal changes from internal/release/10.6 into release/10.6 for the 10.6.0 release.

Important

Please merge this PR with the "Create a merge commit" option (no-ff). Do NOT squash.
The internal tip commit (c8437bc222c86c535ef6d763468d655737b1261d) is what we shipped and is tagged as v10.6.0; squashing would rewrite that commit and break the tag.

Microsoft Reviewers: Open in CodeFlow

jeffhandley and others added 3 commits May 7, 2026 21:50
**SQUASH COMMIT**
**UPDATE COMMIT MESSAGE TO "_Prepare 10.6 release_" WHEN MERGING**
**CLEAR OUT THE DETAILED COMMIT MESSAGE WHEN MERGING**

Note that the internal/release/10.6 branch already has a commit for preparing the internal branch. This PR updates dependencies.
Merging the latest changes from `release/10.6` into `internal/release/10.6` to pick up:

- dotnet#7520: [release/10.6] Graduate HostedFileContent.SizeInBytes and HostedFileContent.CreatedAt

This is a no-ff merge to keep the public/internal branches in sync.

----
#### AI description  (iteration 1)
#### PR Classification
API stabilization: Promoting experimental properties to stable by removing `[Experimental]` attributes and simplifying implementation.

#### PR Summary
This PR stabilizes the `SizeInBytes` and `CreatedAt` properties of `HostedFileContent` by removing their experimental status and internal backing implementations. Test files are updated to suppress experimental warnings for remaining experimental features (`Purpose` and `Scope`) rather than globally.

- `HostedFileContent.cs`: Simplified `SizeInBytes` and `CreatedAt` properties by removing `[Experimental]` attributes, `[JsonIgnore]`, and internal backing fields (`SizeInBytesCore`, `CreatedAtCore`)
- `HostedFileContentTests.cs`: Added targeted `#pragma warning disable MEAI001` suppressions for experimental `Purpose` and `Scope` properties while removing the global suppression
- `Microsoft.Extensions.AI.Abstractions.json`: Updated API stage from "Experimental" to "Stable" for `CreatedAt` and `SizeInBytes` properties
- `ImageGenerationOptionsTests.cs`: Added targeted warning suppressions for experimental `IImageGenerator` and `ImageGenerationResponseFormat.Hosted` usages
- `Microsoft.Extensions.AI.Stabilization.Tests.csproj`: Added `HostedFileContentTests.cs` and `ImageGenerationOptionsTests.cs` to stabilization test suite
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
@joperezr joperezr requested review from a team as code owners May 12, 2026 20:41
Restores Directory.Build.props, NuGet.config, azure-pipelines.yml, and eng/pipelines/templates/BuildAndTest.yml to the state on upstream/release/10.6. These changes are internal-only and should not flow to the public release branch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the area-ai Microsoft.Extensions.AI libraries label May 12, 2026
@joperezr joperezr merged commit 52dc288 into dotnet:release/10.6 May 13, 2026
6 checks passed
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.

2 participants