Skip to content

Releases: starwalkn/gotenberg-go-client

8.8.0

23 Dec 11:02
5a9aa6b
Compare
Choose a tag to compare

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

21 Dec 20:36
1e88bd7
Compare
Choose a tag to compare

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.

8.7.3

20 Dec 07:59
3b726ff
Compare
Choose a tag to compare

Fix

SkipNetworkIdleEvent method is now accepts bool value.

Chore

Updated dependencies.

Deleted CODE_OF_CONDUCT, CONTRIBUTING, ISSUE_ and PULL_REQUEST_TEMPLATE.

Used t.TempDir instead of creating temporary directories for tests with os package.

8.7.2

12 Dec 09:30
40f614f
Compare
Choose a tag to compare

Fix

Fixed FailOnResourceHTTPStatusCodes method.

8.7.1

02 Dec 12:40
2aa4bb0
Compare
Choose a tag to compare

Feature

Changed signatures of methods that accepted data in pre-formatted JSON format. These methods now accept understandable data types as arguments.
The gotenberg.Cookie type validates internally the passed data when the Cookies() method is called.

List of changed methods:

Chromium requests (HTML, Markdown, URL):

Cookies(cookies []byte) => Cookies(cookies []gotenberg.Cookie) error
ExtraHTTPHeaders(headers []byte) => ExtraHTTPHeaders(headers map[string]string) error
FailOnHTTPStatusCodes(statusCodes []byte) => FailOnHTTPStatusCodes(statusCodes []int) error
FailOnResourceHTTPStatusCodes(statusCodes []byte) => FailOnResourceHTTPStatusCodes(statusCodes []int) error

All requests:

SetWebhookExtraHeaders(headers byte) => SetWebhookExtraHeaders(headers map[string]string) error

Chore

Gotenberg version updated to 8.14.1 for tests.

8.7.0

18 Nov 09:33
e46f4e7
Compare
Choose a tag to compare

Feature

Added GenerateDocumentOutline method for chromium requests.

8.6.5

17 Nov 18:21
3108e89
Compare
Choose a tag to compare

Feature

Add new Chromium methods:

FailOnResourceHttpStatusCodes
failOnResourceLoadingFailed

8.6.4

12 Nov 21:15
Compare
Choose a tag to compare

Fix

Changed module name from github.com/dcaraxes/gotenberg-go-client/v8 to github.com/runatal/gotenberg-go-client/v8.

8.6.3

31 Oct 11:34
Compare
Choose a tag to compare

Feature

Returned v8 in the module name.

This version includes all the changes from versions 8.6.0-8.6.3. But in these versions, the module name is declared without v8, so it is undesirable to use these versions.

Chore

Minor corrections in the documentation.

8.6.2

27 Oct 20:02
f6a1bb9
Compare
Choose a tag to compare

Feature

  • Added the Trace() method.
  • Sending requests now accepts the context as a required argument to the method.