Skip to content

v3.2: PDF thumbnails and cover page, NetVips, identifiers client, Goobi volume ids

Choose a tag to compare

@tomcrane tomcrane released this 10 Nov 11:44
· 59 commits to main since this release
865f101

Highlights

  • Goobi volume identifiers (#308): workflow messages carrying a volume id (b…_0001) are normalised to the package id before the identity is asserted, behind Dds:AcceptManifestationLevelWorkflowIdentifiers (on in production). Remediation SQL for the affected jobs is in docs/sql/goobi-volume-identifiers.sql.
  • ImageSharp replaced by NetVips (#301): placeholder canvases and thumbnail resizing use libvips; the Six Labors licence dependency is gone. Windows libvips binaries are no longer published into the Linux images.
  • Automatic born-digital PDF thumbnails (#303): page 1 is rendered with pdftoppm at ingest and on demand, replacing the manual Windows tool and upload. Only PDFs whose access condition is Open, Requires registration or Open with advisory get a thumbnail, and /thumb refuses the others. On-demand generation is bounded. The dashboard page shows the stored thumbnail.
  • PDF cover page served by the DDS (#304): /pdf-cover/{id} and /pdf-cover-v2/{id} on the server, built with PdfPig, matching the Python service's output. The Python service stays until the DLCS named query is switched over; removal list in docs/pdf-cover-page.md.
  • Identifiers API client, navigator and the work-selection rule (#300, #305): the catalogue registry (RFC 089) client, the /dash/Identifiers resolve page, /dash/Identity/Stats, and the real rule for choosing a work when the catalogue's identifiers query returns several (ties give no work and a warning instead of an exception). Gated: the Identifiers API is used only where IdentifiersApi:ApiKey is configured; production has no key, so registry lookups are skipped there and the DDS behaves as before. Design: docs/identifiers-api-and-dds-identity.md.
  • Jenkins: build output kept out of image builds, images cleaned up after each run (#306).

After deploying

Watch for not served: not a PDF whose access condition permits it on PDFs that should be open, Identifiers query for ... is ambiguous, and PDF thumbnail generation failed. Open /dash/Identity/Stats once.

What's Changed

  • Bump aiohttp from 3.14.3 to 3.14.4 in /src/iiif2_comparison by @dependabot[bot] in #299
  • Keep build output out of image builds; clean up images on Jenkins by @tomcrane in #306
  • Replace ImageSharp with NetVips by @tomcrane in #301
  • handle an erronous manifestion identifier in a workflow message by @tomcrane in #308
  • Generate born-digital PDF thumbnails automatically by @tomcrane in #303
  • Serve PDF cover pages from Wellcome.Dds.Server by @tomcrane in #304
  • Identity step 2: the real selection rule for the identifiers query, and an identity stats page by @tomcrane in #305
  • Feature/identifier navigator by @tomcrane in #300

Full Changelog: v3.1...v3.2