Releases: starwalkn/gotenberg-go-client
8.8.0
8.7.4
8.7.3
8.7.2
8.7.1
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
8.6.5
8.6.4
8.6.3
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.