fix(smartpdf): harden browser lifecycle, port handling, and PDF result metadata

This commit is contained in:
2026-04-30 11:00:14 +00:00
parent 5b1615d359
commit b5ad88c33b
8 changed files with 1796 additions and 2686 deletions
+9
View File
@@ -1,5 +1,14 @@
# Changelog
## 2026-04-30 - 4.2.1 - fix(smartpdf)
harden browser lifecycle, port handling, and PDF result metadata
- initialize nullable runtime state explicitly and guard browser access before PDF operations
- improve startup port selection and preserve configured port range defaults when options are partially provided
- throw explicit errors for missing render responses and failed PDF candidate security checks
- return imported PDF metadata with extracted text instead of null values
- tighten TypeScript settings and update dependencies to support stricter type safety
## 2026-03-09 - 4.2.0 - feat(smartpdf)
replace internal Express server with @push.rocks/smartserve, add PDF→WebP rendering, improve start/stop handling and bump dependencies