Skip to content

Add a Release notes item to the updates context menu - #5535

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
release-notes-context-menu
Oct 16, 2026
Merged

Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
release-notes-context-menu

Conversation

@GabrielDuf

@GabrielDuf Gabriel Dufresne (GabrielDuf) commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Right-clicking an update on the Software Updates page now shows Release notes. It opens the release-notes URL the package manager reports in the browser. When the manager only reports release-notes text, it opens the package details window, where that text is shown.

The item is enabled only when the package actually has release notes, and the update list doesn't load any slower:

  • A new SupportsReleaseNotes capability marks the managers whose details can carry release notes: WinGet, Chocolatey, PowerShell, PowerShell 7 and .NET tool. For every other manager the item is disabled and nothing is looked up.
  • For a supported manager, the menu uses the package's details if they're already loaded. Otherwise it loads that one package's details in the background when the menu opens, and enables the item once they arrive.

Scoop, npm and Bun are left out on purpose:

  • Scoop's notes field holds post-install instructions, not a changelog.
  • Scoop's checkver URL is a version-checking address that is often a raw API or JSON endpoint.
  • npm and Bun always report the npmjs.com versions tab, which isn't release notes and would keep the item enabled for every package.

Closes #5510

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

Static review found no blocking issues in capability gating, deferred loading, or navigation; runtime UI validation was not performed.

0 open findings

What changed in this PR

Adds quick access to release notes from the Software Updates context menu, addressing #5510.

Changes:

  • Adds release-notes capability flags for five supported managers.
  • Loads package details on demand and enables the item only when release notes are available.
  • Opens release-note URLs in the browser, with package details as the text-only fallback.
File Description
src/​UniGetUI.PackageEngine.Managers.WinGet/​WinGet.cs Enables release-notes support.
src/​UniGetUI.PackageEngine.Managers.PowerShell7/​PowerShell7.cs Enables release-notes support.
src/​UniGetUI.PackageEngine.Managers.PowerShell/​PowerShell.cs Enables release-notes support.
src/​UniGetUI.PackageEngine.Managers.Dotnet/​DotNet.cs Enables release-notes support.
src/​UniGetUI.PackageEngine.Managers.Chocolatey/​Chocolatey.cs Enables release-notes support.
src/​UniGetUI.PackageEngine.Enums/​ManagerCapabilities.cs Defines the capability, disabled by default.
src/​UniGetUI.Avalonia/​Views/​SoftwarePages/​SoftwareUpdatesPage.cs Adds the menu item, deferred loading, and navigation.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@randy-but-a-ro randy-but-a-ro Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 Pull request was approved automatically: the AI review is complete and all its review threads are resolved. 🎉

Integration Details
{
	"deliveryId": "6884c330-c994-11f1-8828-208004ef26e9",
	"headSha": "4dad849d53276bb94d0749fea117efb2e7e839fb",
	"reviewer": "copilot-pull-request-reviewer[bot]"
}

@GabrielDuf
Gabriel Dufresne (GabrielDuf) merged commit b852884 into main Oct 16, 2026
6 checks passed
@GabrielDuf
Gabriel Dufresne (GabrielDuf) deleted the release-notes-context-menu branch October 16, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[IMPROVEMENT] Add an update description option to the right-click menu of updatable software packages

2 participants