fix: Don't treat newt release-candidate as a "update" in the site list #440

Closed
opened 2026-04-05 17:10:00 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @huzky-v on 12/22/2025

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

As of 2025-12-22, the current stable version of newt is 1.7.0, but the UI shows there is an available update. The newest version is 1.8.0-rc.0. And I think it will be better to show the update icon when there is a newest stable update, but not a release-candidate update.

The behavior does not align with https://static.pangolin.net/get-newt.sh as the github API checked in newt install and the site API is different.
Newt install script: https://api.github.com/repos/fosrl/newt/releases/latest
Site API: https://api.github.com/repos/fosrl/newt/tags

Or it will be better to store the latest version elsewhere to avoid confusion.

*Originally created by @huzky-v on 12/22/2025* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description As of 2025-12-22, the current stable version of newt is `1.7.0`, but the UI shows there is an available update. The *newest* version is `1.8.0-rc.0`. And I think it will be better to show the update icon when there is a newest stable update, but not a release-candidate update. The behavior does not align with `https://static.pangolin.net/get-newt.sh` as the github API checked in newt install and the site API is different. Newt install script: `https://api.github.com/repos/fosrl/newt/releases/latest` Site API: `https://api.github.com/repos/fosrl/newt/tags` Or it will be better to store the latest version elsewhere to avoid confusion.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#440