Repository navigation
Releases
Releases · dasch-swiss/vitrinli
v10.1.0
10.1.0 (2026-11-12)
Features
- bazel: Run local macOS builds on the NativeLink RBE backend (2f8e221)
Bug Fixes
- deps: Raise rustix to 1.1.6 past RUSTSEC-2026-0486 (1ff668e)
- docker: Ship patched Debian packages in the production image (d4b8cb9)
Code Refactoring
- cache: Name the cache index key after the glossary's Cache key (1ae30ba)
Documentation
- docs: Align the spec layout, citation rule and PR template with the eng plugin (e38b028)
- docs: Close the agent-readiness documentation gaps (4f12f6e)
- docs: Fold UBIQUITOUS_LANGUAGE.md into CONTEXT.md (64025dd)
- docs: State that local RBE use is opt-in through rbe-darwin (352484b)
- server,cli,ffi: Describe the Rust shell as the production server (3ee6bbf)
- specs: Add the DEV-7645 agent-readiness journal (022c949)
- specs: Plan and journal local macOS builds on the NativeLink RBE backend (74255a2)
Miscellaneous Chores
v10.0.1
10.0.1 (2026-11-03)
Bug Fixes
- deps: Raise tokio past RUSTSEC-2026-0386 (64c7690)
- format_handlers: Reject a JPEG 2000 region that reduces to no samples (e7aba1c)
- server: Send CORS headers on every IIIF-route response (4fd154f)
Documentation
- docs: Describe how maintainers fix a vulnerability privately (5616e30)
- docs: Rename the product from SIPI to Vitrinli (2cf2b55)
- docs: Stack dependent PRs with gh stack (cf8ec44)
- specs: Add the Vitrinli rename plan (fd56024)
Build System
- docker: Label the image Vitrinli from dasch-swiss/vitrinli (660128f)
Miscellaneous Chores
v10.0.0
10.0.0 (2026-10-22)
⚠ BREAKING CHANGES
- ffi: region and size on a size-restricted image resolve in the restricted image's coordinate space (RW, RH), not in native pixels; any restricted output larger than (RW, RH) before rotation is a 400. A DSP deployment must move its viewer to info.json tiling in the same release that takes this version.
Bug Fixes
- deps: Raise rustls, quinn-proto and webpki crates past open advisories (f5596a3)
- ffi,server: Decide restricted-view dimensions once in the shell (ca84744)
- ffi: Rewrite embedded dimension metadata in size-restricted outputs (ef4f350)
- ffi: Serve a size-restricted image as its own image (d88f6e9)
- format_handlers,image_processing: Convert YCbCr JPEG 2000 images in their declared channel order (1661636)
- format_handlers: Decode subsampled JPEG 2000 components instead of spinning (f92245c)
- format_handlers: Keep IPTC and oversized metadata blocks in JPEG output (9481366)
- format_handlers: Truncate an existing file when writing a JPEG (9999696)
- format_handlers: Zero the holes a streamed TIFF seeks over (7d7839f)
- metadata: Replace an existing EXIF entry in addKeyVal instead of appending (209eed3)
- server: Echo the Origin with credentials on info.json (824f0cf)
- server: State maxWidth and maxHeight on a size-restricted info.json (fa7a298)
Code Refactoring
- ffi: Probe image dims under the decode deadline (8ab2466)
- format_handlers: Scale codec reads through scale_with (df9c6dd)
- iiifparser: Add size_never_reduces for the restricted-view refusal (cb73340)
- image_processing: Add scale_with, the one scaling-method dispatch (a9203c4)
- image: Add scaling_method_for, the codec-to-scaling-method mapping (be14210)
- metadata: Add the size-field rewrite and preview removal edits (331cdd9)
- metadata: Fit EXIF and XMP blocks into one JPEG marker segment (dd0fe9c)
Documentation
- bazel: Describe the compile database workflow for clangd and clang-tidy (4065f37)
- docs: Make the agent reader the leading principle for commit cleanup (320628a)
- docs: Note the Vitrinli rename and how to list its Linear issues (724ce64)
- docs: Record the restricted-output metadata rewrite (d035bbe)
- docs: Record the restricted-view coordinate space in ADR-0028 (fdabe98)
- format_handlers: Record the JPEG metadata fit policy (2cf1b10)
- server: List the info.json and knora.json CORS cases in the testing strategy (2c74595)
- specs: Add the Bazel toolchain upgrade plan and its journal (cad0cc0)
- specs: Add the Vitrinli Todo bug backlog plan and its journal (6dc1289)
Tests
- format_handlers: Pin the FlashEnergy EXIF type in the TIFF tag table (64e0351)
Build System
- bazel: Generate compile_commands.json for clangd and clang-tidy (c036158)
- bazel: Make the macOS Rust links warning-clean (2272102)
- bazel: Upgrade Bazel to 9.3.0 (a46523c)
- bazel: Upgrade hermetic-llvm to 0.8.25 (e138f0b)
- bazel: Upgrade LLVM to 23.1.2 (0ce24da)
- bazel: Upgrade rules_rust to 0.74.0 (923cfd5)
- bazel: Upgrade Rust to 1.98.0 (db27f34)
v9.1.1
9.1.1 (2026-09-29)
Bug Fixes
- deps: Raise rustls to 0.23.45, repair the dev-shell hook, run audit locally (7a8e42c)
- format_handlers: Cap Kakadu worker threads at the thread group's limit (25305f3)
- format_handlers: Keep zero-denominator EXIF rationals away from libtiff (6dddc75)
- format_handlers: Stop a failed PNG or JPEG write from skipping destructors (7d2e71f)
- iiifparser: Clamp a percent size before converting it to an integer (f729db4)
- metadata: Initialise the white point luminance in synthesised RGB profiles (b2a28e7)
- metadata: Reject TIFF colorimetry that no ICC profile can represent (cd03ddd)
- util: Close the per-thread libmagic handle on thread exit (ff43648)
Documentation
- docs: Adopt the shared comment convention (DEV-7123) (a2db7a6)
- server,cli: Trim the Rust shell's comments to the convention (DEV-7123) (a61fb63)
- specs: Add the libmagic per-decode leak plan and its journal (dc1dcc9)
- specs: Close out the asset-access plan and its journals (9f9f8f2)
Miscellaneous Chores
v9.1.0
9.1.0 (2026-09-12)
Features
- server,observability: Add the stream permission type (c17d413)
Documentation
- docs: Document the stream permission type (a9be587)
- docs: Record the VRE's Original/Derivative vocabulary (abdd939)
- docs: Register the Permission vocabulary in the architecture map (93c0a7d)
- specs: Correct the asset-access plan's release-coupling model (ab9e84d)
- specs: Plan asset access as a first-class decision (c03094e)
- specs: Tick wave-2 Phase 12 (Linear reconciliation) as done (05e0083)
Tests
- e2e: Give the public-hosts server its own cache directory (8505424)
- format_handlers: Size the codec fuzz decode budget for the ASan -O0 pass (8414705)
Miscellaneous Chores
- ci: Correct the stale Darwin libFuzzer note in fuzz.yml (f1cb142)
v9.0.1
9.0.1 (2026-09-08)
Bug Fixes
- cli: Bound offline-verb decodes with the seam's decode deadline (ac3bf78)
- format_handlers: Destroy the Kakadu codestream before the JPX target on write errors (6cd46ff)
- format_handlers: Reject tiled TIFFs whose TIFFTileSize is smaller than the tile geometry (1de76df)
- metadata: Store EXIF ASCII tags as their characters, not the string object (d9c7704)
Documentation
- learnings: A red fuzz leg reports one finding at a time — fix, re-dispatch, expect the next (5ecc9a2)
- learnings: A seam mitigation does not green a codec-level fuzz leg — tolerate the known class in fork mode (cf1673d)
- learnings: An ASan container-overflow from a fuzz binary is a link artifact until a non-fuzz ASan build reproduces it (9eb78db)
- learnings: Destroy a Kakadu codestream before its target unwinds; never read a class type through &val/sizeof(T) (cbca58f)
Tests
- format_handlers: Cap the round-trip fuzz harness re-encode at 16 MiB of pixels (499523f)
Build System
- deps: Exclude Kakadu alignment and lcms2 function UBSan checks (7ac5f43)
Miscellaneous Chores
- ci: Keep the nightly fuzz legs green on known non-defects (8bb3b43)
v9.0.0
9.0.0 (2026-09-06)
⚠ BREAKING CHANGES
- cli: the
--adminuserand--adminpasswdCLI flags and theSIPI_ADMINUSER/SIPI_ADMINPASSWDenvironment variables are removed. They configured nothing; deployments passing them must drop them. - throttling: generic deployments that relied on the basic default now enforce the advanced tier and may answer 503/413 where they previously admitted large requests. Set SIPI_ADMISSION_MODE=basic to restore the prior shadow-only behavior.
Features
- scripting: Add a constant-time compare binding for credential checks (8ca249e)
- throttling: Default admission_mode to advanced (dde8070)
Bug Fixes
- cache: Clamp cache_used_bytes subtractions against underflow (aeb8b8b)
- cache: Harden the cache index format and reads against forgery (413cacc)
- ffi: Bound wedged JP2 decodes with a seam deadline (DEV-7080) (13c4d0e)
- ffi: Cap restricted views by sampling factor across regions (6782442)
- ffi: Charge the memory budget for Lua SipiImage.new decodes (1c85ddf)
- ffi: Length-cap the Range header before the regex (c3c5ef1)
- ffi: Let Lua SipiImage.new decode without an installed engine context (f3e41ed)
- ffi: Redact paths and drop the request-uri tag from error events (2b502ad)
- ffi: Refuse restrict decisions that do not restrict (7f9785b)
- ffi: Reset the connection when an encode fails after the head is sent (1dbcec5)
- format_handlers: Bound JPEG marker lengths and fix IPTC APP13 length (29f7798)
- format_handlers: Correct TIFF planar-separate ROI destination offsets (3f638c9)
- format_handlers: Guard trusted dimensions and empty ICC in codec paths (49d2313)
- format_handlers: Read each plane of a tiled planar-separate TIFF (ef3b46d)
- format_handlers: Reject TIFF scanlines smaller than the decoded line (db96c4d)
- format_handlers: Size JP2 stripe_heights to the component count (66f6c2c)
- format_handlers: Validate JP2 metadata box lengths and reads (1ddfd95)
- iiifparser: Bound rotation, region, and size-pct against out-of-range input (6751d58)
- image_processing: Avoid divide-by-zero in subtract on identical inputs (74e00fd)
- image_processing: Guard convertYCC2RGB channel count and 16-bit midpoint (07c6dc2)
- metadata: Compute base64 decode length without integer underflow (8492b89)
- scripting: Default response cookies to HttpOnly and SameSite=Lax (3a9e282)
- scripting: Delete the token.lua postMessage relay and its route (594e760)
- scripting: Harden Lua print, mkdir mode, and json depth (f3a0e21)
- scripting: Require a token and a uuid62 basename for the upload example (7b92dbb)
- server: Admit docroot static serving and cache the libmagic database (1f79fa5)
- server: Answer 404 for image-path traversal and docroot dotfiles (553f2cf)
- server: Answer 408 when a request handler exceeds its timeout (255a288)
- server: Bound Lua-route request bodies by size and time before admission (b6b0984)
- server: Gate bare-restrict info.json and knora.json behind a denial (996a0f1)
- server: Refuse startup on an unsafe jwt_secret and drop the shipped default (92d54c7)
- server: Refuse startup when docroot overlaps a writable or script root (348ec28)
- server: Stop info.json and knora.json leaking restricted dimensions (7f9adda)
- server: Structurally enforce the query-free preflight cache key (3a19452)
- server: Validate the forwarded host against a SIPI_PUBLIC_HOSTS allowlist (1baaa1a)
Code Refactoring
- cli: Remove the dead adminuser and adminpasswd surface (b3afa68)
- ffi: Drop the unused client_ip field from the serve seam (4648cf0)
- ffi: Route both decode paths through one guarded helper (1c46c1c)
Documentation
- adr: Add ADR-0026 and the engine-seam extraction plan (62fbc04)
- adr: Record the per-client fairness ruling in ADR-0022 (48f60ef)
- adr: Scrub stale paths and fix status metadata in active ADRs (a088db2)
- cli: Reconcile config, CLI help, and domain docs with wave-2 behavior (94267f4)
- docs: Refresh ARCH-MAP entries after the wave-2 branch (460deb0)
- learnings: A supervised subagent must return at a long build, not park on it (409c92b)
- learnings: A timeout/slowloris e2e must be bounded on server, client, teardown, harness (ee5ffc2)
- learnings: Capture the wave-2 goose chase — primary evidence over plausible hypotheses (51f9d4e)
- learnings: Verify a duplication finding with a set-diff — the FFI mirrors are disjoint (a967f50)
- specs: Add SIPI security hardening wave 2 plan (cceab50)
- specs: Flatten spec folders into flat date-numbered files (ec1b690)
- specs: Record the JP2 decode watchdog mechanism (DEV-7080) (6bf8ff6)
- specs: Record the wave-2 CI stabilization journal (075e5aa)
Tests
- e2e: Isolate the cache dir of concurrent resource_limits servers (ae55eaa)
- e2e: Read the TIFF-JPEG body before deleting its source fixture (32ff41c)
- fuzz: Add codec round-trip encode fuzz targets ([37c9ee4](https://github.com/dasch-swiss/sipi/commi...
v8.0.0
8.0.0 (2026-08-31)
⚠ BREAKING CHANGES
- format_handlers: a file carrying unparseable embedded metadata that previously decoded (with the bad metadata silently discarded) is now rejected.
Features
- image_processing: Apply watermarks to 16-bit images (0b283bb)
- util: Add checked-multiply and dimension-validation helpers (b206307)
Bug Fixes
- e2e: Accept both abort orderings in the post-commit abort tests (c22017d)
- error: Answer a request for an impossible size with 400, not 500 (a592b0b)
- error: Keep the opening quote when redacting paths from error text (4e54436)
- format_handlers: Bound the raw-profile reservation to the available data (f693e5d)
- format_handlers: Decode JPEG-compressed TIFFs (aada66e)
- format_handlers: Make the JPEG setjmp landing blocks read defined values (beb1357)
- format_handlers: Refuse a file whose embedded metadata does not parse (e6f1788)
- format_handlers: Refuse a PNG whose EXIF chunk does not parse (4f0972f)
- format_handlers: Refuse a TIFF whose colour tags cannot form an ICC profile (c6674ac)
- format_handlers: Release the codec library structs on the JPEG and PNG error paths (69b8183)
- format_handlers: Release the PNG read structs on the metadata-failure arms (3f4edff)
- format_handlers: Release the PNG write structs on every exit path (23db0e9)
- format_handlers: Report a J2K stripe-decode failure as a decode error (5e14b5e)
- format_handlers: Report libtiff's errors and warnings instead of dropping them (ee12d37)
- format_handlers: Stop truncating embedded PNG metadata (dc12a6d)
- formats: Bound JPEG marker-parsing over-reads (176064e)
- formats: Bound parse_photoshop pointer advances past marker end (ade2535)
- formats: Guard J2K palette expansion against overflow and OOB reads (dd1197d)
- formats: TIFF buffer and libtiff-field bugs (262b788)
- formats: Widen PNG 16-bit byte-swap loop counter to size_t (a406034)
- image_processing: Reject a crop the image's bit depth cannot support (7d07189)
- image_processing: Reject a scale to a one-pixel axis instead of serving the source (5c8140a)
- image_processing: Stop serving uncropped images when the crop fails (1d5ab65)
- image: Correct channel-count buffer sizing and indexing (7cc208e)
- image: Guard pixel-buffer allocations against integer overflow (5631934)
- logging: Declare log_vformat with the signature it is defined with (18d074e)
- metadata: Classify a description-less ICC profile without reading past its buffer (f8ebd78)
- metadata: Read a profile's optional info tags without running off the buffer (32032aa)
- observability: Stop leaking source paths in client error messages (1b022c6)
- server-rs: Restrict CORS to a configured origin allowlist (411a03b)
Code Refactoring
- bazel: Organize sources into cpp/ and rust/ subfolders and colocate the tests (3aaae3d)
- error: Add the value-error foundation and seam conversion (47bf70d)
- error: Expose the value error's message, errno and source location (b928219)
- ffi: Drop the shape guard the probe can no longer trip (7efc17c)
- format_handlers: Carry libtiff's diagnostics in the TIFF reader's errors (58a35ed)
- format_handlers: Convert the J2K handler internals to value errors (48e02c8)
- format_handlers: Convert the JPEG handler internals to value errors (8ae85c6)
- format_handlers: Convert the PNG handler internals to value errors (b240d6d)
- format_handlers: Convert the TIFF handler internals to value errors (18e4519)
- format_handlers: Delete the dead separate-to-contig member (7bbf86d)
- format_handlers: Drop the catch around an XMP construction that cannot throw (7fef718)
- format_handlers: Drop the redundant geometry write on the CMYK-to-PNG path (0d94c0c)
- format_handlers: Remove the Image friendships and make the APP14 transform decode-local (7cf4b51)
- format_handlers: Rename the formats package and split its sources (421de2b)
- format_handlers: Retire the JPEG metadata catch blocks (8aaf3f1)
- format_handlers: Return the decode-dimension guard's failures as values (1ce443c)
- format_handlers: Return the watermark reader's failures as values (686e742)
- image_processing: Convert the processing functions to Result returns (1f6953e)
- image_processing: Drop the unused arithmetic operators and value-error the difference (8c9d213)
- image: Add the public mutator surface and extract the image_processing free functions (486705e)
- image: Dissolve //src:engine into the //src/image package (7b931bc)
- image: Dissolve the SipiImage hub into image_processing, cache, and error and rehome the strays (5d14c9b)
- image: Return image I/O failures as values across the SipiIO vtable (f6370f7)
- image: Return the image read and write failures as values (06c4507)
- image: Return the shape probe's failures as values ([6752d86](6752d86dcdd7...
v7.0.0
7.0.0 (2026-08-21)
⚠ BREAKING CHANGES
- scripting: script-facing divergences from the previous runtime (each documented in ADR-0023 and docs/src/lua): config.password, config.adminuser, server.shutdown, and server.fs.chdir are removed; the stdlib is whitelisted (io/debug absent, os reduced to getenv/clock/date); require is restricted to the script dir; decode_jwt pins HS256 and requires a valid exp claim; server.http no longer follows redirects, caps response bodies at 16 MiB, and treats the timeout as total-request; server.cookies returns one entry per cookie with original-case names; config size strings parse strictly; scripts run under a memory cap and deadline (SIPI_LUA_MEMORY_LIMIT, SIPI_LUA_TIMEOUT_MS).
Features
- observability: Export sipi.lua.kills{reason} from the runtime kill stats (e44f5f5)
- observability: Per-entry-point Lua VM-build and script-duration histograms (7fa0188)
Bug Fixes
- logging: Correct the CRIT/ALERT/EMERG level labels (d0ed51f)
- lua: Call the send_error global, not the never-registered server.send_error (ed1b2b5)
- throttling: Admit Lua routes and docroot scripts through the Full lane (88b1239)
Code Refactoring
- ffi: Add the sipi_image_* handle ABI for the Lua runtime (3d6790c)
- ffi: Carry hostname/sslport over the seam and redact secrets in Debug (f98ce35)
- scripting: Add the mlua runtime core — VM profile, limits, bytecode cache (90a38f6)
- scripting: Delete the C++ Lua runtime (2042b1e)
- scripting: Parse the Lua config in Rust and delete the C++ config parse (e6b042e)
- scripting: Pure-Rust server.* / config / helper bindings (e4bc618)
- scripting: Serve Lua routes and docroot scripts from the Rust runtime (971ce5d)
- scripting: Serve preflight from the Rust runtime, delete the seam entries (d484644)
- scripting: SipiImage, sqlite, and helper bindings over the engine ABI (bbb8244)
- server-rs: Carry Result<Bytes, BodyAbort> on the body channel (806f425)
Documentation
- build: Add the src/ module-dependency diagram (0969bcc)
- ci: State the phase-1 model evidence precisely (9fb10f2)
- scripting: Add ADR-0023 for the Rust-hosted mlua Lua runtime (68d8bc4)
- scripting: Add the request-flow overview diagram (4d54aa5)
- throttling: Add the threads-and-permits stage diagram (8c6d54a)
Tests
- scripting: Hardening and dsp-api-closure e2e suites (818c874)
- scripting: Paired C++/Rust per-request Lua VM microbenchmarks (510c589)