Skip to main content
Chromiumly 7 targets Gotenberg 9. Gotenberg 9 renamed most fields, moved post-processing into ordered stages, and replaced the /forms/pdfengines routes with /forms/pdf. Most changes below follow Gotenberg’s own upgrade guide.
Chromiumly 7 can’t talk to Gotenberg 8, and Chromiumly 6 can’t talk to Gotenberg 9. Staying on Gotenberg 8 for now? Keep Chromiumly 6 and its 6.x docs.

Steps

1

Upgrade Gotenberg

Move your image to gotenberg/gotenberg:9, and your Gotenberg configuration with it: see Gotenberg’s upgrade guide for its flags and environment variables.
2

Upgrade Chromiumly

Bump Chromiumly to ^7 with your package manager (see Installation). The type declarations need TypeScript 5.0 or later.
3

Update your calls

Work through the tables below. TypeScript flags most changes, since the removed options and the renamed fields no longer type-check.
Ship the Gotenberg and Chromiumly upgrades together: in between, every request fails.

PDFEngines becomes PDF

Post-processing options become stages

On the Chromium and LibreOffice convert() methods, the post-processing options are gone. Add the matching stage to stages: Before and after:
Chromiumly 6’s flat options ran in a fixed order on Gotenberg 8; stages run in the order you list them, under order rules.

Renamed fields

Other changes

  • webhook requires both webhookUrl and webhookEventsUrl; webhookErrorUrl and webhookErrorMethod are gone, and errors arrive as webhook.error events. See Webhooks.
  • System.getPrometheusMetrics() is gone, with Gotenberg’s Prometheus route: Gotenberg 9 exports its metrics with OpenTelemetry.
  • The PdfFormat enum and the PdfEngine* types are gone; use the PdfaProfile, ConformanceProfiles and stage types.
  • LibreOffice no longer accepts .epub. Chromiumly uploads LibreOffice documents as fileNN.<ext>, and Gotenberg 9 names each PDF after its document, so a single document comes back as file01.docx.pdf unless you set outputFilename.
  • The PDF read methods answer one entry per PDF under its file name: a path keeps its base name, a Buffer or ReadStream is fileNN.pdf, unless you pass { file, name }.
  • Two uploads under the same name now throw before the request is sent.

New in Chromiumly 7

  • Every stage, and a PDF method for each: insert, compose, redact, sign, timestamp, set-form, render, extract-text, and more.
  • Read methods that answer typed JSON: info, metadata, bookmarks, attachments, form, validate.
  • archives and downloadFrom[].filename.
  • paperSize on Chromium and LibreOffice, waitForWindowStatus, failOnConsoleMessageTypes, and the screenshot selector.