AIGenLab
EN

UPDATEunstructured 0.27.38

Unstructured 0.27.38 renders each PDF once, keeps table rows

Version & typev0.27.38 · Feature
In short

The release renders a PDF once in hi_res instead of once per stage, and fixes empty CSV/TSV inputs, merged DOCX rows, overlap-only chunks and email coordinates.

What changed in this release

18 checkpoints in 5 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.

High-resolution parsing and cost

  • hi_res renders each PDF once and the layout, table and OCR stages share those page images (#4530)
  • OCR word grouping reuses paragraph index masks instead of rebuilding them per word (#4721)
  • XY-cut projections accumulate once during sorting instead of being recomputed (#4748)
  • Text extraction stops once it finds the requested match instead of scanning the rest (#4780)

Tables and CSV/TSV

  • An empty CSV or TSV returns no elements instead of one blank element (#4707)
  • A repeated header label is read as written (#4709)
  • Repeated quoted headers without a final newline are preserved (#4786)
  • A compressed CSV named for its compression is decompressed before reading (#4712)
  • Long vertical merges in DOCX stop dropping table rows from text_as_html (#4693)

Element ownership and coordinates

  • The section parent_id survives pictures and other non-text elements (#4566)
  • Text classified as an email address keeps its coordinates (#4782)

Chunking and encoding

  • overlap_all no longer emits a chunk that holds only the overlap (#4598)
  • Forming chunks no longer repeats the same table scans (#4744)
  • A leading UTF-8 BOM is stripped before JSON content-shape detection (#4397)

Metrics, language and benchmarks

  • Threshold precision is computed apart from the AP envelope (#4703)
  • Evaluation keeps the caller's detection predictions instead of overwriting them (#4702)
  • An empty language selection counts as automatic (#4704)
  • Partition benchmark dependencies are repaired so benchmark runs stop failing (#4733)

Read the original announcement

On this page
  1. Release inventory
  2. Five groups of changes si…
  3. hi_res renders each PDF o…
  4. Empty CSVs
  5. Paragraphs after pictures…
  6. Chunking stops emitting o…
  7. Threshold precision is co…
  8. Docling hands back a docu…
  9. 0.27.37 fixed specific in…
  10. Release analysis
  11. Questions
  12. Sources & method

ContextFive groups of changes sit on parsing cost and input edges

This is for people who push PDFs, CSVs and DOCX files through a retrieval pipeline in batches. In hi_res, one PDF was rendered again at every stage, so cost grew with file size; empty CSVs and repeated headers left blank elements to filter.

Table files broke more quietly: long vertical merges in DOCX dropped rows from text_as_html without an error, paragraphs after pictures lost their section, and overlap_all produced a chunk holding only the overlap.

0.27.38 renders once and shares the page images, gives each table and CSV edge case a defined result, keeps paragraphs in their section, drops the hollow chunk, reads a BOM-prefixed file as JSON, and fixes a metric and a language option.

The entries fall into 5 groups: high-resolution parsing, tables and CSV, element ownership, chunking and encoding, metrics and language. The figure below shows the distribution; each group follows.

The release's entries across five groups: high-resolution parsing and tables/CSV carry most of them, while ownership, chunking and encoding, and metrics and language take smaller shares.
Where the 18 grouped changes landWhere the 18 grouped changes landHigh-resolution parsing and cost4Tables and CSV/TSV5Element ownership and coordinates2Chunking and encoding3Metrics, language and benchmarks4
AIGenLab original

hi_res renders each PDF once and shares the page images across stages

  1. One render: hi_res renders the whole PDF once and the layout, table and OCR stages share that single result.
  2. OCR grouping: paragraph index masks are reused while words are grouped instead of being rebuilt per word.
  3. Sorting and extraction: dense XY-cut projections accumulate once, and text extraction stops at the match it was asked for.

Empty CSVs, repeated headers, compressed files and merged DOCX rows each get a defined result

  1. Empty files: an empty CSV or TSV returns no elements, so downstream code stops filtering a blank one.
  2. Headers: a repeated header label is read as written, and repeated quoted headers without a final newline survive.
  3. Compression and DOCX: a compressed CSV is decompressed by its suffix, and long vertical merges keep their rows in text_as_html.

Paragraphs after pictures keep their section, and email elements keep their coordinates

  1. Ownership: after pictures and other non-text elements the section parent_id is kept, so heading-based slicing does not break at an image.
  2. Coordinates: text classified as an email address keeps its coordinates, so position-based lookups and overlays keep their box.

Chunking stops emitting overlap-only chunks and JSON detection strips the BOM first

  1. Overlap chunks: when overlap_all splits an element, a chunk holding only the overlap is no longer emitted, so the vector store gains no hollow record.
  2. Chunking cost: forming chunks no longer repeats the same table scans.
  3. Encoding: a UTF-8 BOM at the start is stripped before JSON content-shape detection, so a BOM-prefixed file is still treated as JSON.

Threshold precision is computed apart from the AP envelope, and an empty language means automatic

  1. Metrics: threshold precision is computed apart from the AP envelope, so the two numbers stop bleeding into each other.
  2. Caller predictions: evaluation keeps the detections you pass in instead of overwriting them.
  3. Language: an empty language selection counts as automatic, so an empty value no longer mislabels short text.

Docling hands back a document tree, MarkItDown hands back Markdown, Unstructured hands back elements

Set the four changes beside comparable tools and the difference is mostly output shape: Unstructured returns typed elements with coordinates, Docling one document tree, MarkItDown Markdown text. Both columns come from their own documentation; no same-input test was run.

Read the table by the cell you depend on, then check whether your pipeline consumes that step; a cell you never use buys nothing.

The cost runs both ways: with a document tree or plain text you rebuild coordinate lookups, while an element format asks you to maintain coordinates and parent ids.

Bottom line: for coordinate lookups, text_as_html or a built-in chunker, Unstructured fits; for plain Markdown, MarkItDown is lighter; if Docling's tree serves you, nothing here forces a migration.

UpdateDocling v2.155.0MarkItDown v0.1.9Unstructured 0.27.38
hi_res PDF rendering and stage orchestrationA format-specific backend and pipeline, then one DoclingDocument for exportConverts a PDF to Markdown locally; layout and OCR come from a cloud servicehi_res renders the whole PDF once and shares the page images across stages
Tables and CSV inputTableItem can carry structure annotations; CSV is a supported formatCSV, JSON and XML become Markdown, tables kept as Markdown tablesEmpty CSV/TSV returns no elements, a repeated header reads as written, a compressed CSV is decompressed by suffix, merged DOCX rows stay in text_as_html
Element ownership and coordinatesEach item can carry a bounding box and provenance; parents and children link by JSON pointersMarkdown text with no coordinate fieldsSection parent_id survives pictures and other non-text elements; email elements keep coordinates
Chunking and encodingHybridChunker splits and merges by token and repeats table headers; a BOM selects the encodingNo built-in chunker, so Markdown is split downstream; a charset guess broke long files until v0.1.8overlap_all emits no overlap-only chunk, table scans run once, and a UTF-8 BOM is stripped before JSON detection

0.27.37 fixed specific inputs; 0.27.38 changes cost and output stability

The releases are less than three weeks apart and pull in different directions: 0.27.37 mostly fixed one input at a time, while 0.27.38 changes how often a file is rendered and how chunks and metrics are computed.

Read the table left to right: 0.27.37, then 0.27.38. Each row is one function, and the question is how far this release pushed that step, not how many boxes a column has.

The PDF and DOCX rows are the ones to check on your corpus: one release fixed files that read as nothing, the other changes how many renders a file needs and whether table rows survive.

On an older version, read both columns: restore the files that read as nothing first, then take the render reuse; doing half lets the earlier failure hide the gain.

Feature0.27.37 (2026-11-06)0.27.38 (2026-11-24)
PDF parsingThe fast strategy extracts vector-heavy PDFs instead of returning nothing (#4540)hi_res renders the whole PDF once and the stages reuse it (#4530)
Language optionThe languages a caller passes are kept on short ASCII text (#4601)An empty language selection counts as automatic (#4704)
Evaluation metricsEvaluation files are read as UTF-8 on every platform (#4623)Threshold precision is separated from the AP envelope (#4703); caller detection predictions are kept (#4702)
DOCX textText that python-docx skips inside wrapper elements is kept (#4661)Rows from long vertical merges stay in text_as_html (#4693)
Output structureEach Title renders at its own heading level (#4627)The section parent_id survives pictures and other non-text elements (#4566)

Release analysisBatch PDF and table pipelines gain the most; fast-strategy users can wait

Three groups feel it first: teams running hi_res over PDF batches, teams feeding CSV/TSV and DOCX tables downstream, and teams chunking with overlap_all. Fast-strategy users can wait.

Sideways, the difference is not feature-list length: Docling returns bounding boxes, table structure and token-aware chunks in one tree, while MarkItDown returns Markdown text with no coordinates.

Our view, not independently tested: upgrade in three steps. Diff a small fixture set (an empty CSV, a BOM-prefixed JSON, a merged DOCX, a chunking run with overlap_all), compare row counts, then release hi_res batch jobs.

Our view, not independently tested: do not turn 'rendered once' into a percentage of your runtime; measure it on your files. And do not rewrite your chunking strategy before checking where the chunk count changes.

AIGenLab views

Not independently tested

Diff a small fixture set before and after the upgrade, then release hi_res batch jobs.

Station view: the release changes both render count and output content, so both have to be checked on the same files; not tested on real corpora.

Compare chunk counts and boundaries before rebuilding a vector store that uses overlap_all.

Station view: the change in chunk count depends on where elements are split; not independently tested.

Choose by output shape first (elements, document tree, Markdown), then by feature list length.

Station view: based on Docling's and MarkItDown's public documentation, without a same-input test.

Questions

Do I need to change my calls for 0.27.38?
No. The render reuse happens inside hi_res, so the same call applies and no new option is needed; verify that element counts for the same PDF stay equal and note which stage absorbs the time change.
What does an empty CSV return now?
An empty element list. Downstream code that assumed at least one element now has to handle the empty list, for example by skipping the document or logging it as an empty input.
Will I get fewer chunks than in 0.27.37?
Possibly. A chunk that held only the overlap is no longer emitted, so compare chunk counts and chunk boundaries against 0.27.37 before you rebuild a vector index.

Official sources and scope

Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.