1
0
  • v0.5.1 1bea2dbc60

    Harmony 0.5.1 Stable

    8ball released this 2026-11-14 18:54:40 +00:00 | 0 commits to main since this release

    Harmony 0.5.1

    Reliability & Migration Fixes

    • Zero-race Windows & multi-GB fable.db migration (harmony-core):
      • Added cross-process exclusive .migration.lock (share_mode(0) on Windows, PID lockfile on Unix) and PID-qualified harmony.db.tmp-<pid> backup files to eliminate os error 32 collisions when two Harmony processes start together.
      • Increased SQLite online backup page step to 64 MiB with zero artificial sleep (16384 pages, 0ms), cutting multi-gigabyte fable.db -> harmony.db backup time dramatically.
      • Made ensure_default_migrated() run at most once per process (OnceLock) instead of 3x during startup, and excluded regenerable kb-index while hardlinking immutable blobs/ when supported.
      • Automatically self-heals empty skeleton harmony.db files and poisoned .migrated_from_fable_v1 receipts when a populated fable.db still exists.
    • Clean restart & updater UX (harmony-desktop, harmony-app, harmony-update, nig.iss):
      • Ordered wait_for_predecessor() before ensure_default_migrated() so restarted processes never contend with exiting ones.
      • Added NIG (C:\Program Files\NIG) install directory preservation and updated restart-app.ps1 to recognize both harmony-* and fable-* processes.
      • Routed internal gitty.iw5.ir release requests directly before falling back to system proxy settings.
      • Added explicit "Downloading X.Y.Z…" status and "Update" action button in Settings > Updates when a newer version is available.
    Downloads