feat: add centralized version display and update notifications#201
Merged
Conversation
Implement a unified update checking system that displays version information and update notifications across all MCPProxy interfaces: Core Changes: - Add internal/updatecheck package with background GitHub release checker - Integrate update checker with runtime startup (4-hour check interval) - Extend /api/v1/info endpoint with update field containing version info - Add InfoResponse and UpdateInfo types to contracts Tray Application: - Remove "Check for Updates..." menu item - Add hidden update menu that appears only when update is available - Poll /api/v1/info endpoint to detect updates from core - Show "New version available (vX.Y.Z)" with click to open releases page - Special handling for Homebrew installations Web Control Panel: - Display version in sidebar footer - Show "update available" badge when new version detected - Add fetchInfo() to system store for version retrieval CLI Doctor Command: - Show version with update status in health check output - Display "Version: vX.Y.Z (latest)" or "(update available: vX.Y.Z)" - Include download URL when update is available Documentation: - Add docs/features/version-updates.md with comprehensive guide - Update docs/api/rest-api.md with /api/v1/info response details - Regenerate OpenAPI spec with InfoResponse and UpdateInfo schemas Tests: - Add unit tests for /api/v1/info endpoint version fields - Add E2E test for version in /api/v1/info response 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update all outputDiagnostics test calls to pass second info parameter. Also update JSON test to check for nested diagnostics structure. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Deploying mcpproxy-docs with
|
| Latest commit: |
9f96f26
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4059de16.mcpproxy-docs.pages.dev |
| Branch Preview URL: | https://001-update-version-display.mcpproxy-docs.pages.dev |
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 20241037597 --repo smart-mcp-proxy/mcpproxy-go
|
Add version-updates page to Features section in sidebar. The page content is already in docs/features/version-updates.md and will be synced by prepare-docs.sh during build. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
Changes
Core
internal/updatecheckpackage with background GitHub release checker/api/v1/infoendpoint withupdatefieldInfoResponseandUpdateInfotypes to contractsTray Application
/api/v1/infoendpoint to detect updates from coreWeb Control Panel
CLI Doctor Command
Documentation
docs/features/version-updates.mdwith comprehensive guide/api/v1/inforesponse detailsTest plan
/api/v1/infoendpoint version fields/api/v1/inforesponsemcpproxy doctorshows version🤖 Generated with Claude Code