Skip to content

8.12.0

Latest

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 17 Nov 22:09
350c3b2

Feature

Support for new routes:

  • Encrypt (NewEncryptRequest)
  • Embed (NewEmbedRequest)

Added Encrypt and Embed method sfor LibreOffice, Chromium (HTML, Markdown, URL) and PdfEngines requests.

index, _ := document.FromPath("index.html", "docs/index.html")
req := NewHTMLRequest(index)

header, _ := document.FromPath("header.html", "docs/header.html")
req.Embeds(header)

Changed DownloadFrom signature from DownloadFrom(downloads map[string]map[string]string) to DownloadFrom(downloads map[string]map[string]string, embedded bool).

Chore

Update Gotenberg version for tests to 8.25.0.