1
Fork 0

Update gotenberg/gotenberg Docker tag to v8 #25

Merged
lucas merged 1 commit from renovate/gotenberg-gotenberg-8.x into master 2024-08-25 08:59:02 +02:00
Collaborator

This PR contains the following updates:

Package Type Update Change
gotenberg/gotenberg final major 7.10.2 -> 8.9.1

Release Notes

gotenberg/gotenberg (gotenberg/gotenberg)

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

v8.7.0: 8.7.0

Compare 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

  • Updates Go dependencies.

v8.6.0: 8.6.0

Compare 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

  • Updates Go dependencies.

v8.5.1: 8.5.1

Compare 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

  • Updates Chromium to version 125.0.6422 (except for armhf).
  • Updates LibreOffice to version 24.2.3.
  • Updates Go dependencies.

v8.5.0: 8.5.0

Compare 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

  • Updates Chromium to version 124.0.6367.78 (except for armhf and arm64).
  • Updates Go dependencies.

v8.4.0: 8.4.0

Compare 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 - boolean
  • httpOnly - boolean
  • sameSite - accepted values are Strict, Lax or None

Special 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

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

v8.3.0: 8.3.0

Compare 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
  • Enhanced support for a wide range of file extensions, courtesy of @​roy20021. This resolves issue #​840.
  • Introducing a new form field 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

  • Updates Go dependencies.

v8.2.2: 8.2.2

Compare 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
  • In line with Chromium's update, LibreOffice has also ceased the generation of tagged PDFs to ensure consistency.
  • The issue causing 500 response errors during attempts to convert multiple PDFs into PDF/A and/or PDF/UA, introduced in Gotenberg 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

  • Updates Go dependencies.
  • Updates Go to version 1.22.

v8.2.1: 8.2.1

Compare 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

  • Updates Go dependencies.

v8.2.0: 8.2.0

Compare 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

  • Updates Chromium to version 122.0.6261.57/.69 (except for armhf).
  • Updates Go dependencies.

v8.1.0: 8.1.0

Compare 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

  • Introducing new configuration options: --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!
  • Enhancements to .zip archive handling: original filenames are preserved in the output, eliminating the need for UUID-based naming conversions (e.g., document.docx to document.docx.pdf, file.pdf to file.pdf). This feature resolves issue #​771, thanks to @​chrishughes20!

Chore

  • Updates Go dependencies.

v8.0.3: 8.0.3

Compare Source

Chore

  • Updates Noto Color Emoji font to v2.042.
  • Updates Chromium to version 121.0.6167.160 (except for armhf).
  • Updates LibreOffice to version 24.2.0.3 (successor of version 7.6).
  • Updates Go dependencies.

v8.0.2: 8.0.2

Compare Source

Fix

The route /forms/libreoffice/convert now correctly returns a 400 Bad Request response if the form field pdfa is invalid.

Chore

Updates Go dependencies.

v8.0.1: 8.0.1

Compare 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.0

Compare 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 in 7.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, specifically 7.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
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

  • You can capture full-page screenshots using the following three routes, which function similarly to their PDF equivalents:
    • POST /forms/chromium/screenshot/url
    • POST /forms/chromium/screenshot/html
    • POST /forms/chromium/screenshot/markdown
    • The following form fields are available: format ("png", "jpeg" or "webp"), quality (jpeg only, 0 to 100), omitBackground, optimizeForSpeed (optimize image encoding for speed not for resulting size).
    • The following features are also available: wait before rendering, emulated media type, custom HTTP headers, invalid HTTP status codes, console exceptions, performance mode.
  • New form field failOnHttpStatusCodes: return a 409 Conflict response if the HTTP status code from the main page is not acceptable - thanks @​TheRealPaco & @​jmvezic!
  • New form field skipNetworkIdleEvent: do not wait for Chromium network to be idle, allowing for faster conversions - thanks @​rreynier!
  • New flag --chromium-clear-cache: clear Chromium cache between each conversion - thanks @​low613!
  • New flag --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.


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [gotenberg/gotenberg](https://github.com/gotenberg/gotenberg) | final | major | `7.10.2` -> `8.9.1` | --- ### Release Notes <details> <summary>gotenberg/gotenberg (gotenberg/gotenberg)</summary> ### [`v8.9.1`](https://github.com/gotenberg/gotenberg/releases/tag/v8.9.1): 8.9.1 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.9.0...v8.9.1) #### 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 [@&#8203;luisforra](https://github.com/luisforra) for the heads up! #### Chore Updates Go dependencies. *** You may now [sponsor this open-source project](https://github.com/sponsors/gulien). Thanks ❤️ ### [`v8.9.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.9.0): 8.9.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.8.1...v8.9.0) #### 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 [@&#8203;giamma](https://github.com/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](https://github.com/sponsors/gulien). Thanks ❤️ ### [`v8.8.1`](https://github.com/gotenberg/gotenberg/releases/tag/v8.8.1): 8.8.1 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.8.0...v8.8.1) #### Fix The `PDF/UA` conversion now correctly claims UA conformity. Thanks [@&#8203;lennartb-](https://github.com/lennartb-) for the heads up! #### Chore Updates Go dependencies. *** You may now [sponsor this open-source project](https://github.com/sponsors/gulien). Thanks ❤️ ### [`v8.8.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.8.0): 8.8.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.7.0...v8.8.0) #### 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 [@&#8203;MaxLap](https://github.com/MaxLap). ##### Chromium A conversion now fails with a *400 Bad Request* response when Chromium encounters *ERR_CONNECTION_REFUSED*. Thanks to [@&#8203;Neirda24](https://github.com/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 [@&#8203;MaikuMori](https://github.com/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](https://github.com/sponsors/gulien). Thanks ❤️ ### [`v8.7.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.7.0): 8.7.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.6.0...v8.7.0) #### New Features ##### Chromium New form field `userAgent` for overriding the default *User-Agent* HTTP header. Thanks [@&#8203;wjkoh](https://github.com/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 [@&#8203;garethjudson](https://github.com/garethjudson)! #### Chore - Updates Go dependencies. ### [`v8.6.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.6.0): 8.6.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.5.1...v8.6.0) #### 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 [@&#8203;jonasgeiler](https://github.com/jonasgeiler)! #### Chore - Updates Go dependencies. ### [`v8.5.1`](https://github.com/gotenberg/gotenberg/releases/tag/v8.5.1): 8.5.1 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.5.0...v8.5.1) #### New Feature If a terminal is attached and the `TZ` environment variable is set, the logging entries will use the specified timezone. Thanks [@&#8203;jaime-pineiro-imatia](https://github.com/jaime-pineiro-imatia)! #### Chore - Updates Chromium to version `125.0.6422` (except for `armhf`). - Updates LibreOffice to version `24.2.3`. - Updates Go dependencies. ### [`v8.5.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.5.0): 8.5.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.4.0...v8.5.0) #### New Features ##### API New `/version` endpoint that displays the currently running version of Gotenberg. This closes [#&#8203;856](https://github.com/gotenberg/gotenberg/issues/856). Thanks [@&#8203;Jaben](https://github.com/Jaben) and [@&#8203;stumpylog](https://github.com/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 [#&#8203;816](https://github.com/gotenberg/gotenberg/issues/816). Thanks [@&#8203;rslinckx](https://github.com/rslinckx) for the assistance! #### Chore - Updates Chromium to version `124.0.6367.78` (except for `armhf` and `arm64`). - Updates Go dependencies. ### [`v8.4.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.4.0): 8.4.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.3.0...v8.4.0) #### 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 [#&#8203;684](https://github.com/gotenberg/gotenberg/issues/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` - boolean - `httpOnly` - boolean - `sameSite` - accepted values are *Strict*, *Lax* or *None* Special thanks to [@&#8203;Sungq1990](https://github.com/Sungq1990) for the assistance. This resolves issue [#&#8203;658](https://github.com/gotenberg/gotenberg/issues/658). ##### LibreOffice Introducing a new form field `singlePageSheets` (boolean) - This setting determines whether to render the entire spreadsheet as a single page. Thanks to [@&#8203;mrbech](https://github.com/mrbech)! #### Chore - Updates Chromium to version `123.0.6312.105` (except for `armhf`). - Updates Go dependencies. ### [`v8.3.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.3.0): 8.3.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.2.2...v8.3.0) #### 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 [@&#8203;piyushsriv](https://github.com/piyushsriv) for the contribution! This resolves issue [#&#8203;207](https://github.com/gotenberg/gotenberg/issues/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 [@&#8203;FrankHeijden](https://github.com/FrankHeijden) for the assistance. This resolves issue [#&#8203;591](https://github.com/gotenberg/gotenberg/issues/591). ##### LibreOffice - Enhanced support for a wide range of file extensions, courtesy of [@&#8203;roy20021](https://github.com/roy20021). This resolves issue [#&#8203;840](https://github.com/gotenberg/gotenberg/issues/840). - Introducing a new form field `exportFormFields` (boolean) - This setting determines whether to export the form fields or to use the inputted/selected content of the fields. Thanks to [@&#8203;mrbech](https://github.com/mrbech)! #### Chore - Updates Go dependencies. ### [`v8.2.2`](https://github.com/gotenberg/gotenberg/releases/tag/v8.2.2): 8.2.2 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.2.1...v8.2.2) #### 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 [@&#8203;fu-infotrack](https://github.com/fu-infotrack) for bringing it to our attention! This resolves https://github.com/gotenberg/gotenberg/issues/831. ##### LibreOffice - In line with Chromium's update, LibreOffice has also ceased the generation of tagged PDFs to ensure consistency. - The issue causing 500 response errors during attempts to convert multiple PDFs into PDF/A and/or PDF/UA, introduced in Gotenberg `8.1.0`, has been resolved. Special thanks to [@&#8203;roy20021](https://github.com/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 [@&#8203;h4ckroot](https://github.com/h4ckroot) for identifying the problem and [@&#8203;stefannovak](https://github.com/stefannovak) for testing the release. This resolves https://github.com/gotenberg/gotenberg/issues/808. #### Chore - Updates Go dependencies. - Updates Go to version `1.22`. ### [`v8.2.1`](https://github.com/gotenberg/gotenberg/releases/tag/v8.2.1): 8.2.1 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.2.0...v8.2.1) #### 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 [@&#8203;WillCohenInfotrack](https://github.com/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 [@&#8203;stumpylog](https://github.com/stumpylog) for pointing this out! #### New Feature ##### LibreOffice Adding basic support for macOS `*.key` files, thanks to the contribution from [@&#8203;eMerzh](https://github.com/eMerzh). #### Chore - Updates Go dependencies. ### [`v8.2.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.2.0): 8.2.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.1.0...v8.2.0) #### 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 [#&#8203;421](https://github.com/gotenberg/gotenberg/issues/421). Special thanks to [@&#8203;rslinckx](https://github.com/rslinckx) and [@&#8203;matthiscock](https://github.com/matthiscock) for their contributions! Chromium now also generates tagged PDFs by default. ##### LibreOffice Adding basic support for macOS `*.pages` files. This enhancement addresses issue [#&#8203;635](https://github.com/gotenberg/gotenberg/issues/635) from [@&#8203;AvnerCohen](https://github.com/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 [#&#8203;805](https://github.com/gotenberg/gotenberg/issues/805) from [@&#8203;hazrul](https://github.com/hazrul). #### Chore - Updates Chromium to version `122.0.6261.57/.69` (except for `armhf`). - Updates Go dependencies. ### [`v8.1.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.1.0): 8.1.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.0.3...v8.1.0) #### ⚠️ 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 [@&#8203;filipochnik](https://github.com/filipochnik)! #### New Features - Introducing new configuration options: `--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 [#&#8203;463](https://github.com/gotenberg/gotenberg/issues/463) from [@&#8203;NathanLamSeekasia](https://github.com/NathanLamSeekasia), thanks to [@&#8203;timgrohmann](https://github.com/timgrohmann)! - Enhancements to `.zip` archive handling: original filenames are preserved in the output, eliminating the need for UUID-based naming conversions (e.g., `document.docx` to `document.docx.pdf`, `file.pdf` to `file.pdf`). This feature resolves issue [#&#8203;771](https://github.com/gotenberg/gotenberg/issues/771), thanks to [@&#8203;chrishughes20](https://github.com/chrishughes20)! #### Chore - Updates Go dependencies. ### [`v8.0.3`](https://github.com/gotenberg/gotenberg/releases/tag/v8.0.3): 8.0.3 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.0.2...v8.0.3) #### Chore - Updates Noto Color Emoji font to `v2.042`. - Updates Chromium to version `121.0.6167.160` (except for `armhf`). - Updates LibreOffice to version `24.2.0.3` (successor of version `7.6`). - Updates Go dependencies. ### [`v8.0.2`](https://github.com/gotenberg/gotenberg/releases/tag/v8.0.2): 8.0.2 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.0.1...v8.0.2) #### Fix The route `/forms/libreoffice/convert` now correctly returns a `400 Bad Request` response if the form field `pdfa` is invalid. #### Chore Updates Go dependencies. ### [`v8.0.1`](https://github.com/gotenberg/gotenberg/releases/tag/v8.0.1): 8.0.1 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v8.0.0...v8.0.1) #### 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`](https://github.com/gotenberg/gotenberg/releases/tag/v8.0.0): 8.0.0 [Compare Source](https://github.com/gotenberg/gotenberg/compare/v7.10.2...v8.0.0) Gotenberg 8 is now out 🎉 For users of `7.x`, the transition to this version should be relatively smooth. Most significant changes were introduced in `7.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, specifically `7.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` as `pdfa` 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 - You can capture full-page screenshots using the following three routes, which function similarly to their PDF equivalents: - `POST /forms/chromium/screenshot/url` - `POST /forms/chromium/screenshot/html` - `POST /forms/chromium/screenshot/markdown` - The following form fields are available: `format` ("png", "jpeg" or "webp"), `quality` (jpeg only, 0 to 100), `omitBackground`, `optimizeForSpeed` (optimize image encoding for speed not for resulting size). - The following features are also available: wait before rendering, emulated media type, custom HTTP headers, invalid HTTP status codes, console exceptions, performance mode. - New form field `failOnHttpStatusCodes`: return a *409 Conflict* response if the HTTP status code from the main page is not acceptable - thanks [@&#8203;TheRealPaco](https://github.com/TheRealPaco) & [@&#8203;jmvezic](https://github.com/jmvezic)! - New form field `skipNetworkIdleEvent`: do not wait for Chromium network to be idle, allowing for faster conversions - thanks [@&#8203;rreynier](https://github.com/rreynier)! - New flag `--chromium-clear-cache`: clear Chromium cache between each conversion - thanks [@&#8203;low613](https://github.com/low613)! - New flag `--chromium-clear-cookies`: clear Chromium cookies between each conversion - thanks [@&#8203;low613](https://github.com/low613)! </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMS4wIiwidXBkYXRlZEluVmVyIjoiMzguMjEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovate-bot force-pushed renovate/gotenberg-gotenberg-8.x from 5ad3885867 to 2700b30d56 2024-08-24 18:00:19 +02:00 Compare
lucas merged commit 8815e24721 into master 2024-08-25 08:59:02 +02:00
lucas deleted branch renovate/gotenberg-gotenberg-8.x 2024-08-25 08:59:02 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lucas/ci-images#25
No description provided.