Skip to content

Align module dependency versions with manifest#29487

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/align-dependency-versions
Draft

Align module dependency versions with manifest#29487
Copilot wants to merge 2 commits intomainfrom
copilot/align-dependency-versions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 30, 2026

Summary

  • Aligned src/Accounts/Authentication/Authentication.csproj MSAL package references with src/lib/manifest.json.
  • Checked for similar shipped module project mismatches and aligned RecoveryServices, ArtifactSigning, and KeyVault dependency versions with the manifest.
  • Updated affected module changelogs.

Validation

  • Baseline Accounts module build via ./tools/BuildScripts/BuildModules.ps1 -RepoRoot /home/runner/work/azure-powershell/azure-powershell -Configuration Debug -TargetModule Accounts passed before edits.
  • Post-change affected module build via ./tools/BuildScripts/BuildModules.ps1 -RepoRoot /home/runner/work/azure-powershell/azure-powershell -Configuration Debug -TargetModule Accounts,RecoveryServices,ArtifactSigning,KeyVault passed.
  • Verified no remaining shipped non-test src project mismatches against src/lib/manifest.json.
  • dotnet msbuild build.proj /t:StaticAnalysis could not complete in this sandbox because required CI artifacts such as artifacts/FilesChanged.txt and artifacts/Debug were absent.
  • Parallel code review/security validation passed.

Copilot AI requested review from Copilot and removed request for Copilot April 30, 2026 04:21
@azure-client-tools-bot-prd
Copy link
Copy Markdown

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copilot AI review requested due to automatic review settings May 1, 2026 03:53
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 aligns NuGet PackageReference versions in several shipped module projects with the authoritative versions in src/lib/manifest.json, reducing drift between compile-time references and the repo’s shared/shipped dependency set.

Changes:

  • Updated MSAL (Microsoft.Identity.Client*) package references in Accounts Authentication to match src/lib/manifest.json.
  • Updated System.Security.Cryptography.Cng (RecoveryServices, KeyVault) and System.Formats.Asn1 (ArtifactSigning) package references to match the manifest.
  • Added “Upcoming Release” changelog entries for the affected modules.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/RecoveryServices/RecoveryServices/RecoveryServices.csproj Bumps System.Security.Cryptography.Cng to 5.0.0 to match the manifest.
src/RecoveryServices/RecoveryServices/ChangeLog.md Notes the dependency update in Upcoming Release.
src/KeyVault/KeyVault/KeyVault.csproj Bumps System.Security.Cryptography.Cng to 5.0.0 to match the manifest.
src/KeyVault/KeyVault/ChangeLog.md Notes the dependency update in Upcoming Release.
src/ArtifactSigning/ArtifactSigning/ArtifactSigning.csproj Bumps System.Formats.Asn1 to 8.0.1 to match the manifest.
src/ArtifactSigning/ArtifactSigning/ChangeLog.md Notes the dependency update in Upcoming Release.
src/Accounts/Authentication/Authentication.csproj Bumps MSAL packages to 4.83.1 to match the manifest.
src/Accounts/Accounts/ChangeLog.md Notes alignment of authentication dependencies in Upcoming Release.

-->

## Upcoming Release
* Updated the `System.Security.Cryptography.Cng` dependency to v5.0.0.
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

The changelog is user-facing; this entry is an internal dependency/version note and doesn’t explain any user-visible impact. Consider rewording to describe the behavioral/fix impact (and add an issue reference if applicable), or omit the entry if there is no user-facing change.

Suggested change
* Updated the `System.Security.Cryptography.Cng` dependency to v5.0.0.

Copilot uses AI. Check for mistakes.
- Additional information about change #1
-->
## Upcoming Release
* Updated the `System.Security.Cryptography.Cng` dependency to v5.0.0.
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

The changelog is user-facing; this entry only states an internal dependency bump. Please reword to describe what this changes for users (bug fix/compatibility/security), and include a GitHub issue reference if there is one, or omit if no user-visible change.

Suggested change
* Updated the `System.Security.Cryptography.Cng` dependency to v5.0.0.

Copilot uses AI. Check for mistakes.
- Additional information about change #1
-->
## Upcoming Release
* Updated the `System.Formats.Asn1` dependency to v8.0.1.
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

This changelog entry is a dependency-version note without user-facing context. Please update it to explain the user impact (e.g., compatibility/security fix) and add an issue reference if applicable, or omit if it’s purely internal alignment.

Suggested change
* Updated the `System.Formats.Asn1` dependency to v8.0.1.

Copilot uses AI. Check for mistakes.
-->

## Upcoming Release
* Aligned authentication dependency versions with the module manifest.
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

This entry is quite internal/vague (“aligned dependency versions with the module manifest”) and doesn’t tell users what changed. Please make the entry user-impact oriented (what behavior is fixed/changed) and reference an issue if available.

Suggested change
* Aligned authentication dependency versions with the module manifest.
* Improved authentication reliability in Az.Accounts by updating packaged dependency versions to match the module manifest.
- Helps prevent version mismatch issues when loading the module and signing in to Azure.

Copilot uses AI. Check for mistakes.
<PackageReference Include="Azure.Developer.TrustedSigning.CryptoProvider" Version="0.1.38" />
<PackageReference Include="Azure.CodeSigning.Sdk" Version="0.1.127" />
<PackageReference Include="System.Formats.Asn1" Version="6.0.1" />
<PackageReference Include="System.Formats.Asn1" Version="8.0.1" />
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These transient dependencies have to be managed universally.
Possible solution: modules add package references without version, a common manifest defines universal version for each packge

https://github.com/search?q=repo%3AAzure%2Fazure-sdk-for-net+packagereference+update+language%3AXML&type=code&l=XML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants