Skip to content

feat: add version check and update functionality in settings - #3

Merged
iniandrew merged 1 commit into
mainfrom
feat/update-check
Oct 20, 2026
Merged

iniandrew merged 1 commit into
mainfrom
feat/update-check

Conversation

@iniandrew

Copy link
Copy Markdown
Owner

This pull request introduces a new update-checking feature and updates the app to version 0.2.0. It adds a version display and manual update check to the Settings UI, implements backend logic for checking the latest release on GitHub, and updates documentation and metadata to reflect the new version and update process.

Update-checking feature:

  • Added a new section in the Settings UI (index.html, src/main.ts) to display the current version and provide "Check for updates" and "Download" buttons. The app now shows its version and allows users to manually check for newer releases. ([[1]](https://github.com/iniandrew/yaptic/pull/3/files#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051R194-R206), [[2]](https://github.com/iniandrew/yaptic/pull/3/files#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3dR1), [[3]](https://github.com/iniandrew/yaptic/pull/3/files#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3dR373-R400), [[4]](https://github.com/iniandrew/yaptic/pull/3/files#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3dL610-R653))
  • Implemented backend logic (src-tauri/src/update.rs) to query GitHub for the latest release, compare versions, and report availability of updates. Also added a command to open the releases page in the browser. ([src-tauri/src/update.rsR1-R131](https://github.com/iniandrew/yaptic/pull/3/files#diff-1ec3e13a955e9e4fc50cc44a0d2562d721eb1d6e171578d4482913cfa2503cd3R1-R131))
  • Registered new Tauri commands for update checking and release page opening in the app's initialization (src-tauri/src/lib.rs). ([[1]](https://github.com/iniandrew/yaptic/pull/3/files#diff-eabcebd0ae5c9b77a5247e1bdbdb88b1869fc0c932d0ef0cf2ecf9ee5221be7cR14), [[2]](https://github.com/iniandrew/yaptic/pull/3/files#diff-eabcebd0ae5c9b77a5247e1bdbdb88b1869fc0c932d0ef0cf2ecf9ee5221be7cR49-R50))
  • Made open_url in permissions.rs public so it can be reused for opening the release page. ([src-tauri/src/permissions.rsL69-R69](https://github.com/iniandrew/yaptic/pull/3/files#diff-0ab9d6f4ab82cd07bda30ed564ee3f810e290d5e56ebae10742a9da20991d66fL69-R69))

Documentation and metadata updates:

  • Updated the release notes, README, and privacy documentation to describe the new update-checking feature and its privacy implications. (.github/release-notes/v0.2.0.md, README.md) ([[1]](https://github.com/iniandrew/yaptic/pull/3/files#diff-3d79dda2d3feb01d334545d8c1b9e0a9f92799311623b512463329f9b02dd343R1-R27), [[2]](https://github.com/iniandrew/yaptic/pull/3/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R69-R76), [[3]](https://github.com/iniandrew/yaptic/pull/3/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L133-R143))
  • Bumped the app version to 0.2.0 in all relevant files (package.json, src-tauri/Cargo.toml, src-tauri/tauri.conf.json). ([[1]](https://github.com/iniandrew/yaptic/pull/3/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L4-R4), [[2]](https://github.com/iniandrew/yaptic/pull/3/files#diff-fe4c6a80a21e81339e2e0faeb9134d0f9636c168987df13c8abf1927a1caee39L3-R3), [[3]](https://github.com/iniandrew/yaptic/pull/3/files#diff-fa09f1dac39604a735cd6a53957d3c35e0c3298cca9cf4829180f167abbd69b7L4-R4))

@iniandrew
iniandrew merged commit 62a3590 into main Oct 20, 2026
1 check passed
@iniandrew
iniandrew deleted the feat/update-check branch October 20, 2026 07:59
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.

1 participant