pdfkit 0.18.0 → 0.19.1

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/.yarnrc.yml CHANGED
@@ -1,3 +1,10 @@
1
- yarnPath: .yarn/releases/yarn-4.10.3.cjs
1
+ approvedGitRepositories:
2
+ - '**'
3
+
4
+ enableScripts: true
2
5
 
3
6
  nodeLinker: node-modules
7
+
8
+ npmMinimalAgeGate: '1w'
9
+
10
+ yarnPath: .yarn/releases/yarn-4.16.0.cjs
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  ### Unreleased
4
4
 
5
+ ### [v0.19.1] - 2026-06-10
6
+
7
+ - Fix RGB JPEG embedded as DeviceGray (0.19.0 regression) (#1734)
8
+
9
+ ### [v0.19.0] - 2026-06-07
10
+
11
+ - Bump node version requirement to 20+
12
+ - Bump minimum supported browsers to Firefox 115, iOS/Safari 16
13
+ - Fix text with input x as null
14
+ - Add opacity option to `doc.image()` to control image transparency
15
+ - Fix corrupted PDF when mixing standard and embedded fonts that share postscript name
16
+ - Fix PDF/UA compliance issues in kitchen-sink-accessible example
17
+ - Add bbox and placement options to PDFStructureElement for PDF/UA compliance
18
+ - Extend `roundedRect` with `borderRadius` as number for all corners or per-corner array (CSS order)
19
+ - Fix accessibility: scope in TH element
20
+ - Fix PDF Name escaping for spot colors with spaces ([#1644](https://github.com/foliojs/pdfkit/issues/1644))
21
+
5
22
  ### [v0.18.0] - 2026-03-14
6
23
 
7
24
  - Fix garbled text copying in Chrome/Edge for PDFs with >256 unique characters (#1659)
@@ -16,7 +33,7 @@
16
33
  - Add robust handling of null byte padding in JPEG images
17
34
  - Replace outdated jpeg-exif with minimal implementation
18
35
  - Replace outdated crypto-js with maintained small alternatives
19
- - Fix issue with indentation with `indentAllLines: true` when a new page is created
36
+ - Fix issue with indentation with `indentAllLines: true` when a new page is created
20
37
 
21
38
  ### [v0.17.2] - 2025-08-30
22
39
 
@@ -27,7 +44,7 @@
27
44
  - Fix null values in table cells rendering as `[object Object]`
28
45
  - Fix further LineWrapper precision issues
29
46
  - Optmize standard font handling. Less code, less memory usage
30
-
47
+
31
48
  ### [v0.17.0] - 2025-04-12
32
49
 
33
50
  - Fix precision rounding issues in LineWrapper