Releases: stlong5/whatsApp2pdf
v1.1.0
This is a major internal architectural upgrade, migrating the entire codebase from pure JavaScript to TypeScript and fully adopting the modern ES Modules (ESM) specification.
While user-facing functionality remains unchanged, this change significantly improves project stability and maintainability, and optimizes the developer experience.
⚡ Core Enhancements
TypeScript Refactoring: The entire project is now built with TypeScript, providing full static type checking and dramatically reducing runtime errors and potential bugs.
Full Type Definitions: When used as a library, built-in .d.ts type definition files are now provided, offering perfect auto-completion and type hints for TypeScript or JSDoc-enabled JavaScript projects.
Embracing Modern Node.js (ES Modules): The module system has been migrated from CommonJS to ES Modules (ESM), leveraging the latest module resolution and features in Node.js (such as top-level await).
Target Environment Upgrade: The compilation target has been upgraded to ES2022, making the code more modern and maintaining compatibility with Node.js >= 18.7.0.
v1.0.1
v1.0.0
This release marks the transition of the whatsapp2pdf project from the development phase to a production-ready stable phase. I am introduced a complete chat parsing and PDF rendering core, along with a command-line interface (CLI) and a programming API.
✨ Key Features
Stable Core Functionality: For the first time, we've launched stable and reliable WhatsApp chat history parsing and PDF rendering capabilities.
Cross-Platform Parsing: Full support for ZIP files exported from Android and iOS, automatically detecting and handling different formats.
Dual Theme Support: Built-in Light and Dark themes to match WhatsApp's native look and feel.
Flexible Output Control:
- Command-Line Tool (CLI): Quick conversion via whatsapp2pdf chat.zip.
- Programming API: Provides chainable calls (Fluent API) for easy integration into other Node.js projects.
Privacy and Filtering:
- Supports privacy mode (--privacy) to hide contact names.
- Supports filtering messages by date range and keywords.
Media Support: Images included in the chat can optionally be embedded at the end of the PDF file.