Skip to content

Releases: voidrunner3074/gotenberg-go-client

8.12.0

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.

8.11.1

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 31 Oct 12:09
885b883

Chore

Export multipartRequester interface.

8.11.0

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 21 May 12:57
efb0aa5

Feature

Added new GenerateTaggedPDF method for chromium requests. More details at https://github.com/gotenberg/gotenberg/releases/tag/v8.21.0.

8.10.0

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 19 May 20:24
52148a7

Feature

Added new form field updateIndexes for libreoffice requests.

Chore

Update golangci-lint to v2.

8.9.2

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 17 Apr 20:52
05b77dc

Fix

Return wrapped HTTP client error. Thanks @Kenoshen for the heads up!

8.9.1

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 09 Feb 09:26
aa8ab7d

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

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 30 Jan 00:45
b65e466

Feature

Added flatten route supporting. Available as a separate FlattenRequest and via Flatten method for LibreOffice, Merge, SplitIntervals and SplitPages requests.

8.8.1

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 29 Dec 12:47
0677fd8

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

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 23 Dec 11:02
5a9aa6b

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

Choose a tag to compare

@voidrunner3074 voidrunner3074 released this 21 Dec 20:36
1e88bd7

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.