pretext-pdf 0.5.2 → 0.5.3
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 +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
<!-- markdownlint-disable MD024 -->
|
|
4
|
+
|
|
3
5
|
All notable changes to pretext-pdf are documented here.
|
|
4
6
|
Format: [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/)
|
|
5
7
|
|
|
@@ -15,6 +17,14 @@ Format: [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/)
|
|
|
15
17
|
|
|
16
18
|
---
|
|
17
19
|
|
|
20
|
+
## [0.5.3] — 2026-04-16
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- **Upgraded `@chenglou/pretext` from 0.0.3 to 0.0.5** — picks up improved text analysis accuracy (~35% larger analysis module), better measurement precision, extracted bidi-data module for cleaner tree-shaking, and new `rich-inline` export (not yet used by pretext-pdf). No breaking changes — `prepareWithSegments()` and `layoutWithLines()` APIs are unchanged. All 223 tests pass, 3 example PDFs visually verified (RTL, TOC, hyperlinks).
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
18
28
|
## [0.5.2] — 2026-04-13
|
|
19
29
|
|
|
20
30
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pretext-pdf",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Declarative JSON → PDF generation with professional typography. Built on pretext's precision text layout engine.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pdf",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
92
|
"@cantoo/pdf-lib": "^2.6.5",
|
|
93
|
-
"@chenglou/pretext": "0.0.
|
|
93
|
+
"@chenglou/pretext": "0.0.5",
|
|
94
94
|
"@fontsource-variable/inter": "^5.2.8",
|
|
95
95
|
"@fontsource/inter": "^5.0.0",
|
|
96
96
|
"@pdf-lib/fontkit": "^1.1.1",
|