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.
- Remove polyfill for
global.window
which is now redundant
- Add a new option called
renderParams
. This allows you to generate transparent images usingrenderParams: { background: 'transparent' }
(#244)
- Fix bugs with the CLI on Windows
- Added a new method to read a specific page number
- 💥 BREAKING CHANGE: Drop support for node v16. The minimum version is now v18
- 💥 BREAKING CHANGE: Convert to a pure ESM package. For more info, see here. This is unfortunately required to support pdfjs v4.
- Updated pdfjs to v4
- 💥 BREAKING CHANGE: Drop support for node v14 and v16. The minimum version is now v16.17
- 💥 BREAKING CHANGE: disable
isEvalSupported
by default to resolve CVE-2024-4367 - Added a CLI
- Update node-canvas to
v2.11.2
- Fix console warning about fonts
- Fix issue where some standard fonts weren't being loaded
- Support NodeJS v18 and v19
- 💥 BREAKING CHANGE: Drop support for node v10 and v12
- Remove control characters like
\x00
from PDF metadata
- Allow parameters to be passed through to
pdfjs.getDocument
(#119)
- Update pdfjs and pin dependencies due to breaking change in minor update to pdfjs
- Accept
Buffer
andReadableStream
as well as a data URL or a path to a file on disk.
- add a
scale
option for producing high-resolution images
- make it work when jest's
testEnvironment
is set tonode
.
- Initial release