Update module github.com/SebastiaanKlippert/go-wkhtmltopdf to v1.9.2 #98
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.6.1
->v1.9.2
Release Notes
SebastiaanKlippert/go-wkhtmltopdf (github.com/SebastiaanKlippert/go-wkhtmltopdf)
v1.9.2
Compare Source
In case there is a cmd/os error while rendering the PDF to cmd error was not displayed, but only the contents of wkhtmltopdf's stderr buffer were returned.
The error returned by exec.Command is now appended to the contents of stderr in a new line.
This should make it clear what the error was, but the error text might be very long.
v1.9.1
Compare Source
No new features, removes deprecated Go functions
v1.9.0
Compare Source
Margin and page size options can be set with units in wkhtmltopdf.
That was not possible in go-wkhtmltopdf, for the options that support this a "Unit" option has been added.
For example, you can now use
pdfg.MarginRightUnit.Set("1mm")
to set a margin of 1 millimeter orpdfg.MarginRightUnit.Set("0.5in")
for half an inch.pdfg.MarginRight.Set(1)
is still available to to set it to 1 mm.When both options are specified a duplicate agrument error is returned:
duplicate argument: --margin-right
v1.8.2
Compare Source
go modules compatability
v1.8.1
Compare Source
v1.8.0
Compare Source
exec.ErrDot
if this is the case. This error was previously ignored but makes it hard to debug why wkhtmltopdf was not found. See https://pkg.go.dev/os/exec@master#hdr-Executables_in_the_current_directoryCreate()
functions, see https://github.com/SebastiaanKlippert/go-wkhtmltopdf/issues/102v1.7.2
: git flow changesCompare Source
no functional changes
v1.7.1
Compare Source
Add header and footer options for TOC
v1.7.0
Compare Source
Added CreateContext and use exec.CommandContext.
Can be used for cancellation and other things.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.