From 2a4a48c0fb1a591adfb0b94389773160712a50bd Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sun, 23 Aug 2026 09:23:53 +0200 Subject: [PATCH] Release 0.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not a patch: this carries a data-loss fix and a feature. Collection membership merged on `images.content_hash`, which the schema computes only for import dedup and reconnect — never in a scan. On a synced library it is NULL for every image, so the union matched nothing and the catalog push that follows a merge overwrote whatever the other device had uploaded. Collections arrived named and empty on every device, and each sync destroyed the other's membership. Keyed on `oc:fileid` now, which every scanned image has. Verified on a 23,000-image library: 247 memberships recovered, and a round trip between tablet and desktop confirmed in both directions. Card import (FR-CAT-10, FR-CAT-11, FR-NC-7a, FR-NC-7b) arrives with it: the ingest engine, the write half of the storage abstraction, removable-volume detection, duplicate detection in two tiers, dated folders on both sides, and thumbnails made while the originals are still in hand. Uploads always go to the library on the server; what lands on this machine is a staging copy the app removes once the upload is confirmed, and a move-import empties the card only of photographs the server has acknowledged. Co-Authored-By: Claude Opus 5 (1M context) --- Cargo.lock | 34 +++++++++++++++++----------------- Cargo.toml | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 22fdcc9..789e9bb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1221,7 +1221,7 @@ checksum = "f27ae1dd37df86211c42e150270f82743308803d90a6f6e6651cd730d5e1732f" [[package]] name = "darkroom-android" -version = "0.3.0" +version = "0.4.0" dependencies = [ "android_logger", "dr-sync-nextcloud", @@ -1232,7 +1232,7 @@ dependencies = [ [[package]] name = "darkroom-desktop" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "dr-ui", @@ -1404,7 +1404,7 @@ checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" [[package]] name = "dr-catalog" -version = "0.3.0" +version = "0.4.0" dependencies = [ "dr-plat", "dr-types", @@ -1417,7 +1417,7 @@ dependencies = [ [[package]] name = "dr-decode" -version = "0.3.0" +version = "0.4.0" dependencies = [ "dr-types", "env_logger", @@ -1431,7 +1431,7 @@ dependencies = [ [[package]] name = "dr-export" -version = "0.3.0" +version = "0.4.0" dependencies = [ "dr-decode", "dr-gpu", @@ -1449,7 +1449,7 @@ dependencies = [ [[package]] name = "dr-gpu" -version = "0.3.0" +version = "0.4.0" dependencies = [ "bytemuck", "dr-decode", @@ -1465,7 +1465,7 @@ dependencies = [ [[package]] name = "dr-ingest" -version = "0.3.0" +version = "0.4.0" dependencies = [ "dr-plat", "dr-types", @@ -1477,7 +1477,7 @@ dependencies = [ [[package]] name = "dr-lens" -version = "0.3.0" +version = "0.4.0" dependencies = [ "lensfun", "log", @@ -1485,7 +1485,7 @@ dependencies = [ [[package]] name = "dr-pipeline" -version = "0.3.0" +version = "0.4.0" dependencies = [ "dr-types", "log", @@ -1494,7 +1494,7 @@ dependencies = [ [[package]] name = "dr-plat" -version = "0.3.0" +version = "0.4.0" dependencies = [ "android-native-keyring-store", "dr-types", @@ -1507,7 +1507,7 @@ dependencies = [ [[package]] name = "dr-segment" -version = "0.3.0" +version = "0.4.0" dependencies = [ "env_logger", "log", @@ -1520,7 +1520,7 @@ dependencies = [ [[package]] name = "dr-sync" -version = "0.3.0" +version = "0.4.0" dependencies = [ "async-trait", "dr-types", @@ -1531,7 +1531,7 @@ dependencies = [ [[package]] name = "dr-sync-nextcloud" -version = "0.3.0" +version = "0.4.0" dependencies = [ "async-trait", "dr-decode", @@ -1552,7 +1552,7 @@ dependencies = [ [[package]] name = "dr-thumbs" -version = "0.3.0" +version = "0.4.0" dependencies = [ "dr-types", "jpeg-encoder", @@ -1564,7 +1564,7 @@ dependencies = [ [[package]] name = "dr-types" -version = "0.3.0" +version = "0.4.0" dependencies = [ "serde", "serde_json", @@ -1573,7 +1573,7 @@ dependencies = [ [[package]] name = "dr-ui" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "dr-catalog", @@ -6896,7 +6896,7 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "traceability" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "serde", diff --git a/Cargo.toml b/Cargo.toml index f866465..decd865 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ members = [ ] [workspace.package] -version = "0.3.0" +version = "0.4.0" edition = "2021" rust-version = "1.92" license = "GPL-3.0-or-later"