.NET: Promote Workflows.Declarative packages to stable versions#6254
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Promotes the .NET Workflows.Declarative NuGet packages toward stable (GA) release behavior by switching release markers in the project files, while keeping the Foundry-specific declarative package in preview due to its dependency chain.
Changes:
- Mark
Microsoft.Agents.AI.Workflows.Declarativeand.Declarative.Mcpas released (<IsReleased>true</IsReleased>). - Add/retain package validation suppression settings intended for “first release” scenarios.
- Keep
Microsoft.Agents.AI.Workflows.Declarative.Foundryin preview (removes RC flag and leaves it non-released, with an explanatory comment).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Microsoft.Agents.AI.Workflows.Declarative.csproj | Switches package to GA via IsReleased and adds package validation override block. |
| dotnet/src/Microsoft.Agents.AI.Workflows.Declarative.Mcp/Microsoft.Agents.AI.Workflows.Declarative.Mcp.csproj | Switches package to GA via IsReleased (with existing validation-disable behavior). |
| dotnet/src/Microsoft.Agents.AI.Workflows.Declarative.Foundry/Microsoft.Agents.AI.Workflows.Declarative.Foundry.csproj | Removes RC flag and documents why the package remains preview (Foundry dependency). |
…ages Both Workflows.Declarative and Workflows.Declarative.Mcp set IsReleased=true but were disabling package validation, bypassing the repo's GA convention (see dotnet/nuget/nuget-package.props which auto-enables validation when IsReleased=true). Re-enable validation by removing the local EnablePackageValidation=false overrides and pointing PackageValidationBaselineVersion at 1.8.0-rc1 (the latest published version of each package). This catches accidental breaking changes between RC and the first GA. Future GAs should bump the baseline to the previous GA version. Verified locally: dotnet build -c Release on both projects runs RunPackageValidation -> APICompat ran successfully without finding any breaking changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
moonbox3
approved these changes
Jun 2, 2026
alliscode
approved these changes
Jun 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
Promote Workflows Declarative packages to stable versions
Contribution Checklist