v6.0.6
v6.0.6 - 23.03.2026
Changes: v6.0.1..v6.0.6
This release introduces significant dependency upgrades, a modernized CI/CD pipeline with enhanced security, and several key improvements to RTF and PDF parsing.
🚀 Major Dependency Upgrades (v6 Core)
- Engine Upgrade: All core parsing libraries have been bumped to their latest major versions for enhanced performance and security.
file-typev19 (ESM support)tesseract.jsv7pdfjs-distv5.5yauzlv3@xmldom/xmldomv0.8.11
✨ New Features
- OIDC Passwordless Publishing: The library now uses GitHub's OpenID Connect (OIDC) trust with NPM. This "Passwordless" flow eliminates the need for manually managed NPM tokens in CI/CD, significantly increasing supply chain security.
- Smart PDF Worker Sync: Added a new runtime synchronization system that automatically matches the PDF worker version with the library version, preventing "API/Worker version mismatch" errors in browser environments.
- Improved Module Loading: Introduced a robust
moduleLoaderto handle complex ESM/CJS interop for modern dependencies. - AST Visualizer & Docs: Launched a new documentation website and an interactive AST visualizer to help developers inspect parsed document structures.
🔧 Bug Fixes & Refinements
- RTF Parser:
- Fixed a logic error where RTF endnotes were incorrectly identified as footnotes.
- Improved structure detection for complex RTF headers.
- PDF Parser: Enhanced reliability of
require-based loading for Node.js environments. - CI/CD Reliability: Overhauled the build pipeline to be "failure-aware"—the release process now correctly halts if parser validation tests fail, ensuring only stable versions are published.
📦 Maintenance
- Synchronized package-lock.json and cleaned up build scripts.
- Updated documentation and README with the latest versioning and security best practices.