NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #1708 by repository stars
Latest stable
v1.9.3
Last release 1 years ago
30 Oct 2025
Release timing varies
gaps range from 8 days to 1.3 years
Some releases are documented
notes for 12 of 21 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
68 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Do not show console on each invokation by @matwachich in https://github.com/SebastiaanKlippert/go-wkhtmltopdf/pull/124
Full Changelog: https://github.com/SebastiaanKlippert/go-wkhtmltopdf/compare/v1.9.2...v1.9.3
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
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 retu
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.
No new features, removes deprecated Go functions
No new features, removes deprecated Go functions
Nothing published for this version
Nothing published for this version
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"
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 or pdfg.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
Nothing published for this version
Nothing published for this version
go modules compatability
go modules compatability
Nothing published for this version
Nothing published for this version
Document changes regarding executables in the current directory in go 1.19 and return error exec.ErrDot if this is the case. This error was previously
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/102Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add header and footer options for TOC
Add header and footer options for TOC
Nothing published for this version
Nothing published for this version
Added CreateContext and use exec.CommandContext. Can be used for cancellation and other things.
Added CreateContext and use exec.CommandContext. Can be used for cancellation and other things.
Renamed page interface to PageProvider to make it exported.
Renamed page interface to PageProvider to make it exported.
Nothing published for this version
Breaking change: Global option Lowquality is now LowQuality. The compiler will fail if you use this options so no big issue for most users. For JSON u…
Added new fields introduced in wkhtmltopdf release 0.12.6.
Most importantly page option --enable-local-file-access which is now required to enable access to local files when to --allow option is not used.
Fixed a couple of incorrect options.
Breaking change: Global option Lowquality is now LowQuality. The compiler will fail if you use this options so no big issue for most users. For JSON users it will not break because the JSON parser will parse the field with both casing options.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added new page options: * bypass-proxy-for * keep-relative-links * ssl-crt-path * ssl-key-password * ssl-key-path
Added new page options:
Added SetOutput method that will accept an io.Writer to write the generated PDF to.
Added SetOutput method that will accept an io.Writer to write the generated PDF to.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.