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/thecodingmachine/gotenberg docker tag to v8.17.1 #59

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 11, 2024

This PR contains the following updates:

Package Update Change
docker.io/thecodingmachine/gotenberg minor 8.11.1 -> 8.17.1

Release Notes

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

v8.17.1: 8.17.1

Compare Source

Bug Fix

The split feature wasn't working as expected if more than 9 resulting files. Thanks to @​ninjacarr and @​zach-goldberg for the heads-up!

Chore

Updates Go dependencies.

v8.17.0: 8.17.0

Compare Source

New Features

Configuration with Environment Variables

You can now configure your Gotenberg instances using environment variables. For example, instead of setting --api-port=3000, you can use API_PORT=3000.

Thank you, @​rojomisin, for the suggestion!

Debug Route

When enabled with --api-enable-debug-route (or API_ENABLE_DEBUG_ROUTE=true), the /debug endpoint returns formatted JSON detailing your Gotenberg instance's configuration (including flag values, architecture, etc.).

Thank you, @​nktnet1, for the suggestion!

Bug Fix

Due to a CI misconfiguration, the /version route in Gotenberg 8.16.0 was displaying an empty string. This issue has been fixed. Thanks to @​clee231 for the heads-up!

Chore

  • Updates Chromium to version 133.0.6943.53 (except for arm64).
  • Updates Go dependencies.

v8.16.0: 8.16.0

Compare Source

New Features

Flattening Annotations

Thanks to @​chakalov, this release brings a new multipart/form-data route for flattening PDFs:

POST /forms/pdfengines/flatten

This feature is also available to the following routes via a new form field flatten (boolean):

  • /forms/libreoffice/convert
  • /forms/pdfengines/merge
  • /forms/pdfengines/split
Chromium Restart Strategy

The new default value for the --chromium-restart-after flag is 10, helping stabilizing the memory usage of your Gotenberg instances.

[!TIP]
Set this value to 0 to reset to the previous behavior.

Thanks @​HarryGogonis, @​michalschroeder and @​Fank for the help! See #​987 for more details.

New Log Field log_type

The logs have now a new field log_type to help differentiating entries (either application or access).

Dummy Root Route

Thanks to @​nktnet1, a new root route (e.g., /) prints a welcome message with a link to the documentation.

Faster CI / Latest Chromium Version for armhf

The releasing of a new Docker image of Gotenberg has been drastically reduced, from approximately 1 hour to less than 5 minutes, thanks to arm64 GitHub runners. This also allows for the latest Chromium version on the armhf variant.

Misc

[!CAUTION]
/version route is now behind the basic authentication if enabled.

Chore

  • Updates Chromium to version 132.0.6834.110/160.
  • Updates Go dependencies.

v8.15.3: 8.15.3

Compare Source

Fix

Switches from info to debug a logging entry about stuck Chromium processes being killed.

Chore

Updates Go dependencies.

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 ❤️


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 force-pushed the renovate/docker.io-thecodingmachine-gotenberg-8.x branch 3 times, most recently from 325db52 to c4c61b0 Compare October 25, 2024 07:26
@renovate renovate bot force-pushed the renovate/docker.io-thecodingmachine-gotenberg-8.x branch from c4c61b0 to 667e129 Compare November 5, 2024 19:48
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.12.0 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.13.0 Nov 5, 2024
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.13.0 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.14.0 Nov 18, 2024
@renovate renovate bot force-pushed the renovate/docker.io-thecodingmachine-gotenberg-8.x branch 2 times, most recently from 8339099 to 1d57dc2 Compare November 21, 2024 11:18
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.14.0 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.14.1 Nov 21, 2024
@renovate renovate bot force-pushed the renovate/docker.io-thecodingmachine-gotenberg-8.x branch from 1d57dc2 to 2aa1d62 Compare December 22, 2024 20:05
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.14.1 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.15.0 Dec 22, 2024
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.15.0 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.15.1 Dec 23, 2024
@renovate renovate bot force-pushed the renovate/docker.io-thecodingmachine-gotenberg-8.x branch 2 times, most recently from 79b2f16 to b7a0c3b Compare December 25, 2024 21:56
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.15.1 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.15.2 Dec 25, 2024
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.15.2 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.15.3 Jan 6, 2025
@renovate renovate bot force-pushed the renovate/docker.io-thecodingmachine-gotenberg-8.x branch from b7a0c3b to 4ec35c6 Compare January 6, 2025 10:03
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.15.3 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.16.0 Jan 30, 2025
@renovate renovate bot force-pushed the renovate/docker.io-thecodingmachine-gotenberg-8.x branch from 4ec35c6 to 8ca1919 Compare January 30, 2025 14:45
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.16.0 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.17.0 Feb 7, 2025
@renovate renovate bot force-pushed the renovate/docker.io-thecodingmachine-gotenberg-8.x branch from 8ca1919 to 53bd403 Compare February 7, 2025 13:58
@renovate renovate bot changed the title chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.17.0 chore(deps): update docker.io/thecodingmachine/gotenberg docker tag to v8.17.1 Feb 12, 2025
@renovate renovate bot force-pushed the renovate/docker.io-thecodingmachine-gotenberg-8.x branch from 53bd403 to cc5ea58 Compare February 12, 2025 16:51
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