Skip to content

feat: implement update checker logic and tests#1232

Draft
Anne (Ant1gua) wants to merge 3 commits into
nextfrom
feat/issue-1091-tell-new-version-available
Draft

feat: implement update checker logic and tests#1232
Anne (Ant1gua) wants to merge 3 commits into
nextfrom
feat/issue-1091-tell-new-version-available

Conversation

@Ant1gua

Copy link
Copy Markdown
Contributor

related to #1091

@Ant1gua Anne (Ant1gua) self-assigned this Jul 22, 2026
Comment thread internal/update/update.go

// getLatestReleaseInfo fetches the latest release information from the GitHub API for the given repository.
func getLatestReleaseInfo(ctx context.Context, client *http.Client, repo string) (*ReleaseInfo, error) {
req, err := http.NewRequestWithContext(ctx, "GET", fmt.Sprintf("https://api.github.com/repos/%s/releases/latest", repo), nil)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

see #1248, so we don't ask GitHub API anymore. there is no rate limiting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants