DEV Community

Luiz Américo
Luiz Américo

Posted on

pdfkit 0.15 released

Just released version 0.15 of pdfkit, a library to create pdf files in Node and browsers.

Alongside the bug fixes and performance tweaks, support for long time obsolete environments (hello Node v6 and IE11!) was dropped.

I'd like to thanks everyone that contributed submitting code.

The main changes:

  • Add subset for PDF/UA
  • Fix for line breaks in list items (#1486)
  • Fix for soft hyphen not being replaced by visible hyphen if necessary (#457)
  • Optimize output files by ignoring identity transforms
  • Fix for Acroforms - setting an option to false will still apply the flag (#1495)
  • Fix for text extraction in PDFium-based viewers due to invalid ToUnicodeMap (#1498)
  • Remove deprecated write method
  • Drop support for Node.js < 18 and for browsers released before 2020

Looking forward, in short time, i plan to improve the testing infrastructure and docs generation (broken for now).

On the other side, making pdfkit portable to browser (drop requirement of bundler) and other JS runtimes is a project i'm holding until find proper funding.

Top comments (0)