pdfmake 0.3.11 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/build/pdfmake.js +46900 -62599
- package/build/pdfmake.js.map +1 -1
- package/build/pdfmake.min.js +2 -2
- package/build/pdfmake.min.js.map +1 -1
- package/build/standard-fonts/Courier.js +1 -19
- package/build/standard-fonts/Helvetica.js +1 -19
- package/build/standard-fonts/Symbol.js +1 -13
- package/build/standard-fonts/Times.js +1 -19
- package/build/standard-fonts/ZapfDingbats.js +1 -13
- package/js/DocumentContext.js +3 -1
- package/js/ElementWriter.js +5 -2
- package/js/LayoutBuilder.js +12 -4
- package/js/OutputDocument.js +18 -9
- package/js/OutputDocumentServer.js +5 -0
- package/js/PDFDocument.js +7 -8
- package/js/PageElementWriter.js +5 -1
- package/js/Renderer.js +5 -0
- package/js/TableProcessor.js +13 -0
- package/js/TextDecorator.js +3 -3
- package/js/browser-extensions/index.js +7 -1
- package/js/browser-extensions/standard-fonts/Courier.js +1 -19
- package/js/browser-extensions/standard-fonts/Helvetica.js +1 -19
- package/js/browser-extensions/standard-fonts/Symbol.js +1 -7
- package/js/browser-extensions/standard-fonts/Times.js +1 -19
- package/js/browser-extensions/standard-fonts/ZapfDingbats.js +1 -7
- package/js/columnCalculator.js +10 -4
- package/package.json +3 -9
- package/src/DocumentContext.js +1 -1
- package/src/ElementWriter.js +6 -2
- package/src/LayoutBuilder.js +12 -4
- package/src/OutputDocument.js +20 -9
- package/src/OutputDocumentServer.js +6 -0
- package/src/PDFDocument.js +7 -8
- package/src/PageElementWriter.js +5 -1
- package/src/Renderer.js +6 -0
- package/src/TableProcessor.js +15 -0
- package/src/TextDecorator.js +4 -3
- package/src/browser-extensions/index.js +7 -1
- package/src/browser-extensions/standard-fonts/Courier.js +6 -8
- package/src/browser-extensions/standard-fonts/Helvetica.js +6 -8
- package/src/browser-extensions/standard-fonts/Symbol.js +1 -5
- package/src/browser-extensions/standard-fonts/Times.js +6 -8
- package/src/browser-extensions/standard-fonts/ZapfDingbats.js +1 -5
- package/src/columnCalculator.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.13 - 2026-10-25
|
|
4
|
+
|
|
5
|
+
- Added horizontal table alignment via `tableAlignment`: `left` (default), `center`, or `right`
|
|
6
|
+
- Fixed PDF stream errors not rejecting promises returned by `getBuffer()`, `getBase64()` and `getDataUrl()`
|
|
7
|
+
- Fixed `getStream()` returning an already consumed stream; subsequent stream access now rejects
|
|
8
|
+
- Fixed `write()` hanging or failing after `getBuffer()`, `getBase64()` or `getDataUrl()` by reusing buffered PDF data
|
|
9
|
+
- Fixed attachments loaded from the virtual file system (including downloaded URL attachments) failing with "No src specified"
|
|
10
|
+
- Fixed sections with automatic page height sharing the first section's height and clipping content in subsequent sections
|
|
11
|
+
- Fixed vertical alignment of row-spanned table header cells when the table starts on a subsequent page
|
|
12
|
+
- Fixed text decoration positioning and automatic thickness for mixed font sizes depending on the order of text fragments
|
|
13
|
+
- Fixed adjacent text fragments with different `decorationThickness` values being rendered with the same decoration thickness
|
|
14
|
+
- Fixed wavy text decoration clipping height incorrectly depending on the vertical position on the page
|
|
15
|
+
- Fixed reversed paint order of table cell background fills in unbreakable blocks, which caused outer table fills to cover nested table fills
|
|
16
|
+
- Fixed percentage table column widths using incorrect padding and border widths when mixed with `auto` or star-sized columns
|
|
17
|
+
- Fixed `TypeError: Invalid base URL` when loading the browser build in React Native
|
|
18
|
+
|
|
19
|
+
## 0.3.12 - 2026-10-17
|
|
20
|
+
|
|
21
|
+
- **Reduced browser bundle size by over 20%**
|
|
22
|
+
- Updated pdfkit to 0.20.2
|
|
23
|
+
- Fixed `setLocalAccessPolicy` being bypassed for local images embedded in SVG
|
|
24
|
+
|
|
3
25
|
## 0.3.11 - 2026-06-12
|
|
4
26
|
|
|
5
27
|
- Updated pdfkit to 0.19.1 (fixed RGB JPEG embedded as DeviceGray, bug introduced in 0.19.0)
|