Releases: AIM3r4j/pdfile
Releases · AIM3r4j/pdfile
pdfile: v1.0.0
Major Upgrade!
Enhanced PDF generation with browser reuse, improved memory efficiency, and modular design
- Unified
useStream
andpdfFilePath
handling for clarity and robust validation. - Enhanced Handlebars template rendering with dynamic helper registration from an optional helpers file.
- Introduced file stream-based writing for efficient PDF saving when
pdfFilePath
is provided. - Added default configurations for PDF generation, supporting user-specified overrides.
- Enabled browser reuse to improve performance and memory efficiency during multiple PDF generations.
- Improved modularity by separating concerns across helper functions and browser handling.
- Implemented safe resource cleanup with
finally
to ensure page closures and avoid memory leaks. - Enhanced overall readability and maintainability of the code structure.
pdfile: v0.0.2
0.0.2