Files
luminary/CHANGELOG.md
T
bhursey 5f15b528f4 Read the machine architecture, not the process's, in the launcher
The platform check read PROCESSOR_ARCHITECTURE, which a WOW64 process reports as
x86. Starting Luminary from the setup's finish page therefore stopped on 64-bit
Windows with "Luminary ships a 64-bit runtime; this PC reports 'x86'". The
machine architecture now comes from PROCESSOR_ARCHITEW6432 and
Is64BitOperatingSystem.
2026-12-02 16:23:12 +00:00

203 lines
11 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
Dated release notes, newest first. The same entries are summarised on the product
page; this file is the complete list.
## Unreleased
Finished in the tree, not part of any build yet.
- **Film looks and presets grade over your white balance.** Applying a look used
to overwrite Temp and Tint with the stock's own numbers, so a frame that had
been corrected came back with the look's cast on an uncorrected image. The
cast is now kept apart from the sliders and applied after your correction; it
layers on instead of replacing it, and switching looks swaps the cast rather
than stacking them. Every preset tile now renders over the photo's whole
current grade — exposure, tone, colour, crop and white balance — so a
thumbnail is what the click produces, and the rail keeps its images while the
tiles catch up. The Light panel reports the applied look's cast and the final
balance the photo is graded at, under Temp and Tint.
- **Object removal on the server** (`POST /api/photos/:id/inpaint`, LaMa, Apache-2.0,
bundled weights, no network). The routes and the cached-render store are in place;
there is no editor control for it yet, so nothing changes for a user.
## 0.5.4.1 — 2 December 2026
Windows patch on 0.5.4 for the Fujifilm import report, plus the metadata work that was
finished after 0.5.4. The installer and portable zip are linked from the download page
alongside 0.5.4; macOS remains at 0.5.1.
### Fixed
- **The launcher no longer rejects a 64-bit PC started from a 32-bit parent.**
The platform check read `PROCESSOR_ARCHITECTURE`, which a WOW64 process reports
as `x86`. Starting Luminary from the setup's own finish page (a 32-bit NSIS
process) therefore stopped at "Luminary ships a 64-bit runtime; this PC reports
'x86'" on ordinary 64-bit Windows. It now reads the machine architecture from
`PROCESSOR_ARCHITEW6432` and `Is64BitOperatingSystem`, so launch context no
longer changes the answer.
- **The setup now starts Luminary when "Start Luminary" is ticked.** The finish
page ran the launcher with NSIS `Exec`, which passes the path straight to
`CreateProcess`. This build ships the PowerShell launcher, so the target was
`Luminary.vbs`, a script `CreateProcess` cannot start: the box was ticked, the
installer closed and no window opened. It now goes through the shell
(`ExecShell`), which starts the `.exe`, `.vbs` and `.cmd` alike. The 0.5.4.1
setup was rebuilt from the same staged bundle; the zip is unchanged.
- **Fujifilm imports are about five times faster.** LibRaw was asked for three
Markesteijn demosaic passes on X-Trans sensors; on a 40 MP X-T5 frame that took
**49.9 s**, and one pass takes **8.8 s** with no visible difference in the 6000 px
proxy the editor works on. X-Trans files are detected from the camera make and model
after the cheap header read, and demosaic at one pass
(`LUMINARY_RAW_XTRANS_QUALITY`, 1–3); Bayer files keep their previous setting. A full
40 MP decode fell from 44–50 s to about 20 s including the 16-bit sidecar.
- **A raw can no longer be saved as an unopenable 0×0 photo.** When decoding failed or
timed out, the fallback scanned the container for a JPEG and could stop at a nested
EXIF thumbnail's end marker, then store the truncated bytes anyway, with width and
height 0. It now tries every embedded candidate largest-first and keeps the first one
that actually decodes, so a hard file imports from the camera's own preview instead.
The import no longer trusts a server-reported `0` for a dimension either.
- **A wide selection no longer fails in waves.** The decode timeout used to start when
the request arrived and therefore counted time spent queued for a worker, and a
timed-out decoder was returned to the pool while still busy with the abandoned job —
four parallel Fuji files produced four timeouts and four broken previews. The clock now
starts when a worker picks the job up, and a timed-out worker is discarded.
- **Progress starts with the import.** The bar was only updated when a file finished, so
a 16-file Fuji import showed nothing for the first minute and then jumped to 4/16. It
now reports before each file starts, names the file, and says how many are still
waiting (`7 / 16 · 9 waiting · DSCF1024.RAF`).
- **The 16-bit sidecar no longer blocks previews.** Its PNG is compressed off the main
thread, so the editor stays responsive while an import runs.
### Changed
- **Raws import four at a time.** The browser queues raw uploads through a four-slot
limiter, so the decoder pool gets a full window instead of serialising behind a
two-slot one. On an eight-file 40 MP X-T5 batch that cut the wall time from ~66 s to
~54 s and the per-file median decode from 33 s to 26 s. Camera JPEGs and PNGs still
import four at a time, because the browser decodes those itself.
- **The camera-to-sRGB pass runs on a worker thread.** It was the widest synchronous
section left in a decode, and four parallel imports queued behind it on the event
loop. The frame buffers are now allocated on `SharedArrayBuffer`, so a worker writes
the same memory the encoder reads and nothing is copied across the boundary; frames
that arrive unshared fall back to the previous synchronous path.
### Also in this build (finished after 0.5.4)
- **Hierarchical keywords, IPTC and portable ratings.** Keywords can be grouped as paths
(`Wedding > Ceremony > Rings`) with suggestions from what is already in the catalog,
the IPTC fields are editable in the metadata panel, and star ratings and colour labels
are written to XMP (`xmp:Rating`, `xmp:Label`) alongside `dc:subject` and
`lr:hierarchicalSubject`, so they survive a round trip through Lightroom or Bridge.
### Notes
- Windows only. `Luminary-0.5.4.1-win-x64-setup.exe` and the portable zip are built
locally and published as links on the download page, with their SHA-256 sums in
`windows/releases/SHA256SUMS.txt`.
## 0.5.4 — 1 December 2026
Windows and Linux bundles rebuilt with the new export format. macOS remains at
0.5.1 because it has to be built on a Mac.
### Added
- **JPEG XL export.** The export dialog offers JPEG XL alongside JPEG, PNG, WebP and
16-bit TIFF, with the quality slider and a lossless switch. Files are 8-bit sRGB,
encoded by libjxl compiled to WebAssembly in the app itself, so the export stays
offline and nothing is uploaded. The codec loads only when a JXL is exported. No
ICC profile or XMP metadata is embedded yet, and 16-bit JXL waits on a float-input
encoder build. The codec is Apache-2.0 and makes no network requests.
### Security
- **Static security audit published** as [SECURITY-AUDIT.md](SECURITY-AUDIT.md):
dependency scan plus a review of authentication, authorisation, uploads, path
handling, secrets at rest and outbound requests. No exploitable issue was found
in code that ships; the two production advisories are a transitive `adm-zip`
inside `onnxruntime-node` that this application cannot reach.
## 0.5.3.1 — 1 December 2026
Windows and Linux bundles rebuilt. macOS stays at 0.5.1: the app has to be built on
a Mac with the Xcode command line tools, and no Mac was available.
### Added
- **Before/after split** in Develop: a draggable handle compares the edited frame
with the untouched source, alongside the existing hold-`\` full-frame preview.
- **Native Windows window.** Windows bundles now ship `LuminaryWindow.exe`, a
WebView2 window host built from `windows/launcher/webview2` (.NET 8, self-contained
win-x64). The app opens its own window: no browser process, no Edge profile, no
Microsoft account and no settings sync. If the WebView2 runtime is missing, the
window says so and links to the one-time download.
- **Offline import checks in both smoke tests.** `linux/SMOKE-LINUX.sh` and
`windows/SMOKE-WINDOWS.ps1` now start under a proxy pointed at a black hole, import
a TIFF through the real upload → decode → preview path, and assert the launcher and
app window bypass proxies, so a bundle cannot regress to proxy-routed loopback
requests.
### Changed
- **The local process is called the local engine**, not "the server", everywhere a
user reads it: the Windows, Linux and macOS launchers, the import dialog, the join
page and the "cannot reach" error. Team-server installs keep the server wording.
- The import dialog states that raws are demosaiced by the local engine on this PC and
that nothing leaves the computer, instead of implying an upload.
- The Windows fallback app window prefers Chrome over Edge.
- The installer's **Start Luminary** tick, the Start-menu and desktop shortcuts and
start-at-login run `Luminary.exe` instead of `Luminary.vbs`, so they no longer depend
on Windows Script Host — which group policy can disable, leaving the tick silently
doing nothing. `.vbs` and `.cmd` remain fallbacks for bundles without the native
launcher.
- Downloads describe the network need as `Network: not needed` and the process as a
background service on this PC.
### Fixed
- **The Windows bundle starts with the network disconnected.** The launcher waited for
`/api/health` with `Invoke-WebRequest`, which resolves the system proxy/PAC before
the URL; offline, every probe failed and the launcher killed a healthy engine after
120 seconds. The probe is now a raw TCP request to `127.0.0.1`, the Go launcher uses
a loopback-only transport, and app windows start with proxies disabled.
- The macOS launcher probes with `curl --noproxy '*'` for the same reason.
- A fresh Windows build creates the NSIS cache directory before extracting the
compiler, instead of failing on the first run.
### Notes
- macOS 0.5.3.1 is not built yet. On a Mac:
`git pull && node macos/build.mjs --arch universal --node v22.23.5 --publish`.
- Screenshots and the bundled user guide still describe the team-server workflow; they
are being brought in line with the single-user desktop app.
## 0.5.2 — 1 December 2026
- AI denoise offers three models: Guided (fastest), SCUNet (learned, removes the most
grain) and NLM, each cached separately so switching back to one already rendered is
instant.
- The panel reports the stage it is in and, for SCUNet, the tile count while a render
runs instead of leaving a blank spinner.
- The bundles carry the SCUNet weights and ONNX Runtime, so the downloads are larger
than 0.5.1: the Windows setup is 165 MB and the Ubuntu `.deb` is 182 MB.
- The macOS build stays at 0.5.1.
## 0.5.1 — 28 November 2026
- Direct window launches use the PowerShell launcher instead of Windows Script Host,
fixing the direct-launch failure on systems where VBScript is disabled.
- A `.deb` for Ubuntu 22.04 and 24.04 ships alongside the Windows build: same app, same
server, menu entry included.
- A Windows setup exe installs per user with Start-menu shortcuts and keeps the catalog
when uninstalled; the portable ZIP still ships for people who want a folder.
## 0.5.0 — 28 November 2026
- First public beta: browser library, raw editor and Windows app.
- Directly opening the Windows window hands off to the launcher, so desktop mode stays
signed in.
- Masks, lens correction, print layouts and batch export.
- Client galleries with picks, comments and change requests.
- Optional team server for accounts, shared storage and admin.
- Refreshed product site and a 39-page user guide with current screenshots.