Add Azure Login support and consolidate release notes#254
Merged
Conversation
…single file following Keep a Changelog format.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Azure Login authentication (via Azure.Identity) with token renewal support, and consolidates per-version release note files into a single Keep a Changelog–style RELEASENOTES.md.
Changes:
- Introduces
-AzureLogincredential mode backed byDefaultAzureCredentialand caches the credential for renewal. - Updates connection retrieval to refresh Azure DevOps tokens by rebuilding the connection when the cached token is near expiry.
- Consolidates and validates release notes from a single
RELEASENOTES.md, updating CI to extract notes from it.
Reviewed changes
Copilot reviewed 56 out of 56 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| psake.ps1 | Updates release notes validation to scan consolidated RELEASENOTES.md. |
| RELEASENOTES.md | Replaces scattered markdown files with a unified Keep a Changelog formatted changelog. |
| Docs/ReleaseNotes/*.md | Deletes old per-version release note files after consolidation. |
| Docs/CommonHelpText.psd1 | Adds help text for the new -AzureLogin parameter. |
| CSharp/TfsCmdlets/TfsCmdlets.csproj | Adds Azure.Identity dependency. |
| CSharp/TfsCmdlets/Services/Impl/DataManagerImpl.cs | Rebuilds cached connections when Azure token is expired. |
| CSharp/TfsCmdlets/Services/Impl/CurrentConnectionsImpl.cs | Stores AzureCredential in current connections and clears it on reset. |
| CSharp/TfsCmdlets/Services/ICurrentConnections.cs | Exposes AzureCredential on the current connections interface. |
| CSharp/TfsCmdlets/Services/AzureCredential.cs | Implements token acquisition/caching and VSS credential creation via Azure.Identity. |
| CSharp/TfsCmdlets/Cmdlets/Credential/NewCredential.cs | Adds Azure Login mode and stores the credential for later refresh. |
| CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs | Adds generated -AzureLogin parameter and parameter set name. |
| .github/workflows/main.yml | Updates artifacts and release notes extraction to use RELEASENOTES.md. |
Comments suppressed due to low confidence (1)
psake.ps1:1
- The regex uses the unescaped
$ThreePartVersion, so dots in versions (e.g.2.10.0) are treated as regex wildcards and may match the wrong heading (or a partial match). Use[regex]::Escape($ThreePartVersion)and consider making the header match stricter (e.g., require## [+ version +]followed by a space / dash) to avoid false positives.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Test Results 2 files 80 suites 1m 35s ⏱️ Results for commit 1dbbac8. ♻️ This comment has been updated with latest results. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/igoravl/TfsCmdlets/sessions/c5d69aaa-749e-42a7-a9df-e92fea57b5fd Co-authored-by: igoravl <725797+igoravl@users.noreply.github.com>
…kspace folder +semver:minor
3db936b to
ac6e049
Compare
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.
.github/workflows/main.ymlrelease notes extraction step[version]syntax and optional- YYYY-MM-DD)✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.