Repository navigation
Feature + Security Release
Makes DOCX → Markdown structure-aware, hardens document parsing against crafted
input, and brings every dependency up to date (raising the MSRV to Rust 1.88).
Added
- Structure-aware DOCX → Markdown: headings (with level), bullet vs.
ordered lists (ordered lists restart at 1 per list, nested levels are
indented), and real Markdown tables. Hyperlink and cross-reference text is
preserved. Page count is now derived from the document instead of being
hard-coded to 1 (metadata.page_count/statistics.pages_processed), and
statistics.tables_extractedis populated.
Fixed
- DOCX conversion no longer drops table cell content (previously replaced with
a[Table content]placeholder), heading levels, or hyperlink /
cross-reference text.
Security
- DOCX list level is clamped to Word's supported range (0–8). The list
level is read from untrusted document input as an unbounded integer and drove
" ".repeat(level)and the ordered-list counter allocation, so a crafted
.docxcould exhaust memory during conversion. Page counting also now reads
word/document.xmlwith an upper size bound. - Resolved all
cargo auditadvisories via dependency upgrades:lopdf→ 0.44 — stack overflow on deeply nested PDF objects (RUSTSEC-2026-0187).quick-xml→ 0.41 — quadratic time on duplicate attributes (RUSTSEC-2026-0194)
and unbounded namespace-declaration allocation DoS (RUSTSEC-2026-0195).time(transitive) → ≥ 0.3.47 — stack-exhaustion DoS (RUSTSEC-2026-0009).- Remaining advisories are two unmaintained transitive crates with no fix
available (paste,ttf-parser, both viaimageproc/nalgebra); no
known vulnerability.
Changed
- MSRV raised to Rust 1.88 (
rust-version), required by the latest
imageproc,image,umya-spreadsheetandzip. - Dependency refresh — all direct dependencies updated to their latest
versions, including major bumps:lopdf0.35 → 0.44,pdf-extract0.8 →
0.12,scraper0.21 → 0.27,html5ever0.29 → 0.39,quick-xml0.37 → 0.41,
zip6 → 8,umya-spreadsheet2.3 → 3.0,comrak0.29 → 0.54,
file-format0.26 → 0.29,imageproc0.25 → 0.27,pdfium-render0.8 → 0.9,
tracing-opentelemetry0.30 → 0.33,sha20.10 → 0.11,indicatif0.17 →
0.18,console0.15 → 0.16,criterion0.6 → 0.8,mockall0.13 → 0.15.
Source updated for theumya-spreadsheet3.0 andquick-xml0.41 API
changes; behavior unchanged. - The
docling-ffi-only dependencies (ort,ndarray,rstar) are
intentionally held at their current versions: that feature requires an
external C++ toolchain and is not built in CI, so newer majors cannot be
verified here.