v6.1.1
v6.1.1: Sequential Content Ordering & AST Structural Fidelity
Changes: v6.1.0..v6.1.1
I am excited to announce v6.1.1, a significant update focused on Structural Fidelity and AST Precision. This release standardizes how complex document layouts—like soft line breaks and nested lists—are represented across all major office formats.
✨ Key Highlights
📐 Advanced Layout Analysis (DOCX)
- Break Node Support: Comprehensive extraction of
w:br,w:cr, andw:lastRenderedPageBreak. Your AST now understands physical document breaks perfectly. - Indentation Metadata: Now extracting
<w:ind>properties, allowing you to reconstruct paragraph layouts with high accuracy.
📊 High-Fidelity Presentations (PPTX)
- Sequential Parsing Engine: We've migrated to an iterative child-processing model. This guarantees that text runs, soft breaks, and fields are captured in their exact visual order.
- Dynamic Field Extraction: Support for
<a:fld>elements ensures slide numbers, dates, and other dynamic content are no longer lost.
📝 Perfect Lists (ODP & PPTX)
- Soft Break Handling: Standardized handling of
Shift+Enterwithin list items. Interruptions are now intelligently split into independent paragraph nodes, maintaining clean numbering continuity. - Nested List Correction: Fixed a stateful indexing bug in ODP to ensure perfect sequential numbering even in deeply nested structures.
🛡️ Stability & Reliability
- Excel Multi-line Fix: Resolved edge cases in XLSX parsing where complex multi-line cells could cause parser failures.
- RTF Encoding Resilience: Improved byte-buffering logic to resolve character dropouts (like smart quotes) in legacy RTF streams.
- Security Hardening: Upgraded
@xmldom/xmldomto0.9.10to ensure a secure parsing environment.