Repository navigation
Releases: voidrunner3074/gotenberg-go-client
Release list
8.12.0
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.
8.11.1
Chore
Export multipartRequester interface.
8.11.0
Feature
Added new GenerateTaggedPDF method for chromium requests. More details at https://github.com/gotenberg/gotenberg/releases/tag/v8.21.0.
8.10.0
Feature
Added new form field updateIndexes for libreoffice requests.
Chore
Update golangci-lint to v2.
8.9.2
Fix
Return wrapped HTTP client error. Thanks @Kenoshen for the heads up!
8.9.1
Fix
The integer type is used instead of float to set screenshot size. Changed methods:
ScreenshotHeight(height float64 => ScreenshotHeight(height int)
ScreenshotWidth(width float64) => ScreenshotWidth(width int)
Thanks to @KnightTech-max for discovering the bug!
8.9.0
Feature
Added flatten route supporting. Available as a separate FlattenRequest and via Flatten method for LibreOffice, Merge, SplitIntervals and SplitPages requests.
8.8.1
Feature
Added split methods for Chromium (HTML, Markdown and URL) and LibreOffice requests. List of added methods:
SplitIntervals(span int)
SplitPages(span string, unify bool)
8.8.0
Feature
Added new requests for PDF splitting routes. Examples of use are described in README.
New requests:
SplitIntervalsRequest
SplitPagesRequest
Chore
Added more thorough checks of the resulting files in tests.
8.7.4
BREAKING CHANGES
OfficeRequest is now called LibreOffieRequest, accordingly, the constructor is now called NewLibreOfficeRequest. This decision was made for a clearer understanding of the engine used.
Chore
Minor refactoring of code.