Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 17 Aug 18:10
· 16 commits to main since this release

Latent Library v1.2.0 - Release Notes

Overview

v1.2.0 is a visual and reliability release. The entire UI has been rebuilt on the Latent Design System, the shared look used by Latent Model Organizer and Latent Tools, with a new component layer, redesigned splash screen, filmstrip, and settings modal. Alongside the redesign, this release fixes several long-standing bugs that caused hangs, leaks, and silently-broken thumbnails, and adds a smarter Duplicate Detective workflow.


🎨 Design System Redesign

  • Latent Design System adoption: The app shell, sidebar, titlebar, toolbar, dialogs, and every tool view (Browser, Comparator, Scrubber, Speed Sorter, Duplicate Detective, Collections) have been rebuilt against the shared Latent Design System token set. Colors, spacing, radii, and type scale now resolve from one source instead of scattered hardcoded values.
  • 16 reusable DS primitives (LButton, LInput, LSelect, LSwitch, LSlider, LDialog, LCard, StatusPill, Titlebar, and more) replace ad hoc PrimeVue styling across the app.
  • Redesigned splash screen, filmstrip, and settings modal to match the new visual language.
  • Updated the app icon and splash screen logo to the new LL monogram.
  • Lucide icons throughout, replacing the old PrimeIcons font glyphs, including star ratings, which previously rendered via a dead PrimeIcons class.
  • Ctrl+Scroll UI zoom: the whole app now scales 50%-250% on Ctrl/Cmd+wheel (Ctrl+0 to reset), matching Latent Tools. Guarded so it doesn't fight the image viewer's own zoom.
  • Consistent view headers: every tool view now shares one title/subtitle treatment instead of four independently-drifted copies.
  • Legacy theme CSS retired: the old themes/*.css namespace (11 variables, including off-palette neon hexes that were still reachable through indirection) has been fully replaced by Latent Design System tokens; no second color system is left in the app.
  • primevue-overrides.css hex cleanup: the two accent-color raw hexes on the comparator slider now resolve through design tokens instead of literals.
  • LButton's primary variant restored to the DS spec: solid accent fill is reserved for the cta variant only ("one gradient CTA per screen"), and primary is now a subtler surface-and-border treatment.

✨ New Features

Duplicate Detective: Best Resolution banner

When reviewing a duplicate pair, a "Best Resolution" banner now appears above the Keep button of whichever image has more pixels, so there's no need to compare the Resolution/Size fields by eye. Ties fall back to file size (larger wins), using the same comparison logic as the existing "Keep Best Resolution" batch-resolve strategy, so the on-screen recommendation always agrees with what batch-resolve would pick.

Missing-file placeholder

Thumbnails for files that have gone missing from disk now show a calm, muted placeholder instead of the browser's broken-image glyph. A missing file is an expected state in a local-first library, not an application error. Wired into the gallery grid, filmstrip, and collection previews.


🐛 Reliability & Bug Fixes

  • Thumbnails were silently failing on every first-time generation. A mismatch between the temp file's extension and Thumbnailator's output format meant every thumbnail write threw NoSuchFileException behind the scenes, falling back to the full image and leaking an orphaned temp file per attempt. Thumbnails now generate and cache correctly.
  • Folders opened for the first time showed an empty grid until clicked a second time. Background indexing is asynchronous by design (so large folders don't block the UI), but nothing re-fetched once it finished; the grid now recovers on its own within about a second.
  • Unreadable files no longer hang the app. Endpoints that stream image files previously trusted File.exists(), which doesn't prove the bytes are actually readable; one folder of unreadable files could saturate the browser's connection pool and freeze the entire UI (including unrelated views like Collections). These now fail fast with a 404 in milliseconds.
  • Folder watchers no longer leak on every navigation. An overly broad exception handler was swallowing the interrupt signal used to stop a watcher, letting old watchers pile up (64 of 122 threads in one observed case) instead of shutting down.
  • Fixed the Linux AppImage build failing to launch on first run. The app resolved its own location via app.getPath('exe'), which inside an AppImage points at a temporary, read-only FUSE mount rather than the real file — every Linux user hit an ENOENT trying to create the data/ folder before the backend could even start.
  • Missing files are now excluded from search, collections, and navigation instead of appearing as broken entries.
  • Filter dropdown tooltips no longer crash the toolbar. PrimeVue's tooltip directive assumed every dropdown has an <input>; non-editable dropdowns don't, which threw on every view transition.
  • Fixed a Settings modal rendering bug where the sidebar's background blur trapped the modal inside the sidebar instead of centering it fullscreen.
  • Fixed several post-redesign regressions: Speed Sorter's delete/undo requests, infinite-scroll filtering with sampler/LoRA filters, a collections toggle whose click target stopped working, Escape no longer exiting single-image view, and a status pill that stopped showing live text.
  • Fixed nav-tree root nodes (Collections, Pinned, This PC) incorrectly showing a selection highlight when clicked to expand/collapse.
  • Thumbnail and indexing failures are now logged at a visible level instead of silently swallowed at trace, so an unreadable source file leaves a trace instead of just timing out.
  • New and deleted Collections no longer require a full reload to show up in the sidebar. Creating or deleting a collection called a store action that didn't exist; the error was swallowed by an empty catch, so the save/delete itself still succeeded but the sidebar tree silently never refreshed.

🧪 Testing

  • Regression tests added for the folder-watcher leak, the unreadable-file 404 behavior, and the thumbnail generation fix (the existing test for this had been silently skipping itself against a fixture file that was never checked in).
  • Civitai resource-block metadata parsing (Model and LoRAs, including Unicode extraction) gained dedicated test coverage.

📋 Upgrade Instructions

Latent Library is fully portable. To upgrade without losing your data:

  1. Download the new binary for your platform below.
  2. Replace your old executable with the new one.
  3. Keep your existing data/ folder in place next to the new executable. Your database, collections, ratings, notes, and thumbnails will load automatically.

Full Changelog: v1.1.1...v1.2.0