Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
70a7c2b
Catalog: an upgrade keeps the files it replaces
nledford Oct 23, 2026
dfea36c
Catalog: a later upgrade tells where it kept the files it replaced
nledford Oct 26, 2026
74121ac
Catalog: a snapshot already in this format is the upgrade done, and t…
nledford Oct 26, 2026
023e8b8
Catalog: a write that fails leaves no staging file, so a copy that ca…
nledford Oct 26, 2026
1dfb033
Catalog: the docs and comments say what a failed later snapshot leave…
nledford Oct 29, 2026
c59f999
Catalog: the damaged-log bullet and the module docs say what is left …
nledford Oct 29, 2026
b28e2ae
Upgrade notice names a damaged log kept by the upgrade; the way back …
nledford Oct 29, 2026
c914ca0
Catalog: the What's New entry names the older catalog format and says…
nledford Nov 5, 2026
c54c05c
Catalog: an upgrade never replaces or removes a kept file that was th…
nledford Nov 7, 2026
6e91bf4
Catalog: the kept-file docs say a copy kept earlier stays, the damage…
nledford Nov 7, 2026
a3cac01
Merge origin/main (78b575658a) into catalog-keep-before-upgrade
nledford Nov 19, 2026
f8e5be9
catalog: a failed rename of a streamed write removes its staging file…
nledford Nov 19, 2026
6934ade
catalog: removing the log's file ends its writer thread
nledford Nov 19, 2026
39fd014
Merge main (f8aee307b2) into catalog-keep-before-upgrade
FredApps Nov 26, 2026
8b05bc2
catalog: a snapshot that landed despite an error tells its kept files…
FredApps Nov 26, 2026
43f5eb9
Merge main (30e25557cb) into catalog-keep-before-upgrade
FredApps Nov 26, 2026
0769621
Merge main (fc10a3faa6) into catalog-keep-before-upgrade
FredApps Nov 26, 2026
2fac6b8
Merge main (5ced0a20dc) into catalog-keep-before-upgrade
FredApps Nov 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions apps/lightcraft-web/src/files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ impl Store for FilesStore {
self.0.truncate(name, len as usize);
Ok(())
}
/// The browser always runs the newest build, and its storage is small.
fn keeps_replaced_formats(&self) -> bool {
false
}
fn describe(&self) -> String {
"browser storage".into()
}
Expand Down
5 changes: 5 additions & 0 deletions crates/catalog/src/fixtures/v6-catalog.log.jsonl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{"seq":4,"crc":2044174370,"op":{"op":"setDevelop","id":8,"settings":{"version":1,"profile":{"id":"lc.color","amount":100.0},"treatment":"color","wb":{"mode":"asShot","temp":7000.0,"tint":0.0},"light":{"exposure":0.0,"contrast":0.0,"highlights":0.0,"shadows":0.0,"whites":0.0,"blacks":0.0},"curve":{"highlights":0.0,"lights":0.0,"darks":0.0,"shadows":0.0,"split_shadows":25.0,"split_mid":50.0,"split_highlights":75.0,"master":[],"red":[],"green":[],"blue":[],"refine_saturation":100.0},"color":{"vibrance":0.0,"saturation":0.0},"mixer":{"red":{"hue":0.0,"sat":0.0,"lum":0.0},"orange":{"hue":0.0,"sat":0.0,"lum":0.0},"yellow":{"hue":0.0,"sat":0.0,"lum":0.0},"green":{"hue":0.0,"sat":0.0,"lum":0.0},"aqua":{"hue":0.0,"sat":0.0,"lum":0.0},"blue":{"hue":0.0,"sat":0.0,"lum":0.0},"purple":{"hue":0.0,"sat":0.0,"lum":0.0},"magenta":{"hue":0.0,"sat":0.0,"lum":0.0}},"point_colors":[],"bw_mix":{"red":0.0,"orange":0.0,"yellow":0.0,"green":0.0,"aqua":0.0,"blue":0.0,"purple":0.0,"magenta":0.0},"grading":{"shadows":{"hue":0.0,"sat":0.0,"lum":0.0},"midtones":{"hue":0.0,"sat":0.0,"lum":0.0},"highlights":{"hue":0.0,"sat":0.0,"lum":0.0},"global":{"hue":0.0,"sat":0.0,"lum":0.0},"blending":50.0,"balance":0.0},"effects":{"texture":0.0,"clarity":0.0,"dehaze":0.0},"vignette":{"amount":0.0,"midpoint":50.0,"roundness":0.0,"feather":50.0,"highlights":0.0,"style":"highlightPriority"},"grain":{"amount":0.0,"size":25.0,"roughness":50.0,"seed":0},"detail":{"sharpen_amount":0.0,"sharpen_radius":1.0,"sharpen_detail":25.0,"sharpen_masking":0.0,"nr_luminance":0.0,"nr_detail":50.0,"nr_contrast":0.0,"nr_color":0.0,"nr_color_detail":50.0,"nr_color_smoothness":50.0},"optics":{"remove_ca":false,"lens_profile":false,"profile_distortion":100.0,"profile_vignetting":100.0,"defringe_purple_amount":0.0,"defringe_purple_hue_lo":30.0,"defringe_purple_hue_hi":70.0,"defringe_green_amount":0.0,"defringe_green_hue_lo":40.0,"defringe_green_hue_hi":60.0,"distortion":0.0,"vignetting":0.0,"vignetting_midpoint":50.0,"ca_red":0.0,"ca_blue":0.0},"geometry":{"upright":"off","guides":[],"upright_transform":null,"vertical":0.0,"horizontal":0.0,"rotate":0.0,"aspect":0.0,"scale":100.0,"offset_x":0.0,"offset_y":0.0,"constrain_crop":false},"crop":{"geometry":{"rect":{"x0":0.0,"y0":0.0,"x1":1.0,"y1":1.0},"angle":0.0},"aspect":null,"flip_h":false,"flip_v":false},"orientation":"Normal","masks":[],"spots":[],"red_eye":[],"lens_blur":{"enabled":false,"amount":0.0,"focal_distance":0.0,"focal_range":0.0},"enhance":{"denoise":0.0,"raw_details":false,"super_resolution":false},"calibration":{"shadows_tint":0.0,"red_hue":0.0,"red_sat":0.0,"green_hue":0.0,"green_sat":0.0,"blue_hue":0.0,"blue_sat":0.0},"disabled_sections":[]},"label":"Temperature","edited":"2026-10-10T14:00:00"}}
{"seq":5,"crc":1983535997,"op":{"op":"pushHistory","id":8,"step":{"label":"Temperature","settings":{"version":1,"profile":{"id":"lc.color","amount":100.0},"treatment":"color","wb":{"mode":"asShot","temp":7000.0,"tint":0.0},"light":{"exposure":0.0,"contrast":0.0,"highlights":0.0,"shadows":0.0,"whites":0.0,"blacks":0.0},"curve":{"highlights":0.0,"lights":0.0,"darks":0.0,"shadows":0.0,"split_shadows":25.0,"split_mid":50.0,"split_highlights":75.0,"master":[],"red":[],"green":[],"blue":[],"refine_saturation":100.0},"color":{"vibrance":0.0,"saturation":0.0},"mixer":{"red":{"hue":0.0,"sat":0.0,"lum":0.0},"orange":{"hue":0.0,"sat":0.0,"lum":0.0},"yellow":{"hue":0.0,"sat":0.0,"lum":0.0},"green":{"hue":0.0,"sat":0.0,"lum":0.0},"aqua":{"hue":0.0,"sat":0.0,"lum":0.0},"blue":{"hue":0.0,"sat":0.0,"lum":0.0},"purple":{"hue":0.0,"sat":0.0,"lum":0.0},"magenta":{"hue":0.0,"sat":0.0,"lum":0.0}},"point_colors":[],"bw_mix":{"red":0.0,"orange":0.0,"yellow":0.0,"green":0.0,"aqua":0.0,"blue":0.0,"purple":0.0,"magenta":0.0},"grading":{"shadows":{"hue":0.0,"sat":0.0,"lum":0.0},"midtones":{"hue":0.0,"sat":0.0,"lum":0.0},"highlights":{"hue":0.0,"sat":0.0,"lum":0.0},"global":{"hue":0.0,"sat":0.0,"lum":0.0},"blending":50.0,"balance":0.0},"effects":{"texture":0.0,"clarity":0.0,"dehaze":0.0},"vignette":{"amount":0.0,"midpoint":50.0,"roundness":0.0,"feather":50.0,"highlights":0.0,"style":"highlightPriority"},"grain":{"amount":0.0,"size":25.0,"roughness":50.0,"seed":0},"detail":{"sharpen_amount":0.0,"sharpen_radius":1.0,"sharpen_detail":25.0,"sharpen_masking":0.0,"nr_luminance":0.0,"nr_detail":50.0,"nr_contrast":0.0,"nr_color":0.0,"nr_color_detail":50.0,"nr_color_smoothness":50.0},"optics":{"remove_ca":false,"lens_profile":false,"profile_distortion":100.0,"profile_vignetting":100.0,"defringe_purple_amount":0.0,"defringe_purple_hue_lo":30.0,"defringe_purple_hue_hi":70.0,"defringe_green_amount":0.0,"defringe_green_hue_lo":40.0,"defringe_green_hue_hi":60.0,"distortion":0.0,"vignetting":0.0,"vignetting_midpoint":50.0,"ca_red":0.0,"ca_blue":0.0},"geometry":{"upright":"off","guides":[],"upright_transform":null,"vertical":0.0,"horizontal":0.0,"rotate":0.0,"aspect":0.0,"scale":100.0,"offset_x":0.0,"offset_y":0.0,"constrain_crop":false},"crop":{"geometry":{"rect":{"x0":0.0,"y0":0.0,"x1":1.0,"y1":1.0},"angle":0.0},"aspect":null,"flip_h":false,"flip_v":false},"orientation":"Normal","masks":[],"spots":[],"red_eye":[],"lens_blur":{"enabled":false,"amount":0.0,"focal_distance":0.0,"focal_range":0.0},"enhance":{"denoise":0.0,"raw_details":false,"super_resolution":false},"calibration":{"shadows_tint":0.0,"red_hue":0.0,"red_sat":0.0,"green_hue":0.0,"green_sat":0.0,"blue_hue":0.0,"blue_sat":0.0},"disabled_sections":[]}}}}
{"seq":6,"crc":3297692306,"op":{"op":"setMeta","id":8,"meta":{"camera":"","lens":"","focal_mm":null,"aperture":null,"shutter":"","iso":null,"location":"","city":"","state":"","country":"","gps":null,"title":"Harbour","caption":"","alt_text":"","extended_description":"","copyright":"","creator":"","keywords":["boats"]}}}
{"seq":7,"crc":4123692544,"op":{"op":"setRating","id":9,"rating":3}}
{"seq":8,"crc":1875893688,"op":{"op":"setVersions","id":9,"versions":[{"name":"Rich","created":"2026-10-10T14:05:00","settings":{"version":1,"profile":{"id":"lc.mono","amount":150.0,"camera_local_tone":true},"treatment":"bw","wb":{"mode":"asShot","temp":6500.0,"tint":12.0},"light":{"exposure":0.0,"contrast":0.0,"highlights":0.0,"shadows":0.0,"whites":0.0,"blacks":0.0},"curve":{"highlights":0.0,"lights":0.0,"darks":0.0,"shadows":0.0,"split_shadows":25.0,"split_mid":50.0,"split_highlights":75.0,"master":[{"x":0.0,"y":0.0},{"x":0.4,"y":0.55},{"x":1.0,"y":1.0}],"red":[{"x":0.0,"y":0.1},{"x":1.0,"y":0.9}],"green":[],"blue":[],"refine_saturation":100.0},"color":{"vibrance":0.0,"saturation":0.0},"mixer":{"red":{"hue":0.0,"sat":0.0,"lum":0.0},"orange":{"hue":0.0,"sat":0.0,"lum":0.0},"yellow":{"hue":0.0,"sat":0.0,"lum":0.0},"green":{"hue":0.0,"sat":0.0,"lum":0.0},"aqua":{"hue":0.0,"sat":0.0,"lum":0.0},"blue":{"hue":0.0,"sat":0.0,"lum":0.0},"purple":{"hue":0.0,"sat":0.0,"lum":0.0},"magenta":{"hue":0.0,"sat":0.0,"lum":0.0}},"point_colors":[{"lum":0.5,"chroma":0.1,"hue":0.0,"hue_shift":20.0,"sat_shift":0.0,"lum_shift":0.0,"variance":0.0,"range":50.0,"hue_range":50.0,"sat_range":50.0,"lum_range":50.0}],"bw_mix":{"red":0.0,"orange":0.0,"yellow":0.0,"green":0.0,"aqua":0.0,"blue":0.0,"purple":0.0,"magenta":0.0},"grading":{"shadows":{"hue":0.0,"sat":0.0,"lum":0.0},"midtones":{"hue":0.0,"sat":0.0,"lum":0.0},"highlights":{"hue":0.0,"sat":0.0,"lum":0.0},"global":{"hue":0.0,"sat":0.0,"lum":0.0},"blending":50.0,"balance":0.0},"effects":{"texture":0.0,"clarity":0.0,"dehaze":0.0},"vignette":{"amount":0.0,"midpoint":50.0,"roundness":0.0,"feather":50.0,"highlights":0.0,"style":"highlightPriority"},"grain":{"amount":0.0,"size":25.0,"roughness":50.0,"seed":0},"detail":{"sharpen_amount":0.0,"sharpen_radius":1.0,"sharpen_detail":25.0,"sharpen_masking":0.0,"nr_luminance":0.0,"nr_detail":50.0,"nr_contrast":0.0,"nr_color":0.0,"nr_color_detail":50.0,"nr_color_smoothness":50.0},"optics":{"remove_ca":false,"lens_profile":false,"profile_distortion":100.0,"profile_vignetting":100.0,"defringe_purple_amount":0.0,"defringe_purple_hue_lo":30.0,"defringe_purple_hue_hi":70.0,"defringe_green_amount":0.0,"defringe_green_hue_lo":40.0,"defringe_green_hue_hi":60.0,"distortion":0.0,"vignetting":0.0,"vignetting_midpoint":50.0,"ca_red":0.0,"ca_blue":0.0},"geometry":{"upright":"off","guides":[[{"x":0.1,"y":0.1},{"x":0.1,"y":0.9}],[{"x":0.9,"y":0.1},{"x":0.8,"y":0.9}]],"upright_transform":[1.0,0.01,0.0,-0.01,1.0,0.0,0.0,0.002,1.0],"vertical":0.0,"horizontal":0.0,"rotate":0.0,"aspect":0.0,"scale":100.0,"offset_x":0.0,"offset_y":0.0,"constrain_crop":false},"crop":{"geometry":{"rect":{"x0":0.0,"y0":0.0,"x1":1.0,"y1":1.0},"angle":1.5},"aspect":[3,2],"flip_h":true,"flip_v":false},"orientation":"Normal","masks":[{"id":1,"name":"Sky","visible":true,"invert":false,"components":[{"op":"add","invert":false,"shape":{"kind":"linear","start":{"x":0.5,"y":0.0},"end":{"x":0.5,"y":0.4}}},{"name":"Sun","op":"add","invert":true,"shape":{"kind":"radial","center":{"x":0.7,"y":0.2},"rx":0.1,"ry":0.1,"angle":0.0,"feather":50.0,"invert":false}},{"op":"add","invert":false,"shape":{"kind":"luminanceRange","lo":0.6,"hi":1.0,"lo_feather":0.1,"hi_feather":0.0}}],"adjust":{"temp":0.0,"tint":0.0,"exposure":0.0,"contrast":0.0,"highlights":0.0,"shadows":0.0,"whites":0.0,"blacks":0.0,"texture":0.0,"clarity":0.0,"dehaze":0.0,"hue":0.0,"saturation":0.0,"sharpness":0.0,"noise":0.0,"moire":0.0,"defringe":0.0,"color_hue":0.0,"color_sat":0.0,"amount":100.0},"refine":30.0},{"id":2,"name":"Boat","visible":true,"invert":false,"components":[{"op":"add","invert":false,"shape":{"kind":"object","hint":[{"x":0.4,"y":0.6}],"exclude":[{"x":0.1,"y":0.1}],"seg":{"side":256,"data":"eJxjYAAAAAEAAQ==","rect":[0.1,0.2,0.6,0.7]},"detail":[{"side":128,"data":"eJxjYAAAAAEAAQ==","rect":[0.1,0.2,0.6,0.7]},{"side":64,"data":"eJxjYAAAAAEAAQ==","rect":[0.1,0.2,0.6,0.7]}],"edge":2.0}},{"op":"add","invert":false,"shape":{"kind":"prompt","text":"the red boat"}},{"op":"add","invert":false,"shape":{"kind":"colorRange","samples":[[0.5,0.1,0.2]],"refine":40.0}},{"op":"add","invert":false,"shape":{"kind":"people","person":1,"parts":["face"]}},{"op":"add","invert":false,"shape":{"kind":"subject"}}],"adjust":{"temp":0.0,"tint":0.0,"exposure":0.0,"contrast":0.0,"highlights":0.0,"shadows":0.0,"whites":0.0,"blacks":0.0,"texture":0.0,"clarity":0.0,"dehaze":0.0,"hue":0.0,"saturation":0.0,"sharpness":0.0,"noise":0.0,"moire":0.0,"defringe":0.0,"color_hue":0.0,"color_sat":0.0,"amount":100.0}}],"spots":[{"mode":"remove","points":[{"x":0.3,"y":0.3},{"x":0.32,"y":0.31}],"size":0.02,"feather":50.0,"opacity":100.0,"source_offset":{"x":0.05,"y":0.0}}],"red_eye":[{"center":{"x":0.5,"y":0.4},"rx":0.02,"ry":0.015,"pupil_size":50.0,"darken":50.0,"pet":false,"catchlight":{"x":0.1,"y":-0.1}}],"lens_blur":{"enabled":false,"amount":0.0,"focal_distance":0.0,"focal_range":0.0},"enhance":{"denoise":0.0,"raw_details":false,"super_resolution":false},"calibration":{"shadows_tint":0.0,"red_hue":0.0,"red_sat":0.0,"green_hue":0.0,"green_sat":0.0,"blue_hue":0.0,"blue_sat":0.0},"disabled_sections":["detail","light"]},"auto":false}]}}
1 change: 1 addition & 0 deletions crates/catalog/src/fixtures/v6-catalog.snap.json

Large diffs are not rendered by default.

Loading
Loading