Repository navigation
v2.7.0: Architecture Hardening, Structured Concurrency & macOS Polish 🏛️⚡
v2.7.0: Architecture Hardening, Structured Concurrency & macOS Polish 🏛️⚡
Welcome to Spice v2.7.0! This release hardens the Spice core engine—eliminating architectural boundary leakage to restore a clean, pure-Go domain core—while introducing structured concurrency across background workers and resolving macOS wallpaper caching behavior.
✨ What’s New
🏛️ Restored Hexagonal Boundaries (Pure Go Domain Core)
We audited and eliminated GUI toolkit dependencies that had leaked into internal packages over time. The wallpaper engine, download dispatcher, REST API server, and internationalization layer now operate strictly as pure Go packages communicating via declarative UI schemas (pkg/ui/schema/):
- Clean Domain Isolation: All background file operations, image processing pipelines, network scrapers, and REST handlers execute completely independent of GUI toolkit lifecycles.
- Headless Testability: Core engine workflows, rate limiters, and provider settings can now be verified in headless CI environments without requiring a running display server (X11/Wayland/Windows).
⚡ Structured Concurrency & Thread-Safety
- Graceful Shutdown Synchronization: Replaced detached background goroutines in
FileManagerandImageStorewith trackedsync.WaitGroupworker pools and atomic shutdown guards (fm.closing), guaranteeing zero leaked goroutines or file access race conditions on app exit. - Responsive Cancellation: Background deep deletions and orphan cleanup routines now evaluate context cancellation between directory walk iterations to yield immediately when quitting or sleeping.
🍎 macOS Wallpaper Caching & Startup Polish
- Eliminated Ghost Frames & Caching Stalls: Resolved an issue where macOS Dock / WindowServer aggressively cached wallpapers by inode, causing stale frames during live tuning. We rate-limited the live tuning loop to match macOS cross-fade animations and implemented atomic cache invalidation (
.spice_tmphardlinking + mtime touch), with automatic startup sweeps inEnsureDirs()to clean temporary hardlinks. - Native "Start at Login" Settings Button: Added a dedicated button in General Preferences (
macOS) that launches Apple System Settings directly intoLoginItems-Settings.extension.
🌐 Pure Go Cross-Platform Localization (i18n)
- Native OS Language Detection: Replaced GUI toolkit language detection with a pure Go cross-platform engine (
go-locale). - 10 Synchronized Languages: All new settings and buttons are fully translated across English, German, Spanish, French, Italian, Japanese, Portuguese, Russian, Ukrainian, and Traditional Chinese.
🐛 Bug Fixes & System Stability
- Museum Active Query Counters: Fixed collection count calculation to accurately reflect active and filtered streams in Preferences.
- Atomic Query Toggling: Prevented duplicate query entries when rapidly checking and unchecking curated museum streams.
- Dispatcher Rate Limiting: Adjusted rate-limiter timing assertions to accommodate virtual machine clock tick jitter on CI runners while maintaining strict request pacing against museum endpoints.
📦 Installation
For macOS:
- Homebrew (Recommended):
brew tap dixieflatline76/spice brew install --cask spice
- Direct Download: Download
Spice-2.7.0-macos-arm64.dmgfrom the assets below, open it, and drag Spice.app into Applications. - Mac App Store: Update directly via the Mac App Store.
For Windows:
- Winget (Recommended):
winget install dixieflatline76.Spice
- Microsoft Store: Update directly from the Microsoft Store.
- Installer: Download
Spice-Setup-2.7.0-windows-amd64.exefrom the assets below. - Portable: Download
Spice-2.7.0-windows-amd64.exeto run without installing.
Browser Extensions:
- Safari: Included with the macOS app.
- Chrome: Install from the Chrome Web Store.
- Firefox: Install from the Firefox Add-ons page.
💬 Feedback
Running into any issues or have feedback on the new architecture? Let us know at GitHub Issues or reach out in discussions. Thank you for supporting open-access art and independent software! 🌶️✨