Update gotenberg/gotenberg Docker tag to v8 #25
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "renovate/gotenberg-gotenberg-8.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
7.10.2
->8.9.1
Release Notes
gotenberg/gotenberg (gotenberg/gotenberg)
v8.9.1
: 8.9.1Compare Source
Fix
The
PDF/A
andPDF/UA
conversions have been broken since version8.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.0Compare 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
127.0.6533.72
onamd64
.You may now sponsor this open-source project. Thanks ❤️
v8.8.1
: 8.8.1Compare 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.0Compare 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
Images
Fixes
/health
and/version
are no longer protected by basic authentication. Thanks to @MaikuMori for the heads up!reduceImageResolution
has been reset to its actual default value (e.g.,false
).Chore
126.0.6478.126
(except forarmhf
).24.2.4
.You may now sponsor this open-source project. Thanks ❤️
v8.7.0
: 8.7.0Compare Source
New Features
Chromium
New form field
userAgent
for overriding the default User-Agent HTTP header. Thanks @wjkoh for the help!LibreOffice
Two new form fields to tweak image conversion perfomance:
losslessImageCompression
- Allow turning lossless compression on or off (default to false).reduceImageResolution
- Allow turning on or off image resolution reduction (default to true).Courtesy of @garethjudson!
Chore
v8.6.0
: 8.6.0Compare Source
New Feature
TLS support 🚀
--api-tls-cert-file
- path to the TLS/SSL certificate file.--api-tls-key-file
- path to the TLS/SSL key file.Thanks @jonasgeiler!
Chore
v8.5.1
: 8.5.1Compare Source
New Feature
If a terminal is attached and the
TZ
environment variable is set, the logging entries will use the specified timezone. Thanks @jaime-pineiro-imatia!Chore
125.0.6422
(except forarmhf
).24.2.3
.v8.5.0
: 8.5.0Compare Source
New Features
API
New
/version
endpoint that displays the currently running version of Gotenberg.This closes #856. Thanks @Jaben and @stumpylog!
Chromium
The screenshot routes now accepts the following form fields:
width
- The device screen width in pixels (default to 800).height
- The device screen height in pixels (default to 600).clip
- Define whether to clip the screenshot according to the device dimensions (default to false).This resolves #816. Thanks @rslinckx for the assistance!
Chore
124.0.6367.78
(except forarmhf
andarm64
).v8.4.0
: 8.4.0Compare Source
New Features
API
You may now enable basic authentication with
--api-enable-basic-auth
. Gotenberg will look for the GOTENBERG_API_BASIC_AUTH_USERNAME and GOTENBERG_API_BASIC_AUTH_PASSWORD environment variables.This resolves #684.
Chromium
Now supports specifying cookies to the Chromium cookie jar thanks to the
cookies
form field. This form field is a JSON-formatted array with items accepting the following keys:name
(required)value
(required)domain
(required)path
secure
- booleanhttpOnly
- booleansameSite
- accepted values are Strict, Lax or NoneSpecial thanks to @Sungq1990 for the assistance. This resolves issue #658.
LibreOffice
Introducing a new form field
singlePageSheets
(boolean) - This setting determines whether to render the entire spreadsheet as a single page. Thanks to @mrbech!Chore
123.0.6312.105
(except forarmhf
).v8.3.0
: 8.3.0Compare Source
New Features
ExifTool
ExifTool's new PDF engine introduces the capability to read and write PDF metadata.
You can now input metadata using the
metadata
form field for the routes below:/forms/chromium/convert
/forms/libreoffice/convert
/forms/pdfengines/merge
The
metadata
field accepts JSON-formatted values, including types: boolean, int, float, string, and strings.Additionally, two new routes are available:
/forms/pdfengines/metadata/read
- Retrieves the metadata of specified PDFs, returning a JSON formatted response with the structure filename => metadata./forms/pdfengines/metadata/write
- Allows writing specified metadata to one or more PDFs.Kudos to @piyushsriv for the contribution! This resolves issue #207.
Chromium
Now supports specifying paper size and margins in various units such as 72pt, 96px, 1in, 25.4mm, 2.54cm, or 6pc. The default unit is inches when not specified.
Special thanks to @FrankHeijden for the assistance. This resolves issue #591.
LibreOffice
exportFormFields
(boolean) - This setting determines whether to export the form fields or to use the inputted/selected content of the fields. Thanks to @mrbech!Chore
v8.2.2
: 8.2.2Compare Source
Fixes
Chromium
Chromium's default behavior has been updated to no longer generate tagged PDFs, resolving the issue of significantly larger file sizes. For those requiring tagged PDFs, please use the
pdfua
form field henceforth.This issue identified in Gotenberg
8.2.1
has been addressed, thanks to @fu-infotrack for bringing it to our attention! This resolves https://github.com/gotenberg/gotenberg/issues/831.LibreOffice
8.1.0
, has been resolved. Special thanks to @roy20021 for highlighting this problem! This addresses https://github.com/gotenberg/gotenberg/issues/835.PDFcpu
The PDFcpu PDF engine previously experienced crashes under specific conditions. The latest release of PDFcpu addresses and corrects this issue. Special thanks to @h4ckroot for identifying the problem and @stefannovak for testing the release. This resolves https://github.com/gotenberg/gotenberg/issues/808.
Chore
1.22
.v8.2.1
: 8.2.1Compare Source
Fixes
Chromium
~~The default behavior of Chromium no longer includes the generation of tagged PDFs, addressing issues with significantly larger file sizes. For tagged PDF requirements, please utilize the
pdfua
form field moving forward. A special shoutout to @WillCohenInfotrack for the alert!~~It seems that Chromium always generates tagged PDF, whatever the instruction sent. See https://github.com/gotenberg/gotenberg/issues/831.
Misc
Corrected an issue where the API mistakenly issued
501 Not Implemented
responses. Thanks to @stumpylog for pointing this out!New Feature
LibreOffice
Adding basic support for macOS
*.key
files, thanks to the contribution from @eMerzh.Chore
v8.2.0
: 8.2.0Compare Source
New Features
Chromium
Introducing a new form field named
singlePage
. This feature allows for the printing of PDFs where the content fits onto a single page. It addresses issue #421. Special thanks to @rslinckx and @matthiscock for their contributions!Chromium now also generates tagged PDFs by default.
LibreOffice
Adding basic support for macOS
*.pages
files. This enhancement addresses issue #635 from @AvnerCohen.Misc
Improving the merge order functionality for better usability. Files are now sorted alphanumerically rather than by basic alphabetical order. For example, files named
1.pdf
,2a.pdf
,2b.pdf
,10.pdf
,a.pdf
will be sorted in this exact sequence, prioritizing numeric prefixes over letters. This update resolves issue #805 from @hazrul.Chore
122.0.6261.57/.69
(except forarmhf
).v8.1.0
: 8.1.0Compare Source
⚠️ Security Update
This update addresses a critical security flaw which previously enabled unauthorized read access to the system files of a Gotenberg container. It is strongly advised to upgrade to this version, especially for those utilizing the Chromium module to process untrusted content.
A special thanks to @filipochnik!
New Features
--chromium-max-queue-size
and--libreoffice-max-queue-size
. These settings allow Gotenberg to preemptively reject requests exceeding specified queue thresholds for Chromium and/or LibreOffice, issuing a 429 Too Many Requests response to mitigate overload situations, instead of deferring to a timeout response like 503 Service Unavailable. This improvement addresses issue #463 from @NathanLamSeekasia, thanks to @timgrohmann!.zip
archive handling: original filenames are preserved in the output, eliminating the need for UUID-based naming conversions (e.g.,document.docx
todocument.docx.pdf
,file.pdf
tofile.pdf
). This feature resolves issue #771, thanks to @chrishughes20!Chore
v8.0.3
: 8.0.3Compare Source
Chore
v2.042
.121.0.6167.160
(except forarmhf
).24.2.0.3
(successor of version7.6
).v8.0.2
: 8.0.2Compare Source
Fix
The route
/forms/libreoffice/convert
now correctly returns a400 Bad Request
response if the form fieldpdfa
is invalid.Chore
Updates Go dependencies.
v8.0.1
: 8.0.1Compare Source
Fix
This release allows
webp
screenshot capture with Chromium, which was not working previously due to a... typo. Tests have been updated consequently.v8.0.0
: 8.0.0Compare Source
Gotenberg 8 is now out 🎉
For users of
7.x
, the transition to this version should be relatively smooth. Most significant changes were introduced in7.10.x
. This release primarily removes deprecated elements (flags, form fields, etc.) and introduces eagerly anticipated features for Chromium. Read on for detailed information.Upgrade from v7
If you're upgrading from Gotenberg 7, it's recommended to begin with the latest
7.x
version, specifically7.10.2
. Monitor the logs of your Gotenberg instances. Pay attention to warnings at startup and during runtime to identify deprecated features in use that will be unavailable in Gotenberg 8.Refer to the following lists for deprecated elements:
Deprecated Flags
--api-read-timeout
--api-process-timeout
--api-write-timeout
--api-webhook-allow-list
--api-webhook-deny-list
--api-webhook-error-allow-list
--api-webhook-error-deny-list
--api-webhook-max-retry
--api-webhook-retry-min-wait
--api-webhook-retry-max-wait
--api-disable-webhook
--chromium-user-agent
--chromium-failed-starts-threshold
--uno-listener-start-timeout
--uno-listener-restart-threshold
--unoconv-disable-listener
Deprecated Form Fields
userAgent
(Chromium)pdfFormat
nativePdfA1aFormat
(LibreOffice)nativePdfFormat
(LibreOffice)PDF/A-1a
aspdfa
value (see https://gotenberg.dev/docs/troubleshooting#pdfa-1a).Deprecated Metrics
chromium_active_instances_count
chromium_failed_starts_count
unoconv_active_instances_count
libreoffice_listener_active_instances_count
unoconv_listener_active_instances_count
libreoffice_listener_queue_length
unoconv_listener_queue_length
pdftk_active_instances_count
qpdf_active_instances_count
New Chromium Features
POST /forms/chromium/screenshot/url
POST /forms/chromium/screenshot/html
POST /forms/chromium/screenshot/markdown
format
("png", "jpeg" or "webp"),quality
(jpeg only, 0 to 100),omitBackground
,optimizeForSpeed
(optimize image encoding for speed not for resulting size).failOnHttpStatusCodes
: return a 409 Conflict response if the HTTP status code from the main page is not acceptable - thanks @TheRealPaco & @jmvezic!skipNetworkIdleEvent
: do not wait for Chromium network to be idle, allowing for faster conversions - thanks @rreynier!--chromium-clear-cache
: clear Chromium cache between each conversion - thanks @low613!--chromium-clear-cookies
: clear Chromium cookies between each conversion - thanks @low613!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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
5ad3885867
to2700b30d56