Skip to content

Releases

Lumen 2.1.0

Choose a tag to compare

@Reiux Reiux released this 17 Nov 13:34
20b6bf6

Lumen 2.1.0

This release brings full internationalization to the desktop client, a pre-backup review dialog, smoother file preparation, and a healthy batch of interface polish and bug fixes.

Interface, Motion & Typography

  • Pre-Backup Upload Review Dialog: Selecting files or folders used to blindly enqueue everything into the upload pipeline right away. Now you get an Expressive Material 3 review sheet showing the exact photo and video counts, total payload size, and target album mapping before any network requests start. When the selection contains a folder, an "Include subfolders" toggle appears right in the dialog — shown only for folder selections, never for plain photos or videos — and your choice is passed straight through to the upload so what you review is exactly what gets uploaded.
  • Switched to Google Sans Flex: Lumen Desktop now runs on Google Sans Flex across the entire interface. Headers and titles get the clean rounded look, variable weights scale naturally across display densities, and the typography stays visually consistent whether your OS came with the font or not.
  • Material 3 Expressive Language Dialog: Added an in-app language picker in Settings with instant live switching. Changing languages updates the UI immediately without needing to relaunch the app, and persists your choice to config across restarts.

Bug Fixes & Improvements

  • Desktop Auth & Stage 2 Token Resolution (#19): Adding credentials via Embedded Setup or auth strings used to report success during Stage 1 (oauth_token -> master_token) but then fail during uploads with a generic "auth response missing Auth token" error when exchanging for the photos.native bearer token. Credential setup now verifies Stage 2 token acquisition against Google's auth service before saving, aligns the mobile auth endpoint with Android, and surfaces the exact error response from Google instead of masking it.
  • No More Stuck "0 out of 0" Indexing Screen: Dropping or selecting large files (like heavy video files) used to jump straight into the upload view with an empty 0 of 0 counter and idle threads while the backend silently traversed files and hashed SHA-1 checksums on disk. Now the UI holds on a dedicated preparation screen, showing live scanned counts and directory progress until the first worker actually starts uploading.
  • Live Thread Status & Error Translations: Worker thread progress (e.g. "Uploading...", "Hashing...", "Waiting for files...") and cancelled backup error banners used to be hardcoded English strings. They now translate smoothly in real time across all supported locales.
  • Localized Desktop Notifications: Native OS desktop notifications for backup start, completion, pause, resume, and errors now match your chosen language rather than firing in hardcoded English.
  • Subfolder Recursion Toggle in Review: Toggling the subfolder switch inside the pre-backup review modal now triggers a live rescan of the selected directories and updates the item counter and total size on the fly. The toggle is per-upload only — it no longer lives in Settings or on the Backup drop card, so dropping a folder never silently changes your global preferences.
  • Bottom Drop Strip & Mid-Upload Queueing: The "Drop more photos, videos, or folders here" strip moved from the top of the upload view to the bottom, below the progress card and the file queue, so adding another batch is one natural eye movement after scanning the list. Dropping files while a batch is uploading now queues them cleanly: the upload view stays put (no more preparation screen flashing over your running batch) and a toast confirms "Added to queue — it will start after the current backup finishes."
  • Live Scan Counts for File Selections: The preparation screen's "N files found" counter only updated during folder traversals. Dropping or picking a flat list of files (videos, photos) now emits throttled scan progress too, so the indexing screen shows real numbers immediately instead of sitting at zero until the first upload starts.
  • Language Preference Sync: Synchronized language preferences between the desktop UI and the core engine configuration so your choice survives app restarts and CLI syncs.

Internationalization & Translations

  • Four Supported Languages: Lumen now speaks English (en), Indonesian (id / Bahasa Indonesia), Japanese (ja / 日本語), and Spanish (es / Español).
  • Full UI Translation Coverage: All primary navigation tabs, settings panels, account picker menus, dialogs, folder mapping views, and preflight warnings are fully localized.
  • New Strings Localized: The preparation screen ("Preparing your files"), the review dialog's subfolder toggle, and the queue-confirmation toast are translated across all four supported languages from day one.

Core Engine & CI

  • Multi-Platform Dev Builds: GitHub Actions CI now automatically compiles and publishes debug dev builds with developer tools enabled across Linux, macOS, and Windows on the rust-dev branch.
  • Safe Glob Matching in CI: Replaced fragile wildcard paths in Linux and macOS staging steps with safe shell globbing so packaging steps don't fail unexpectedly.
  • Trademark & Nominative Fair Use Updates: Added legal disclaimers and updated project descriptions regarding Google Photos nominative fair use.

Lumen v2.0.1-Hotfix

Choose a tag to compare

@github-actions github-actions released this 11 Nov 06:53

Lumen v2.0.1-Hotfix

This hotfix addresses an account state synchronization bug where the main backup view failed to recognize newly authenticated Google accounts when stored in the system keyring, and expands Linux browser detection to support Brave packages (brave-origin).


Fixes & Improvements

Account Synchronization with OS Keyring

  • Keyring State Sync: Resolved an issue where successfully saving credentials to the OS keyring (FreeDesktop Secret Service on Linux, Credential Manager on Windows, Keychain on macOS) prevented the account from appearing in cfg.account.credentials. This caused get_accounts to return an empty list while selected was populated, leaving the main backup screen stuck on the "Add Google account" state even though the top bar showed the user signed in.
  • Sanitized Config Retention: save_credential now persists an account entry in the local configuration file with the sensitive Token stripped whenever the credential is secured in the OS keyring.
  • UI Reactivity:
    • get_accounts and lumen-cli creds list now fall back to selected if the credential list is empty, ensuring active accounts are never omitted.
    • The main upload view's displayOptions now guarantees the active account is immediately recognized upon completing authentication.
    • The Backup Folders view now re-initializes account lists immediately when accounts are added or switched.

Expanded Browser Detection (Brave on Linux)

  • Brave Origin Support: Added explicit detection for brave-origin (/usr/bin/brave-origin and /opt/brave-origin-bin/brave-origin), the primary Brave package name on Arch Linux and derivatives.
  • Additional Brave Variants: Added executable candidate paths for brave-bin, brave, brave-beta, and brave-nightly so automated browser sign-in via CDP works out of the box across any Linux distribution packaging.

Dev Builds: Bleeding-edge development builds can be downloaded directly from the CI Artifacts page.

Lumen v2.0.0 — Rust Release

Choose a tag to compare

@github-actions github-actions released this 11 Nov 03:31

Lumen v2.0.0 — Rust Release

Lumen 2.0 is a milestone release marking the complete transition from the original Go codebase to a native Rust architecture. The core upload engine (lumen-core) and desktop client (Tauri 2) have been rebuilt from the ground up for lower resource usage, smaller binary footprints, and native platform integration.

This release cuts GUI binary size in half (15.9 MB vs 30.7 MB), reduces the standalone CLI binary to 5.3 MB, drops idle memory usage by ~40%, adds native Linux dynamic Material 3 theming via Matugen, and addresses all identified security edge cases and functional bugs across the stack.


What's New

Native Rust Architecture (Tauri 2 & lumen-core)

  • Core Engine (lumen-core): Replaced the Go backend with a dedicated Rust crate handling hashing, SQLite deduplication, directory scanning, and Google Photos API communications with strict memory safety.
  • Resource Footprint:
    • GUI Binary: Reduced from 30.7 MB down to 15.9 MB (48% smaller).
    • CLI Binary: Reduced from 29.2 MB down to 5.3 MB (82% smaller).
    • Idle Memory (RSS): ~40% lower memory usage across the process tree with zero garbage-collection overhead.
    • CLI Execution: 1.9x faster startup and command execution (2.9 ms vs 5.5 ms).
  • Tauri 2 IPC: Replaced the legacy Wails bridge with Tauri 2's zero-copy IPC for improved stability, faster state synchronization, and native window management across platforms.

Linux Dynamic Material 3 Theming (Matugen)

  • Desktop Color Sync: Added native support for Linux desktop dynamic theming. Lumen parses color schemes generated by Matugen, Quickshell, or wallpaper tools (reading from ~/.local/state/quickshell/user/generated/colors.json, ~/.config/matugen/colors.json, or wallpaper images).
  • Live Theme Watcher: Added an inotify directory watcher that monitors active palette files and smoothly transitions the Material 3 theme in real time when wallpaper or system colors change.
  • Dynamic Swatch: Added a dynamic theme swatch in Settings > Appearance (available on supported Linux systems).

Real-Time Scan Progress & Direct Cancellation

  • Directory Indexing Progress: Added live progress events (scan:progress) during local folder scanning, showing file discovery counts as they are indexed.
  • Immediate Cancellation: Cancelling a scan now halts the indexing loop immediately via shared cancellation tokens instead of continuing in the background.

Remote Album Event Pipeline

  • Added dedicated event dispatching (AlbumProgress, AlbumComplete, AlbumError). Managing or creating Google Photos albums now provides live progress and explicit error reporting rather than failing silently.

Bug Fixes

  • Upload Status & Thread Card IPC Casing: Fixed an IPC model casing mismatch between the Rust backend (camelCase) and the Vue frontend (PascalCase). Upload success/error counts, thread progress cards, and real-time byte counters now display accurately.
  • Chromium Process Cleanup on Sign-In Cancel: Cancelling or closing the Google browser sign-in modal now terminates the spawned browser process immediately via tracked process IDs, preventing orphaned background processes.
  • Live Photo Upload Progress: Connected byte-level progress callbacks to both photo and video streams of Live Photos, eliminating paused progress indicators during video uploads.
  • Live Photo Circuit Breaker: Added circuit breaker tripping on network or quota errors during Live Photo operations, preventing repeated requests during connection drops.
  • Windows User-Level Browser Discovery: Added search paths for per-user browser installs in %LOCALAPPDATA% (Chrome, Brave, Edge) and switched detection from which to where.exe.
  • Google OAuth Cookie Matching: Made cookie name matching case-insensitive so authentication tokens returned with alternate casing (such as Token) are captured correctly.
  • Watched Folder Specificity: Fixed folder configuration shadowing by sorting watched folders longest-path-first and enforcing strict boundary checks when subfolders are disabled.
  • Update Check Parameter Casing: Fixed a parameter mismatch (redirectURL vs redirectUrl) that caused update checks to fail on Tauri 2.
  • Vue Template Cleanups: Removed an invalid child v-memo directive in the theme palette picker and resolved frontend lint warnings.

Security & Reliability Hardening

High Severity

  • Upload Engine Concurrency Race (CWE-362): Enforced an atomic compare-exchange (compare_exchange) check on is_uploading. Concurrent upload triggers now queue cleanly into pending_watch_files without spawning overlapping engines or conflicting over SQLite database locks.
  • Tar Slip & Symlink Traversal in Installer (CWE-59 / CWE-22): Replaced bulk archive extraction in the Windows installer with per-entry validation, rejecting any entry with parent directory components (../) or symlinks pointing outside the target directory.
  • Windows Search Path Binary Hijacking (CWE-426): Enforced fully-qualified system paths (%SystemRoot%\System32\...) for all system process invocations (powershell.exe, cmd.exe, where.exe), preventing untrusted binary execution from the working directory during elevated cleanup.
  • Symlink Exfiltration & Deletion Defense (CWE-59 / CWE-61): Switched all file operations across scanning, watching, and Live Photo parsing to symlink_metadata, rejecting symlinks to prevent accidental file reads or deletion outside watched folders.
  • Proxy Bypass Enforcement (CWE-200): Fixed instances in the upload engine and album manager that bypassed user-configured HTTP/SOCKS5 proxies.

Medium Severity

  • SSRF & Open Redirects in Update Checker (CWE-918 / CWE-601): Enforced strict HTTPS origin verification requiring update queries and redirects to point directly to https://github.com/Reiux/ before making requests.
  • Temporary File Race in Windows Installer (CWE-377): Replaced static cleanup script paths in %TEMP% with uniquely randomized filenames and immediate post-run deletion.
  • Windows Drive Letter Casing (CWE-178): Added case-insensitive path normalization on Windows so variations like C:\ vs c:\ resolve to the correct folder configuration and account.
  • Canonicalization Error Fallback (CWE-754): Added fallback handling to original file paths when canonicalize() fails on UNC or long paths, preventing skipped files during directory scans.
  • Cleartext Credential Protection (CWE-319): Enforced HTTPS for all non-loopback custom endpoints, restricting plain HTTP strictly to localhost and 127.0.0.1.
  • Atomic File Creation & Restricted Permissions (CWE-377 / CWE-276): Stored credentials, configuration files, and SQLite databases (including WAL/SHM files) with O_CREAT | O_EXCL | libc::O_NOFOLLOW and restricted 0600 permissions on Unix.
  • Named Pipe / FIFO Hang Mitigation (CWE-400): Enforced strict metadata.is_file() checks before opening files to prevent scanner threads from hanging on special device files or FIFOs.
  • Bounded HTTP Streaming (CWE-400): Added length-bounded response body reading (capped at 4 MB for API/auth, 512 KB for updates) to prevent out-of-memory exhaustion.

Low Severity

  • Installer HTML Injection Prevention (CWE-79): Replaced innerHTML interpolation with safe textContent DOM nodes in the installer webview.
  • Cryptographic Device ID Entropy (CWE-330): Replaced timestamp nanosecond XORing with 64-bit random values (rand::random::<u64>()).
  • Non-Blocking Backlog Counting: Converted recursive folder backlog calculation to an asynchronous background task via tokio::task::spawn_blocking.
  • Sensitive Memory Wiping (CWE-226): Zeroed out cached token memory upon session invalidation and account logout.
  • Clock Rollback Safety (CWE-754): Replaced unhandled .duration_since(UNIX_EPOCH).unwrap() calls with .unwrap_or_default().

Packaging & Workflows

  • Separated CI & Release Workflows: Code pushes to branch rust run a lightweight test and lint suite on Ubuntu (~1-2 minutes). Heavy multi-platform release builds (macOS Universal .dmg, Windows x64 .exe, Windows ARM64 .exe, Linux AppImage/deb) trigger strictly when a version tag (v*) is pushed.
  • Local Build Guide: Added BUILDING.md with comprehensive prerequisites and build commands for all supported desktop targets.

Lumen v1.1.0 — Final Go release

Choose a tag to compare

@github-actions github-actions released this 08 Nov 11:04

Lumen v1.1.0

This release brings important security fixes, better stability, and fixes the bright white flash when opening the app.

This is also the final release built with Go. I've been rewriting Lumen from scratch in Rust with Tauri to make it faster, lighter on RAM, and feel more native on your desktop.

You won't need to do anything special when the Rust version drops. The update will be completely seamless: your saved Google accounts, settings, and upload cache will carry over automatically without needing you to sign in again or reconfigure anything.

What's New

Security & Privacy

  • Cleaner logs: Log files now strip out authorization tokens, session keys, and sensitive auth data before saving to disk.
  • Safer network requests: Enforced modern TLS encryption and blocked unexpected redirects.

Fixes & Stability

  • Smoother multi-file uploads: Fixed a concurrency bug where uploading multiple files at the same time could cause workers to race or freeze up.
  • Better folder scanning: The scanner now detects circular shortcut and symlink loops so it won't get stuck in an endless loop while scanning your folders.
  • Folder watcher improvements: Added a brief cooldown to the watcher so copying a big folder of pictures won't trigger duplicate upload attempts.
  • Safer upload cancellations: Cancelling an upload now stops all background tasks cleanly without leaving orphan workers running.

Full Changelog: v1.0.1...v1.1.0

Lumen v1.0.1: Minor updates

Choose a tag to compare

@Reiux Reiux released this 01 Nov 12:36

What's Changed in v1.0.1

Improvements

  • Automatic subfolder scanning: Folders dropped into the upload zone or added to Watched Folders now automatically include all nested subdirectories upfront in a single batch.
  • Seamless dark startup: Eliminated the white flash during app launch on macOS and Linux.
  • Sharp Windows taskbar icon: Updated the Windows app icon with full-bleed proportions so it matches native taskbar icons.

Bug Fixes

  • Upload progress accuracy: Fixed an issue where uploading folders caused the total item count to creep upward continuously and left the progress bar hovering around 90%–99%.
  • Minimize to tray on close: Clicking the close (X) button on Windows, macOS, and Linux now properly minimizes Lumen to the system tray when "Minimize to tray" is enabled in Settings instead of quitting.
  • Tray icon tooltip: Corrected the system tray tooltip to show "Lumen" instead of "wails".
  • macOS About dialog: Fixed app capitalization and copyright metadata in the macOS About dialog.
  • Settings panel latency: Resolved an IPC delay that made toggles feel sluggish when clicked.
  • Tab transitions: Fixed a transition compiler crash when navigating between views.

Lumen v1.0.0

Choose a tag to compare

@Reiux Reiux released this 01 Nov 06:47

Lumen Desktop v1.0.0

Lumen Desktop has a new look. The whole app is redesigned in Material 3 Expressive to match the Android app, and a lot of rough edges are fixed along the way.

New

  • Redesigned interface: New navigation rail, buttons, switches, fonts and color palettes. The whole app is a bit more compact (90% scale) so more fits on screen.
  • New logo behavior: The logo's colors follow your theme and it spins once when you change the color. New app icon and tray icon, and a new background for the macOS installer.
  • Automatic sign-in: Lumen opens a Chromium browser (Chrome, Brave, Edge, etc.), picks up your sign-in and closes it for you. If no Chromium browser is found, you can still paste a token manually.
  • Existing albums: Paste an album key or link to upload into an album you already have, and give it a nickname. Typing the same album name again now reuses the album instead of making a new one.
  • Watched folders: Added a subfolder option like on Android, plus a cleaner folder selector that you can collapse.
  • Accounts: A new account picker opens beside your avatar, and you now get a confirmation before an account is removed.
  • Clearer warning: "Delete from device after upload" now shows a proper dialog with a clearer explanation.

Fixes

  • Use Quota and Storage Saver now actually apply. Before, uploads still used unlimited storage. The quality chip updates with them, and the two can no longer be turned on together.
  • Uploading the same files again now says "skipped, already in Google Photos" instead of "uploaded again".
  • Upload notifications now show up when uploads finish.
  • Fixed layout problems when the window is small, including the upload view.
  • Fixed icons that were hard to see in the Vibrant and Expressive palettes.
  • Fixed the sign-in step not noticing when you closed the browser.
  • Fixed the safety and circuit breaker warnings sitting in the wrong place.
  • Fixed the account picker getting cut off.

Credits to xob0t for the original gotohp this is based on.

Lumen v0.11.0-m3e.1

Lumen v0.11.0-m3e.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Oct 03:47

Lumen v0.11.0-m3e.0

Lumen v0.11.0-m3e.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Oct 15:29

Lumen v0.11.0-m3e

Lumen v0.11.0-m3e Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Oct 05:37

What's Changed

  • chore(main): release 0.11.0 by @github-actions[bot] in #1

New Contributors

  • @github-actions[bot] made their first contribution in #1

Full Changelog: https://github.com/Reiux/Lumen/commits/v0.11.0-m3e