pdfmake 0.3.6 → 0.3.8

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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.8 - 2026-05-06
4
+
5
+ - Added server-side method `setLocalAccessPolicy()` for defining a custom access policy for local file
6
+
7
+ Example:
8
+ ```js
9
+ pdfmake.setLocalAccessPolicy((path) => {
10
+ // check allowed local file path
11
+ return path.startsWith("fonts/");
12
+ });
13
+ ```
14
+ - Improved URL Access Policy (`setUrlAccessPolicy` method); URLs are now validated even before each redirection in Node.js and after final redirection in browser (browsers do not support validation before redirection)
15
+ - Fixed extra blank page when using headerRows, dontBreakRows and cell pageBreak together
16
+ - Fixed rendering of an invalid color name - previously it used the last valid color; now it defaults to black
17
+ - Fixed dontBreakRows rowSpan ending offset across pages
18
+
19
+ ## 0.3.7 - 2026-03-17
20
+
21
+ - Updated pdfkit to 0.18.0
22
+
3
23
  ## 0.3.6 - 2026-03-10
4
24
 
5
25
  - Added `setUrlAccessPolicy()` for defining a custom access policy for external URLs before download