Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.22 KB

CHANGELOG.md

File metadata and controls

82 lines (45 loc) · 2.22 KB

Changelog

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.

[Unreleased]

4.3.0 (2024-11-14)

  • Remove polyfill for global.window which is now redundant

4.2.0 (2024-11-02)

  • Add a new option called renderParams. This allows you to generate transparent images using renderParams: { background: 'transparent' } (#244)

4.1.1 (2024-09-17)

  • Fix bugs with the CLI on Windows

4.1.0 (2024-08-07)

  • Added a new method to read a specific page number

4.0.0 (2024-06-08)

  • 💥 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

3.0.0 (2024-05-24)

  • 💥 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

2.1.2 (2023-10-04)

  • Update node-canvas to v2.11.2

2.1.1 (2022-12-13)

  • Fix console warning about fonts

2.1.0 (2022-12-11)

  • Fix issue where some standard fonts weren't being loaded

2.0.0 (2022-11-05)

  • Support NodeJS v18 and v19
  • 💥 BREAKING CHANGE: Drop support for node v10 and v12
  • Remove control characters like \x00 from PDF metadata

1.2.0 (2022-01-23)

  • Allow parameters to be passed through to pdfjs.getDocument (#119)

1.1.1 (2021-07-28)

  • Update pdfjs and pin dependencies due to breaking change in minor update to pdfjs

1.1.0 (2021-03-28)

  • Accept Buffer and ReadableStream as well as a data URL or a path to a file on disk.

1.0.3 (2021-02-20)

  • add a scale option for producing high-resolution images

1.0.2 (2021-02-02)

  • make it work when jest's testEnvironment is set to node.

1.0.0 (2021-02-02)

  • Initial release