[PR #1232] [MERGED] Feature/update check #13429

Closed
opened 2026-08-05 02:08:24 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1232
Author: @pappz
Created: 10/19/2023
Status: Merged
Merged: 10/30/2023
Merged by: @pappz

Base: mainHead: feature/update-check


📝 Commits (10+)

📊 Changes

23 files changed (+492 additions, -18 deletions)

View changed files

📝 .github/workflows/release.yml (+1 -0)
📝 .goreleaser_ui.yaml (+3 -3)
📝 client/ui/client_ui.go (+131 -14)
client/ui/connected.ico (+0 -0)
client/ui/connected.png (+0 -0)
client/ui/disconnected.ico (+0 -0)
client/ui/disconnected.png (+0 -0)
client/ui/netbird-systemtray-connected.ico (+0 -0)
client/ui/netbird-systemtray-connected.png (+0 -0)
client/ui/netbird-systemtray-default.ico (+0 -0)
client/ui/netbird-systemtray-default.png (+0 -0)
client/ui/netbird-systemtray-update-cloud.ico (+0 -0)
client/ui/netbird-systemtray-update-cloud.png (+0 -0)
client/ui/netbird-systemtray-update.ico (+0 -0)
client/ui/netbird-systemtray-update.png (+0 -0)
📝 release_files/darwin-ui-installer.sh (+2 -1)
📝 release_files/darwin_pkg/preinstall (+7 -0)
version/update.go (+184 -0)
version/update_test.go (+101 -0)
version/url.go (+5 -0)

...and 3 more files

📄 Description

Describe your changes

Periodically fetch the latest available version, and the UI will show a new menu for the download link. It checks both the daemon version and the UI version.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/1232 **Author:** [@pappz](https://github.com/pappz) **Created:** 10/19/2023 **Status:** ✅ Merged **Merged:** 10/30/2023 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `feature/update-check` --- ### 📝 Commits (10+) - [`9ff428a`](https://github.com/netbirdio/netbird/commit/9ff428a629c3c0712f255f9c942c9cab9a49b447) Normalize version string - [`ef94ac5`](https://github.com/netbirdio/netbird/commit/ef94ac586c078ed7f25e24725468b446235fdaaf) Add update logic - [`c4b7896`](https://github.com/netbirdio/netbird/commit/c4b789609c42910829499a12bfcbeb96cca0d7ff) Fix menu items after success update - [`497d3f4`](https://github.com/netbirdio/netbird/commit/497d3f461bedd3114539380c0d438717c7e9c104) Add comment - [`6dcab20`](https://github.com/netbirdio/netbird/commit/6dcab2023f09c06baff2311b955532167b61c644) Try to produce test package - [`fe127d3`](https://github.com/netbirdio/netbird/commit/fe127d36eb89be6f9cf77f026fa2c74881672b6a) Shows daemon version too - [`e3506e5`](https://github.com/netbirdio/netbird/commit/e3506e5abb618924743c1f134cf7cfc2573afe01) Add update icon - [`000df59`](https://github.com/netbirdio/netbird/commit/000df595532718caf4885feb50067917bd88e66f) Fix icon state after daemon update - [`2e4fe18`](https://github.com/netbirdio/netbird/commit/2e4fe18a1e3415f4d56ec49170b8cc5c090783a2) Fix icon flash - [`5abcfe6`](https://github.com/netbirdio/netbird/commit/5abcfe6d8f239be4b29ccd65806756d21222dbb7) Follow the About icon state the state of tray icon ### 📊 Changes **23 files changed** (+492 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yml` (+1 -0) 📝 `.goreleaser_ui.yaml` (+3 -3) 📝 `client/ui/client_ui.go` (+131 -14) ➖ `client/ui/connected.ico` (+0 -0) ➖ `client/ui/connected.png` (+0 -0) ➖ `client/ui/disconnected.ico` (+0 -0) ➖ `client/ui/disconnected.png` (+0 -0) ➕ `client/ui/netbird-systemtray-connected.ico` (+0 -0) ➕ `client/ui/netbird-systemtray-connected.png` (+0 -0) ➕ `client/ui/netbird-systemtray-default.ico` (+0 -0) ➕ `client/ui/netbird-systemtray-default.png` (+0 -0) ➕ `client/ui/netbird-systemtray-update-cloud.ico` (+0 -0) ➕ `client/ui/netbird-systemtray-update-cloud.png` (+0 -0) ➕ `client/ui/netbird-systemtray-update.ico` (+0 -0) ➕ `client/ui/netbird-systemtray-update.png` (+0 -0) 📝 `release_files/darwin-ui-installer.sh` (+2 -1) 📝 `release_files/darwin_pkg/preinstall` (+7 -0) ➕ `version/update.go` (+184 -0) ➕ `version/update_test.go` (+101 -0) ➕ `version/url.go` (+5 -0) _...and 3 more files_ </details> ### 📄 Description ## Describe your changes Periodically fetch the latest available version, and the UI will show a new menu for the download link. It checks both the daemon version and the UI version. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:08:24 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#13429