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.

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs