Skip to content

Implement GitHub release notes fetching with react-query#206

Merged
Stivenjs merged 2 commits into
mainfrom
console-mode
May 30, 2026
Merged

Implement GitHub release notes fetching with react-query#206
Stivenjs merged 2 commits into
mainfrom
console-mode

Conversation

@Stivenjs
Copy link
Copy Markdown
Owner

This pull request enhances the way release notes are displayed and fetched in the application. It introduces dynamic retrieval of up to 10 recent GitHub releases, improves the fallback mechanism when offline or on error, and refines the user interface for presenting release notes. The update also ensures that update prompts show the latest release notes from GitHub when available.

Release Notes Display Improvements

  • The ReleaseNotesDialog now fetches up to 10 recent releases from GitHub using the new fetchGitHubReleaseNotes service, displaying them in a user-friendly format. If fetching fails or no releases are returned, it falls back to the local markdown file. Loading and error states are clearly communicated to the user. [1] [2] [3]
  • The ReleaseNotesCard description is updated to clarify that up to 10 recent versions from GitHub are shown, with a local fallback if offline.

Release Notes Service Layer

  • Introduces a new release-notes.service.ts providing functions to fetch, normalize, and sort GitHub releases, linkify URLs in markdown, and supply fallback local release notes.

Updater Integration

  • The updater service now attempts to fetch the latest GitHub release notes to include in the update prompt, improving the information shown to users during updates. [1] [2]

These changes together provide a more robust, informative, and user-friendly release notes experience in the application.

@Stivenjs Stivenjs self-assigned this May 30, 2026
@Stivenjs Stivenjs added documentation Improvements or additions to documentation enhancement New feature or request labels May 30, 2026
@Stivenjs Stivenjs merged commit e50cf5e into main May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant