v6.1.0 #86
harshankur
announced in
Announcements
v6.1.0
#86
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v6.1.0 - 14.04.2026
Changes: v6.0.7..v6.1.0
This release marks a major milestone in the technical maturity of
officeParser, moving from a monolithic parser to a robust, resource-aware infrastructure. v6.1.0 focuses on stability, performance, and developer experience without breaking core backward compatibility.🔥 Major Highlights
🧠 Smart OCR Worker Pool
We’ve completely rewritten the OCR engine to handle internal resource management intelligently.
tesseract.jsare now lazy-loaded. Simplyrequireorimportthe library at the top-level no longer spawns any background processes, resolving the long-standing "process leak" issue.ocrConfig.autoTerminateTimeout).terminateOcr()function for snappy CLI script exits.📦 Modern Infrastructure Migration
yauzlandconcat-streamwithfflate. This allows for zero-memory-buffer zip extraction, significantly improving performance on massive spreadsheets and low-memory environments like Edge Functions..mjssupport and verifiedNode16module resolution.🏷️ Custom Property Extraction
You can now extract user-defined custom metadata (e.g., custom tags, proprietary fields) across almost all formats:
docProps/custom.xml).ast.metadata.customProperties.📄 Documentation & Branding Overhaul
npm-stat.com.🛠️ API & Configuration Changes
New Configuration Options (
OfficeParserConfig)ocrConfig: New object for fine-grained OCR control.ocrConfig.autoTerminateTimeout: Duration (ms) to keep workers alive before cleanup.ocrConfig.workerPath,ocrConfig.corePath,ocrConfig.langPath: Full support for air-gapped/offline local Tesseract hosting.Deprecations
ocrLanguage: This string property is now deprecated. UseocrConfig.languageinstead. (Note: Existing code usingocrLanguagewill continue to work perfectly in v6.1.0).🐛 Bug Fixes & Refinements
terminateOcr()for a faster return to the prompt.funding.jsonand.well-knownmanifest support for community sustainability.While this is a non-breaking release for the public API, Node.js script authors using OCR may notice their process stays alive for 10 seconds after finishing due to the new worker pool. We recommend adding
await terminateOcr()at the end of your scripts for an immediate exit.❤️ Contributors
A huge shoutout to @carlosb1504 for their contributions to:
yauzlwithfflatefor improved performance and browser compatibility.Full Changelog: v6.0.7...v6.1.0
This discussion was created from the release v6.1.0.
All reactions