Skip to content

Releases: ol-th/pdf-img-convert.js

v2.0.0

27 Sep 15:14
Compare
Choose a tag to compare

2.0.0 - 2024-09-27

Added

  • ES6 Module Support: Switched from require() to ES6 import for better compatibility with modern JavaScript frameworks.
  • Parallel Page Rendering: Introduced parallel rendering of PDF pages using Promise.all() for improved performance.
  • GlobalWorkerOptions Setup: Added explicit GlobalWorkerOptions.workerSrc to handle workers in ES6 environments more effectively.
  • Examples and Server Setup: Added detailed examples and a simple Node.js server setup in the "examples" directory.
  • Improved Error Handling: Added more informative error messages for invalid page numbers, dimensions, and scale values.
  • Updated package.json Keywords: Added new keywords such as es6, esm, and module to improve discoverability in modern JavaScript environments.

Changed

  • README: Revised the README.md to reflect new features and usage examples.

Fixed

  • Security: Addressed a critical security vulnerability in previously used npm packages by updating pdfjs-dist to the latest versions.
  • Scaling Logic: Refined the handling of width, height, and scale parameters to cover more edge cases in image rendering.

v1.2.1

16 Apr 17:51
Compare
Choose a tag to compare

1.2.1 - 2023-04-16

v1.2.0

05 Mar 15:45
Compare
Choose a tag to compare

1.2.0 - 2023-03-05

Added

  • Add scale parameter.

v1.1.3

05 Mar 15:22
Compare
Choose a tag to compare

1.1.3 - 2023-03-05

Added

  • Add files whitelist to package.json.

v1.1.2

05 Mar 15:06
Compare
Choose a tag to compare

1.1.2 - 2023-03-05

v1.1.1

03 Nov 14:59
Compare
Choose a tag to compare

1.1.1 - 2022-11-03

Changed

  • Fix return type in d.ts

v1.1.0

03 Nov 14:29
Compare
Choose a tag to compare

1.1.0 - 2022-11-03

Added

  • Changelog

Changed

  • Revert to disableFontFace: true