All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Updated dependencies
- Upgraded Node from 18 (LTS) to 20 (LTS)
- Switch to new headless mode
- don't crash when failing to generate the PDF but log an error
- Support for landscape PDFs, #197
- use port
5017
instead of5000
due to conflicts with other services (e.g. on macOS Monterey) - rename package from
pdf-render
topdf-renderer
- document how to deploy to Docker Hub
- updated dependencies
- upgraded node from version 16 (EOL) to 18 (LTS)
- updated download URL for google content as per their documentation
- do not use
sudo
to install dependencies in Docker (failed to compile with sudo on latest version)
- the task for docker now runs the server using vanilla
node
instead ofnodemon
along with more stuff utilizingconcurrently
. We observed, that puppeteer can crash, but nodemon prevents us from restrting since it waits for file changes (which aren't going to happen in production) #145 - docker now accepts
NODE_ENV
asARG
with"production"
as default value #145
- Updated all dependcies (solves 23 from 158 CVE issues, solves 8/10 with "high" severity), #132
- Upgraded Node from 14 -> 16 (current LTS) for the docker image
- Upgraded Docker to use latest stable Debian (bullseye), which resolves another 58 CVE issues, now down to 1 High and 76 other.
- setting
NODE_ENV=development
will now skip the hardcoded exec path for puppeteer, allowing to run this locally on macOS
- Initial release