Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.15.2 #87

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2024

This PR contains the following updates:

Package Update Change
docker.io/gotenberg/gotenberg minor 8.7.0 -> 8.15.2

Release Notes

gotenberg/gotenberg (docker.io/gotenberg/gotenberg)

v8.15.2: 8.15.2

Compare Source

New Feature

This release improves the cleanup process for both LibreOffice and Chromium when they are restarted, and makes Chromium’s restart strategy (e.g., --chromium-restart-after) more effective.

Chore

Updates Go dependencies.


You may now sponsor this open-source project. Thanks ❤️

v8.15.1: 8.15.1

Compare Source

Fix

The PDF/A and PDF/UA conversion is broken in version 8.15.0 for the Chromium and LibreOffice routes. This release fixes this issue. Thanks @​starwalkn for the heads up!


You may now sponsor this open-source project. Thanks ❤️

v8.15.0: 8.15.0

Compare Source

Happy Holidays! 🎅 🎁 🎄

New Features

Split Route

This release brings a new multipart/form-data route for splitting PDF files:

POST /forms/pdfengines/split

It accepts the following form fields:

Key Description Default
splitMode Either intervals or pages. Required
splitSpan Either the intervals or the page ranges to extract, depending on the selected mode. Required
splitUnify Specify whether to put extracted pages into a single file or as many files as there are page ranges. Only works with pages mode. false

Thanks @​ps73, @​nodecentral, @​markitosgv, @​wjkoh!

Split Chromium PDFs

The multipart/form-data routes from the Chromium module also accepts the previous form fields for splitting the resulting PDF.

Split LibreOffice PDFs

In the same manner, the multipart/form-data route from the LibreOffice module accepts the previous form fields for splitting the resulting PDFs.

Chore

  • Updates Chromium to version 131.0.6778.204/139 (except for armhf).
  • Updates Go dependencies.

You may now sponsor this open-source project. Thanks ❤️

v8.14.1: 8.14.1

Compare Source

Fix

Keywords metadata (ExifTool PDF Engine)

The Keywords metadata is now correctly handled by ExifTool.

Thanks @​ABAG603 for the heads up!


You may now sponsor this open-source project. Thanks ❤️

v8.14.0: 8.14.0

Compare Source

New Feature

Generate Document Outline (Chromium)

The new form field generateDocumentOutline embeds the document outline into the PDF if set to true.

Thanks @​nktnet1 for the contribution!

Chore

Updates Go dependencies.


You may now sponsor this open-source project. Thanks ❤️

v8.13.0: 8.13.0

Compare Source

New Features

Select PDF Engines per Feature

You may now select PDF engines for each feature thanks to new flags:

  • --pdfengines-merge-engines - Set the PDF engines and their order for the merge feature (default qpdf,pdfcpu,pdftk).
  • --pdfengines-convert-engines - Set the PDF engines and their order for the convert feature (default libreoffice-pdfengine).
  • --pdfengines-read-metadata-engines - Set the PDF engines and their order for the read metadata feature (default exiftool).
  • --pdfengines-write-metadata-engines - Set the PDF engines and their order the write metadata feature (default exiftool).

⚠️ The flag --pdfengines-engines is deprecated.

Fail On Resource HTTP Status Codes (Chromium)

Like failOnHttpStatusCodes, the new failOnResourceHttpStatusCodes form field tells Gotenberg to return a 409 Conflict response if the HTTP status code from at least one resource is not acceptable.

Resource Network Errors (Chromium)

The new form field failOnResourceLoadingFailed tells Gotenberg to return a 409 Conflict if Chromium encounters any of the following network errors while attempting to load a resource:

  • net::ERR_CONNECTION_CLOSED
  • net::ERR_CONNECTION_RESET
  • net::ERR_CONNECTION_REFUSED
  • net::ERR_CONNECTION_ABORTED
  • net::ERR_CONNECTION_FAILED
  • net::ERR_NAME_NOT_RESOLVED
  • net::ERR_INTERNET_DISCONNECTED
  • net::ERR_ADDRESS_UNREACHABLE
  • net::ERR_BLOCKED_BY_CLIENT
  • net::ERR_BLOCKED_BY_RESPONSE
  • net::ERR_FILE_NOT_FOUND

Chore

  • Updates Chromium to version 130.0.6723.91 (except for armhf).
  • Updates Go dependencies.

You may now sponsor this open-source project. Thanks ❤️

v8.12.0: 8.12.0

Compare Source

New Features

Bind IP

The new flag --api-bind-ip allows to set the IP address the API should bind to for incoming connections, instead of the default 0.0.0.0.

For instance: --api-bind-ip=127.0.0.1.

Thanks @​dani for the suggestion!

Scope Extra HTTP Headers (Chromium)

You can add an optional scope token to a header value to restrict its application using a regular expression.

For instance:

curl \
--request POST http://localhost:3000/forms/chromium/convert/url \
--form url=https://my.url \
--form-string 'extraHttpHeaders={"X-Scoped-Header":"value;scope=https?:\\/\\/([a-zA-Z0-9-]+\\.)*domain\\.com\\/.*"}' \
-o my.pdf

This new scope token is only processed by Gotenberg and is never sent with the header value.

Thanks @​forg002-ctrl and @​OsoianMarcel for the help!

pdfcpu CLI

In earlier versions of Gotenberg, we used the pdfcpu Golang library directly. However, there wasn't a clean way to terminate the process in case of a timeout, which could lead to resource leaks. We now rely on the pdfcpu CLI, allowing us to effectively handle timeouts, resulting in a more stable PDF engine.

Chore

Updates Go dependencies.


You may now sponsor this open-source project. Thanks ❤️

v8.11.1: 8.11.1

Compare Source

Fix

Webhook Duplicate Trace IDs

Webhook callbacks returned duplicate trace IDs when there were multiple requests pending. This is now fixed.

Thanks @​lrakauskas for the heads up!

Chore

  • Updates Noto Color Emoji to Unicode 16.0.
  • Updates LibreOffice to version 24.8.2.
  • Updates Go dependencies.

You may now sponsor this open-source project. Thanks ❤️

v8.11.0: 8.11.0

Compare Source

New Features

Body Limit

You may now set a body limit for multipart/form-data requests, including files downloaded via the downloadFrom form field.
To enable this feature, set the --api-body-limit flag with a string value like 500KB, 5MB, 5GB, etc. There is no limit by default.

New skipNetworkIdleEvent default value (Chromium)

By default, Gotenberg does not wait anymore for the network idle event, significantly speeding up the conversion process. Although Chromium triggers this event heuristically, it is often — if not always — fired too late for page rendering.

Chore

Updates Go dependencies.


You may now sponsor this open-source project. Thanks ❤️

v8.10.0: 8.10.0

Compare Source

New Features

Download from URLs

All multipart/form-data routes now accept a form field downloadFrom.

This field accepts a JSON string (e.g., [{"url":"http://localhost:80/","extraHttpHeaders":{"X-Foo":"Bar"}}]) and attempts to download each entry (file) in parallel. URLs MUST return a Content-Disposition header with a filename parameter.

You can configure its behavior using the following flags:

  • --api-download-from-allow-list - Set the allowed URLs for the download from feature using a regular expression.
  • --api-download-from-deny-list - Set the denied URLs for the download from feature using a regular expression
  • --api-download-from-max-retry - Set the maximum number of retries for the download from feature.
  • --api-disable-download-from - Disable the download from feature.

Thanks @​aldenquimby, @​tcarsuzanlandytech and @​callumgarven for the help!

Convert Files with a Password (LibreOffice)

The route /forms/libreoffice/convert now accepts a password form field, allowing conversion of password-protected documents.

Thanks @​markusberg for the suggestion!

Health Check with HEAD Method

The /health route now accepts the HEAD method. The only difference from the GET method is that the response body will be empty.

Thanks @​omni-htg for the suggestion!

Fixes

Blank PDF on Errors (Chromium)

The Chromium module now correctly returns a 400 Bad Request if the browser encounters one of the following errors:

  • net::ERR_CONNECTION_CLOSED
  • net::ERR_CONNECTION_RESET
  • net::ERR_CONNECTION_REFUSED
  • net::ERR_CONNECTION_ABORTED
  • net::ERR_CONNECTION_FAILED
  • net::ERR_NAME_NOT_RESOLVED
  • net::ERR_INTERNET_DISCONNECTED
  • net::ERR_ADDRESS_UNREACHABLE
  • net::ERR_BLOCKED_BY_CLIENT
  • net::ERR_BLOCKED_BY_RESPONSE

Thanks @​eMerzh for the suggestion!

Error Logging Leaking "File Already Closed"

In some scenarios, such as when using the QPDF engine, the logger was logging irrelevant errors.

Chore

  • Updates Chromium to version 129.0.6668.58 (except for armhf).
  • Updates Go dependencies.

You may now sponsor this open-source project. Thanks ❤️

v8.9.2: 8.9.2

Compare Source

Chore

  • Updates Chromium to version 128.0.6613.113/119 (except for armhf).
  • Updates Go dependencies.
  • Updates Go to version 1.23.

You may now sponsor this open-source project. Thanks ❤️

v8.9.1: 8.9.1

Compare Source

Fix

The PDF/A and PDF/UA conversions have been broken since version 8.8.0 when used via /forms/chromium/{url/html/markdown} and /forms/pdfengines/convert, as they did not use the same defaults as /forms/libreoffice/convert. Thanks to @​luisforra for the heads up!

Chore

Updates Go dependencies.


You may now sponsor this open-source project. Thanks ❤️

v8.9.0: 8.9.0

Compare Source

New Feature

The LibreOffice module now automatically retries a conversion if a core dumped error occurs. This enhancement helps mitigate random failures. Special thanks to @​giamma for the assistance!

Chore

  • Updates Chromium to version 127.0.6533.72 on amd64.
  • Updates Go dependencies.

You may now sponsor this open-source project. Thanks ❤️

v8.8.1: 8.8.1

Compare Source

Fix

The PDF/UA conversion now correctly claims UA conformity. Thanks @​lennartb- for the heads up!

Chore

Updates Go dependencies.


You may now sponsor this open-source project. Thanks ❤️

v8.8.0: 8.8.0

Compare Source

New Features

Process Management

Previously, auto-restarts happened at the start of a request, causing noticeable latency.
Now, processes restart after a request, reducing or eliminating latency when the system isn't fully loaded.

Courtesy of @​MaxLap.

Chromium

A conversion now fails with a 400 Bad Request response when Chromium encounters ERR_CONNECTION_REFUSED. Thanks to @​Neirda24 for the heads up!

LibreOffice

Introducing a bunch of new form fields:

Page properties

Key Description Default
allowDuplicateFieldNames Specify whether multiple form fields exported are allowed to have the same field name. false
exportBookmarks Specify if bookmarks are exported to PDF. true
exportBookmarksToPdfDestination Specify that the bookmarks contained in the source LibreOffice file should be exported to the PDF file as Named Destination. false
exportPlaceholders Export the placeholders fields visual markings only. The exported placeholder is ineffective. false
exportNotes Specify if notes are exported to PDF. false
exportNotesPages Specify if notes pages are exported to PDF. Notes pages are available in Impress documents only. false
exportOnlyNotesPages Specify, if the form field exportNotesPages is set to true, if only notes pages are exported to PDF. false
exportNotesInMargin Specify if notes in margin are exported to PDF. false
convertOooTargetToPdfTarget Specify that the target documents with .od[tpgs] extension, will have that extension changed to .pdf when the link is exported to PDF. The source document remains untouched. false
exportLinksRelativeFsys Specify that the file system related hyperlinks (file:// protocol) present in the document will be exported as relative to the source document location. false
exportHiddenSlides Export, for LibreOffice Impress, slides that are not included in slide shows. false
skipEmptyPages Specify that automatically inserted empty pages are suppressed. This option is active only if storing Writer documents. false
addOriginalDocumentAsStream Specify that a stream is inserted to the PDF file which contains the original document for archiving purposes. false

Images

Key Description Default
quality Specify the quality of the JPG export. A higher value produces a higher-quality image and a larger file. Between 1 and 100. 90
maxImageResolution If the form field reduceImageResolution is set to true, tell if all images will be reduced to the given value in DPI. Possible values are: 75, 150, 300, 600 and 1200. 300

Fixes

  • The routes /health and /version are no longer protected by basic authentication. Thanks to @​MaikuMori for the heads up!
  • The form field reduceImageResolution has been reset to its actual default value (e.g., false).

Chore

  • Updates Chromium to version 126.0.6478.126 (except for armhf).
  • Updates LibreOffice to version 24.2.4.
  • Updates Go dependencies.

You may now sponsor this open-source project. Thanks ❤️


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.4.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.5.0 Apr 25, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 5cfbdc9 to ba019bd Compare April 25, 2024 17:37
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.5.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.5.1 May 22, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from ba019bd to 543bbb8 Compare May 22, 2024 11:17
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 543bbb8 to 93e6491 Compare June 4, 2024 18:46
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.5.1 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.6.0 Jun 4, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 93e6491 to 52425e9 Compare June 13, 2024 11:46
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.6.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.7.0 Jun 13, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 52425e9 to 6472caa Compare July 3, 2024 18:40
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.7.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.8.0 Jul 3, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 6472caa to d27488d Compare July 18, 2024 16:16
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.8.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.8.1 Jul 18, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from d27488d to b44d3a4 Compare July 29, 2024 12:35
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.8.1 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.9.0 Jul 29, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch 2 times, most recently from a9117fe to 50b2679 Compare August 11, 2024 15:21
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.9.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.9.1 Aug 11, 2024
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.9.1 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.9.2 Sep 3, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 50b2679 to 0658231 Compare September 3, 2024 10:12
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.9.2 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.10.0 Sep 21, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 0658231 to 0620eb6 Compare September 21, 2024 09:46
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 0620eb6 to c50cc3a Compare September 29, 2024 19:00
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.10.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.11.0 Sep 29, 2024
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.11.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.11.1 Oct 6, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch 2 times, most recently from 5bddaff to e394866 Compare October 11, 2024 15:21
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.11.1 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.12.0 Oct 11, 2024
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.12.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.13.0 Nov 5, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from e394866 to 6cc708f Compare November 5, 2024 20:35
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.13.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.14.0 Nov 18, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 6cc708f to ef1ebab Compare November 18, 2024 10:57
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.14.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.14.1 Nov 21, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from ef1ebab to 3daf159 Compare November 21, 2024 10:57
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 3daf159 to d2a760b Compare December 22, 2024 17:09
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.14.1 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.15.0 Dec 22, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from d2a760b to 82f8008 Compare December 23, 2024 14:17
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.15.0 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.15.1 Dec 23, 2024
@renovate renovate bot changed the title chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.15.1 chore(deps): update docker.io/gotenberg/gotenberg docker tag to v8.15.2 Dec 25, 2024
@renovate renovate bot force-pushed the renovate/docker.io-gotenberg-gotenberg-8.x branch from 82f8008 to b2cfd71 Compare December 25, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants