github gotenberg/gotenberg v7.3.0
7.3.0

latest releases: v8.5.0, v8.4.0, v8.3.0...
2 years ago

This release brings a lot of new features for the Chromium module 🚀 🚀

New Features

  • New property --chromium-disable-web-security - Don't enforce the same-origin policy.
  • New property --chromium-disable-javascript - Disable JavaScript (closes #175).
  • New form field userAgent - Override the default User-Agent header.
  • New form field waitForExpression - The JavaScript expression to wait before converting an HTML document to PDF until it returns true.
  • New form field emulatedMediaType - The media type to emulate, either "screen" or "print" - empty means "print" (closes #349).
  • New form field failOnConsoleExceptions - Return a 409 Conflict response if there are exceptions in the Chromium console (closes #262).
  • URL endpoint - now auto-detects .woff2, .woff, .ttf, .css and .js files send in the request and adds on the fly corresponding <link> and <script> HTML elements in the DOM of the target URL.
  • URL endpoint - auto-detection may be overridden thanks to the new form fields extraLinkTags and extraScriptTags.

Deprecations

  • The property --chromium-user-agent has been deprecated in favor of the userAgent form field.
  • The form field waitForWindowStatus has been deprecated in favor of the waitForExpression form field.

Misc

  • Higher verbosity when converting with unoconv if --log-level=debug.

Chore

  • Update Go dependencies.
  • Upgrade golangci-lint to 1.43.0.

Don't miss a new gotenberg release

NewReleases is sending notifications on new releases.