Conversation
…urable release channel
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.
This pull request introduces a new version update notification system for administrators, enhancing visibility into available updates and streamlining the upgrade process. It adds backend logic to check GitHub releases, exposes a new API endpoint, updates the frontend to display a notification banner in the admin dashboard, and makes the release channel configurable. Additionally, the backend
/healthendpoint now reports the actual package version dynamically.Version Update Notification System:
AdminServiceto check for new releases on GitHub, compare versions using semver, and cache results for 6 hours. The check supports both stable and beta release channels, configurable via admin settings. [1] [2] [3] [4]GET /api/v1/admin/version-checkto expose version check results to the frontend, with error handling and rate limiting.+page.svelte) to fetch version check results and display a banner to admins: a blue "Update available" banner with version info and release link when an update exists, or a green "Up to date" indicator otherwise. (Fbc698f2L331R331, [1] [2] [3] [4] [5] [6] [7] [8]updates.channelsetting to system settings, defaulting tostable, and made it editable from the admin settings page. [1] [2] [3]Backend Improvements:
/healthendpoint now reports the actual version frompackage.jsoninstead of a hardcoded string, ensuring version accuracy. [1] [2] [3]Documentation:
CHANGELOG.mdto document the new version update notification feature and related changes.