feat(smartpdf): replace internal Express server with @push.rocks/smartserve, add PDF→WebP rendering, improve start/stop handling and bump dependencies
This commit is contained in:
10
changelog.md
10
changelog.md
@@ -1,5 +1,15 @@
|
||||
# Changelog
|
||||
|
||||
## 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
|
||||
|
||||
- Replace internal Express HTTP implementation with @push.rocks/smartserve and update README wording to reflect HTTP server usage
|
||||
- Add PDF→WebP rendering: use pdf.js in-page rendering, capture canvases via Puppeteer to produce WebP buffers; added robust wait/timeout and error handling
|
||||
- Add start/stop guards: _isRunning flag, reset readiness Deferred on start, and throw if start called while running
|
||||
- Remove direct http/express exports from plugins and stop exporting express; export smartserve from plugins
|
||||
- Improve JPEG conversion to produce progressive JPEGs via SmartJimp (sharp mode)
|
||||
- Bump dependencies/devDependencies: @push.rocks/smartfs to ^1.5.0, add @push.rocks/smartserve ^2.0.1; devDeps @git.zone/tsbuild ^4.3.0, @git.zone/tstest ^3.3.0, @types/node ^25.3.5
|
||||
|
||||
## 2026-03-01 - 4.1.3 - fix(tests)
|
||||
use example.com in image conversion test and relax JPEG size assertion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user