diff --git a/CHANGELOG.md b/CHANGELOG.md index cfbd79a..a50dd44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,11 @@ Releases up to 0.3.5 are described on the [GitHub releases page](https://github. ## [Unreleased] +## [0.5.3] - 2026-11-13 + ### Fixed - **Folders open the way they were left.** The sidebar remembers which folders are collapsed in each vault, in the settings file, instead of opening every folder expanded at each start. Renaming a folder keeps it collapsed; folders deleted since are forgotten. +- **New versions show up within a minute.** The app checks every minute instead of every 10, and again when the window comes back from the tray. A check that hung (after sleep or a network change) no longer blocks the later ones, and checks no longer keep their discarded results in memory. After its dialog closes, a found version stays on offer in the title bar (**Restart to update**), and a newer release replaces it as soon as it is published. ## [0.5.2] - 2026-11-11 @@ -106,7 +109,8 @@ Releases up to 0.3.5 are described on the [GitHub releases page](https://github. - Dependency updates: Tauri plugins, iroh 1.3, rusqlite 0.40, base64 0.23, html-escape 0.3 and GitHub Actions. - Community, security and design documentation ([#32](https://github.com/LowBloat/LowNotes/issues/32), [#33](https://github.com/LowBloat/LowNotes/issues/33)). -[Unreleased]: https://github.com/LowBloat/LowNotes/compare/v0.5.2...HEAD +[Unreleased]: https://github.com/LowBloat/LowNotes/compare/v0.5.3...HEAD +[0.5.3]: https://github.com/LowBloat/LowNotes/compare/v0.5.2...v0.5.3 [0.5.2]: https://github.com/LowBloat/LowNotes/compare/v0.5.1...v0.5.2 [0.5.1]: https://github.com/LowBloat/LowNotes/compare/v0.5.0...v0.5.1 [0.5.0]: https://github.com/LowBloat/LowNotes/compare/v0.4.2...v0.5.0 diff --git a/README.md b/README.md index 3a42e62..ed7745c 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ In-app updates are signed separately and verified before installation. When you close the window, the app stays in the system tray by default. Opening LowNotes again shows and focuses the existing window, restoring it if minimized. Only one instance runs at a time. You can change the close-to-tray behavior in **Settings → General**; the tray menu also lets you quit completely. -LowNotes checks for a new version every few minutes and when its window regains focus, downloads it in the background and then asks to restart. On Linux, updates follow the installation format. DEB and RPM packages installed from the release files update inside LowNotes with a package of the same format (dpkg or rpm installs it after the administrator password prompt), and unmanaged AppImages in a writable folder replace themselves. The Arch package shows a new-version notice with a download for the matching package; install it with pacman. Repository, AUR, Flatpak and Snap installations should be updated through their original source when the new version becomes available there. Portable `.tar.gz` installations require replacing the application files manually. Native packages never replace their executable with an AppImage. +LowNotes checks for a new version every minute and when its window comes back, downloads it in the background and then asks to restart. On Linux, updates follow the installation format. DEB and RPM packages installed from the release files update inside LowNotes with a package of the same format (dpkg or rpm installs it after the administrator password prompt), and unmanaged AppImages in a writable folder replace themselves. The Arch package shows a new-version notice with a download for the matching package; install it with pacman. Repository, AUR, Flatpak and Snap installations should be updated through their original source when the new version becomes available there. Portable `.tar.gz` installations require replacing the application files manually. Native packages never replace their executable with an AppImage. ## What the app offers diff --git a/package.json b/package.json index e14e67a..8c78bbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lownotes", - "version": "0.5.2", + "version": "0.5.3", "description": "Local-first Markdown note-taking app with encrypted P2P sync, real-time collaboration and optional AI for Windows, Linux and macOS.", "homepage": "https://lowbloat.app/en/produtos/lownotes/", "repository": { diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 5f11260..9c8c75b 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -3066,7 +3066,7 @@ dependencies = [ [[package]] name = "lownotes" -version = "0.5.2" +version = "0.5.3" dependencies = [ "anyhow", "base64 0.23.1", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 1225023..26243ed 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lownotes" -version = "0.5.2" +version = "0.5.3" description = "Local-first Markdown notes with serverless P2P sync and real-time collaboration" authors = ["LowBloat"] license = "AGPL-3.0-only" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e9f4bf2..e4aee35 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "LowNotes", - "version": "0.5.2", + "version": "0.5.3", "identifier": "dev.lowbloat.lownotes", "build": { "beforeDevCommand": "bun run icons && bun run dev", diff --git a/src/lib/components/TitleBar.svelte b/src/lib/components/TitleBar.svelte index f8a276a..7729142 100644 --- a/src/lib/components/TitleBar.svelte +++ b/src/lib/components/TitleBar.svelte @@ -7,12 +7,15 @@ import type { createWindowFrame } from '$lib/state/window-frame.svelte'; import MenuList from './MenuList.svelte'; - let { menus, title, detail = '', frame } = $props<{ + let { menus, title, detail = '', frame, update = null, onUpdate } = $props<{ menus: AppMenu[]; title: string; /** Shown dimmed after the title, such as the vault name. */ detail?: string; frame: ReturnType; + /** A newer version waiting for the user; `downloaded` once a restart installs it. */ + update?: { version: string; downloaded?: boolean } | null; + onUpdate?: () => void; }>(); let buttons = $state([]); @@ -153,6 +156,13 @@
+ {#if update && onUpdate} + + {/if} + {#if !IS_MAC}