Releases: ccjmne/puppeteer-html2pdf
Releases · ccjmne/puppeteer-html2pdf
Ensure adequate .pdf extension for generated document
Only append the .pdf
extension to the generated file name if it's missing.
What's Changed
- Fix double .pdf extension by @redbaron-gt in #11
Full Changelog: 2.1.0...2.1.1
2.1.0
2.0.0
Breaking change from version 1.x.x:
The /multiple
endpoint used to expect the request body to be a JSON object with a single pages
property that would map to a JSON array of strings containing your HTML content for each page to be printed.
That endpoint now expects the JSON array directly.
-
version 1.x.x
{ "pages": [ "<h1>First Page</h1>", "<h1>Second Page</h1>" ] }
-
version 2.x.x
[ "<h1>First Page</h1>", "<h1>Second Page</h1>" ]
1.5.2
1.5.1
1.5.0
1.4.2
Version 1.4.1
The first version using GitHub Actions to automatically build and publish a Docker image to the GitHub Container Registry! 🥳
Install with
docker pull ghcr.io/ccjmne/puppeteer-html2pdf:1.4.1
Usage suggestion
docker run \
-it -d --restart=unless-stopped -p=80:3000 --name html2pdf \
ghcr.io/ccjmne/puppeteer-html2pdf:latest