Skip to content

Releases: AIM3r4j/pdfile

pdfile: v1.0.0

02 Jan 13:41
Compare
Choose a tag to compare

Major Upgrade!

Enhanced PDF generation with browser reuse, improved memory efficiency, and modular design

  • Unified useStream and pdfFilePath 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

27 Mar 18:09
Compare
Choose a tag to compare