Releases: bpampuch/pdfmake
Releases · bpampuch/pdfmake
0.3.5
- Added
snakingColumnsproperty for columns to enable newspaper-like column flow - Added outlines / bookmarks for
textnodeoutline- set totruefor add to bookmarksoutlineText(optional) - set custom bookmark text, otherwise text from nodeoutlineExpanded(optional) - set totruefor expanded/opened bookmarkoutlineParentId(optional) - parent bookmarkid
- Added property
outlinesfor ToC, which adds all items to outlines / bookmarks (any existing outline settings on texts are respected)
0.3.4
0.3.3
- Added properties for ToC:
hideEmpty- set totrueif you can hide an empty ToCsortBy-'page'(default) or'title'sortLocale- custom locale to sort by propertysortBy
- Added property
decorationThicknessfortextto set width of the decoration line - Added inherited/extends styles, use property
extendsin style with style name or array of string with style names - Fixed margin override with 0 value
- Fixed margin override from multiple styles
- Fixed text decoration for superscript and subscript
- Fixed svg-to-pdfkit - TypeError: t.classList.contains is not a function
0.3.2
0.2.23
0.3.1
- Added auto page height for multiple pages (for
sectionor after custom page break) - Added type validation for parameters in method
createPdf - Added support
SVGElementobject forsvgnode (SVGElementobject 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
0.3.0
Changelog (compared to version 0.2.21)
- Reverted to the original
pdfkitpackage, 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
pageBreakBeforefunction (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
sectionnode
There is no difference between the stable version 0.3.0 and version 0.3.0-beta.19.
Documentation
0.3.0-beta.19
Prerelease version. Do not use in a production.
Installation
npm install pdfmake@0.3.0-beta.19
Changelog
- Minimal supported version Node.js 20 LTS
- Added
wordBreakproperty fortextnode, 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