chore: bump versions to 0.8.0

Cut the 0.8.0 release (dependency upgrades + single-instance and
error-handling hardening): daemon Cargo.toml/Cargo.lock to 0.8.0, extension
metadata.json version to 8, and add the [0.8.0] CHANGELOG entry.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Eduard Tolosa 2026-05-26 21:34:41 -05:00
parent 2dc15a4849
commit d861bbac4d
4 changed files with 34 additions and 3 deletions

View file

@ -6,6 +6,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
--- ---
## [0.8.0] - 2026-05-26
### Changed
- Upgraded daemon dependencies: zbus 4 -> 5, rusqlite 0.31 -> 0.40, dirs 5 -> 6.
### Fixed
- Single-instance daemon: the bus name is now requested with `DoNotQueue`
instead of `ReplaceExisting | AllowReplacement`. If the name is already owned
the daemon exits cleanly instead of (a) running without owning it (zbus 5
returns `InQueue` as `Ok`) or (b) stealing the name and leaving the previous
instance running as an orphan (zbus does not terminate a replaced owner).
- Real SQLite errors are no longer swallowed as "not found": `upsert_item`'s
dedup lookup and `get_thumbnail` / `get_raw_item` now distinguish a missing
row (`Ok(None)`) from a genuine error (propagated), via `optional()`.
- Daemon supervisor: a guard prevents spawning two daemons when an in-flight
name-owner check overlaps a backoff retry, and the exit handler ignores
foreign/stale subprocess exits so restart accounting can't be corrupted.
- Panel: clearing history (or a `HistoryCleared` signal) now invalidates the
active search snapshot, so scrolling can't render stale rows; the
scroll-into-view idle is guarded against a destroyed panel.
### Internal
- clippy pedantic/nursery cleanup across the daemon (format args, redundant
clone, pass-by-reference, doc backticks), with `#[allow]` + rationale for the
intentional lints (the single-writer lock hold, zbus interface `async`).
---
## [0.7.0] - 2026-05-26 ## [0.7.0] - 2026-05-26
### Fixed ### Fixed

View file

@ -1205,7 +1205,7 @@ dependencies = [
[[package]] [[package]]
name = "strata-daemon" name = "strata-daemon"
version = "0.7.0" version = "0.8.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"blake3", "blake3",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "strata-daemon" name = "strata-daemon"
version = "0.7.0" version = "0.8.0"
edition = "2021" edition = "2021"
description = "Strata clipboard manager backend daemon" description = "Strata clipboard manager backend daemon"

View file

@ -2,7 +2,7 @@
"name": "Strata", "name": "Strata",
"description": "A fast, stutter-free clipboard manager. All I/O runs in a Rust daemon - GNOME Shell is never blocked.", "description": "A fast, stutter-free clipboard manager. All I/O runs in a Rust daemon - GNOME Shell is never blocked.",
"uuid": "strata@edu4rdshl.dev", "uuid": "strata@edu4rdshl.dev",
"version": 7, "version": 8,
"shell-version": ["45", "46", "47", "48", "49", "50"], "shell-version": ["45", "46", "47", "48", "49", "50"],
"settings-schema": "org.gnome.shell.extensions.strata", "settings-schema": "org.gnome.shell.extensions.strata",
"url": "https://github.com/Edu4rdSHL/Strata" "url": "https://github.com/Edu4rdSHL/Strata"