Skip to content

Releases: ccjmne/puppeteer-html2pdf

Ensure adequate .pdf extension for generated document

22 May 03:41
0ba6177
Compare
Choose a tag to compare

Only append the .pdf extension to the generated file name if it's missing.

What's Changed

Full Changelog: 2.1.0...2.1.1

2.1.0

21 Nov 20:43
25d2877
Compare
Choose a tag to compare

Supporting both ARM and AMD architectures

With this version, we now offer images for both ARM and AMD architectures.
The image is now based on node:current-alpine and leverages chromium rather than google-chrome.

2.0.0

18 Jul 21:31
6269400
Compare
Choose a tag to compare

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

05 Jul 00:15
01b33cc
Compare
Choose a tag to compare

Update arguments passed to puppeteer:

  • use headless: 'new', which will replace the deprecated headless: true mode
  • use appropriate executablePath

TODO: Maybe use google-chrome-stable as executablePath?

1.5.1

04 Jul 23:09
9fc4620
Compare
Choose a tag to compare

Fix startup command, after switching to ghcr.io/puppeteer/puppeteer.

1.5.0

04 Jul 22:51
52f1ccf
Compare
Choose a tag to compare
  • Updated all dependencies
  • Updated to the latest Puppeteer, from ghcr.io

1.4.2

01 Mar 19:18
2a22c37
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.4.1...1.4.2

Version 1.4.1

09 Feb 20:35
8c0f039
Compare
Choose a tag to compare

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