Skip to content

Releases: bpampuch/pdfmake

0.3.1

07 Jan 09:17

Choose a tag to compare

  • Added auto page height for multiple pages (for section or after custom page break)
  • Added type validation for parameters in method createPdf
  • Added support SVGElement object for svg node (SVGElement object is available only in browser)
  • Updated svg-to-pdfkit library to the latest GitHub master commit
  • Fixed a bug in the write method where it did not wait for the file write operation to complete
  • Fixed SVG loading
  • Fixed rendering SVG without viewBox

0.2.22

07 Jan 09:12

Choose a tag to compare

  • Added object type validation for parameters in method createPdf and createPdfKitDocument
  • Added support SVGElement object for svg node (SVGElement object is available only in browser)
  • Fixed rendering SVG without viewBox

0.3.0

01 Jan 12:29

Choose a tag to compare

Changelog (compared to version 0.2.21)

  • Reverted to the original pdfkit package, moving away from @foliojs-fork
  • Drop support Internet Explorer 11 (Microsoft will not support from 2022)
  • Minimal supported version Node.js 20 LTS
  • Port code base to ES6+
  • Unify interface for node and browser (breaking change)
  • All methods return promise instead of using callback (breaking change)
  • Change including virtual font storage in client-side (breaking change)
  • Change parameters of pageBreakBefore function (breaking change)
  • Support for loading font files and images via URL adresses (https:// or http:// protocol) in Node.js (client and server side now)
  • Used fetch API for downloading fonts and images
  • Attachments embedding
  • Added section node

There is no difference between the stable version 0.3.0 and version 0.3.0-beta.19.

Documentation

Documentation for version 0.3: here
Migration guide: here

0.3.0-beta.19

22 Dec 13:43

Choose a tag to compare

0.3.0-beta.19 Pre-release
Pre-release

Prerelease version. Do not use in a production.

Installation

npm install [email protected]

Changelog

  • Minimal supported version Node.js 20 LTS
  • Added wordBreak property for text node, supported values: 'normal' (default), 'break-all'
  • Used fetch API for downloading fonts and images
  • Update Roboto font (version 3.014)
  • Fixed render empty list entries

Documentation

Documentation for version 0.3: here
Migration guide: here

0.2.21

22 Dec 13:34

Choose a tag to compare

  • Added wordBreak property for text node, supported values: 'normal' (default), 'break-all'
  • Update Roboto font (version 3.014)
  • Fixed render empty list entries

0.3.0-beta.18

09 May 08:20

Choose a tag to compare

0.3.0-beta.18 Pre-release
Pre-release

Prerelease version. Do not use in a production.

Installation

npm install [email protected]

Changelog

  • Added section node (see documentation)
  • Fixed crash that occurred when using automatic page height
  • Fixed text overflow with some non-wrappable texts

Documentation

Documentation for version 0.3: here
Migration guide: here

0.2.20

09 May 08:09

Choose a tag to compare

  • Fixed text overflow with some non-wrappable texts

0.3.0-beta.17

29 Apr 14:32

Choose a tag to compare

0.3.0-beta.17 Pre-release
Pre-release

Prerelease version. Do not use in a production.

Installation

npm install [email protected]

Changelog

  • Fixed DoS via repeatedly redirect URL in file embedding

Documentation

Documentation for version 0.3: here
Migration guide: here

0.3.0-beta.16

26 Apr 09:43

Choose a tag to compare

0.3.0-beta.16 Pre-release
Pre-release

Prerelease version. Do not use in a production.

Installation

npm install [email protected]

Changelog

  • Update pdfkit to 0.17.0
  • Update Roboto font (version 3.011)
  • Fixed URL resolving for same URL in browser
  • Fixed sharing URL resolver for not available URLs

Documentation

Documentation for version 0.3: here
Migration guide: here

0.2.19

26 Apr 09:37

Choose a tag to compare

  • Update Roboto font (version 3.011)