v0.1.0
First public release.
Added
url-to-pdf,html-to-pdf(file or stdin),status,download,version.- Output handling:
-o DIR(created if missing),-f NAME,-o -to stream
the PDF to stdout; atomic writes (temp file + rename), never to a terminal. - Page options:
--format(A0–A6, Letter, Legal, Tabloid, Ledger),
--landscape,--margin(CSS shorthand) and--margin-<side>,
--no-background;--testfor free end-to-end runs that return a sample
PDF;-q/--quiet;--timeout. - Documented exit codes: 0 ok, 1 failed, 2 usage, 3 rendering failed on the
server, 4 not finished within--timeout, 130 interrupted. Ctrl-C cancels
cleanly: no partial file is left behind and the in-flight job id is printed. wkhtmltopdfcompatibility mode: every wkhtmltopdf flag is mapped, accepted
with a warning, or refused with a reason — seeCOMPATIBILITY.md. Includes
--default-header,--replace,--title, case-insensitive[toPage]-style
placeholders,ptmargins,file://input, and--version/-hprobes for
wrappers such as pdfkit and wicked_pdf.- Client robustness: one
Idempotency-Keyper submission with retries on
transport errors and 502/503/504 (a job is never charged twice), rate-limit
aware polling (Retry-Afterhonoured and capped), download stall detection
that never trips on a slow consumer, retry of the freedownload-busy
rejection, API-key stripping on cross-host and https→http redirects, refusal
of plain-http API URLs, terminal-escape sanitization of server text. - Static binaries for Linux/macOS/Windows with a checksums file, and a
FROM scratchnon-root container image.