Skip to content

v6.0.6

Choose a tag to compare

@github-actions github-actions released this 23 Mar 23:21

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-type v19 (ESM support)
    • tesseract.js v7
    • pdfjs-dist v5.5
    • yauzl v3
    • @xmldom/xmldom v0.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 moduleLoader to 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.