unstructured breaking changes
Updated December 4, 2026
On this page
Latest version 0.27.39, released December 2, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
unstructured 0.27.38 breaking changes
- Signature changed
unstructured.chunking.base.ChunkingOptions.split
Was split: Callable[[str], tuple[str, str]]; now split: _TextSplitter. pypi.org - Signature changed
unstructured.chunking.basic.ChunkingOptions.split
Was split: Callable[[str], tuple[str, str]]; now split: _TextSplitter. pypi.org - Signature changed
unstructured.partition.pdf_image.ocr.process_data_with_ocr
Was def process_data_with_ocr(data: bytes | IO[bytes], out_layout: 'DocumentLayout', extracted_layout: List[List['TextRegion']], is_image: bool = False, infer_table_structure: bool = False, ocr_agent: str = OCR_AGENT_TESSERACT... pypi.org - Signature changed
unstructured.partition.pdf_image.ocr.process_file_with_ocr
Was def process_file_with_ocr(filename: str, out_layout: 'DocumentLayout', extracted_layout: List[TextRegions], is_image: bool = False, infer_table_structure: bool = False, ocr_agent: str = OCR_AGENT_TESSERACT, ocr_languages: str = 'eng'... pypi.org - Signature changed
unstructured.partition.pdf_image.pdf_image_utils.save_elements
Was def save_elements(elements: List['Element'], starting_page_number: int, element_category_to_save: str, pdf_image_dpi: int, filename: str = '', file: bytes | IO[bytes] | None = None, is_image: bool = False... pypi.org
unstructured 0.27.37 breaking changes
- Default changed
CoordinateSystem.orientation
The orientation of CoordinateSystem now defaults to CARTESIAN. Code that relied on the previous default orientation should pass orientation explicitly. github.com
unstructured 0.27.36 breaking changes
- Default changed
skip_infer_table_types
The default value of skip_infer_table_types was switched to None. Code that relied on the previous default should pass the option explicitly. github.com - Signature changed
unstructured.partition.auto.partition
Was def partition(filename: Optional[str] = None, *, file: Optional[IO[bytes]] = None, encoding: Optional[str] = None, content_type: Optional[str] = None, url: Optional[str] = None, headers: dict[str, str] = {}, ssl_verify: bool = True... pypi.org - Signature changed
unstructured.partition.ppt.partition_pptx
Was def partition_pptx(filename: str | None = None, *, file: IO[bytes] | None = None, include_page_breaks: bool = True, include_slide_notes: bool | None = None, infer_table_structure: bool = True, starting_page_number: int = 1, strategy... pypi.org - Signature changed
unstructured.partition.pptx.partition_pptx
Was def partition_pptx(filename: str | None = None, *, file: IO[bytes] | None = None, include_page_breaks: bool = True, include_slide_notes: bool | None = None, infer_table_structure: bool = True, starting_page_number: int = 1, strategy... pypi.org - Signature changed
unstructured.partition.pptx.PptxPartitionerOptions.__init__
Was def __init__(self, *, file: IO[bytes] | None, file_path: str | None, include_page_breaks: bool, include_slide_notes: bool | None, infer_table_structure: bool, strategy: str, starting_page_number: int = 1); now def __init__(self, *... pypi.org
unstructured 0.27.35 breaking changes
- Behavior changed
A line break inside a quoted CSV or TSV cell is now read as whitespace instead of a literal backslash-n, so extracted text changes. github.com - Behavior changed
When max_tokens is set, combine thresholds are measured in tokens rather than characters, so chunk sizes can change for existing code. github.com - Behavior changed
Cell text such as N/A and None is now kept instead of being emptied, so extracted output for such cells changes. github.com - Signature changed
unstructured.chunking.base.ElementMetadata.__init__
Was def __init__(self, attached_to_filename: Optional[str] = None, bcc_recipient: Optional[list[str]] = None, category_depth: Optional[int] = None, cc_recipient: Optional[list[str]] = None, coordinates: Optional[CoordinatesMetadata] =... pypi.org - Signature changed
unstructured.documents.elements.ElementMetadata.__init__
Was def __init__(self, attached_to_filename: Optional[str] = None, bcc_recipient: Optional[list[str]] = None, category_depth: Optional[int] = None, cc_recipient: Optional[list[str]] = None, coordinates: Optional[CoordinatesMetadata] =... pypi.org - Signature changed
unstructured.partition.pdf_image.analysis.bbox_visualisation.AnalysisDrawer.__init__
Was def __init__(self, filename: Optional[Union[str, Path]], is_image: bool, save_dir: Union[str, Path], file: Optional[BytesIO] = None, draw_caption: bool = True, draw_grid: bool = False, resize: Optional[float] = None, format: str =... pypi.org - Signature changed
unstructured.partition.pdf_image.analysis.tools.AnalysisDrawer.__init__
Was def __init__(self, filename: Optional[Union[str, Path]], is_image: bool, save_dir: Union[str, Path], file: Optional[BytesIO] = None, draw_caption: bool = True, draw_grid: bool = False, resize: Optional[float] = None, format: str =... pypi.org - Signature changed
unstructured.partition.pdf_image.analysis.tools.render_bboxes_for_file
Was def render_bboxes_for_file(filename: str, analyzed_image_output_dir_path: str, renders_output_dir_path: Optional[str] = None, draw_grid: bool = False, draw_caption: bool = True, resize: Optional[float] = None, format: str = 'png'); now... pypi.org - Signature changed
unstructured.partition.pdf_image.analysis.tools.save_analysis_artifiacts
Was def save_analysis_artifiacts(*layout_dumpers: LayoutDumper, is_image: bool, analyzed_image_output_dir_path: str, filename: Optional[str] = None, file: Optional[BytesIO] = None, skip_bboxes: bool = False, skip_dump_od: bool = False... pypi.org - Signature changed
unstructured.partition.tsv.partition_tsv
Was def partition_tsv(filename: Optional[str] = None, *, file: Optional[IO[bytes]] = None, include_header: bool = False, **kwargs: Any) -> list[Element]; now def partition_tsv(filename: Optional[str] = None, *, file: Optional[IO[bytes]] =... pypi.org
And 1 more in this version. Sign up to see every change
unstructured 0.27.34 breaking changes
- Behavior changed
Text from PPTX line breaks now comes through as a newline character rather than a vertical tab. Code that matched the vertical tab in extracted text must be updated. github.com - Behavior changed
CSV and TSV cell values are now returned as stored in the file. Code that relied on the previous cell handling may see different values. github.com - Signature changed
unstructured.partition.json.partition_json
Was def partition_json(filename: Optional[str] = None, file: Optional[IO[bytes]] = None, text: Optional[str] = None, metadata_last_modified: Optional[str] = None, **kwargs: Any) -> list[Element]; now def partition_json(filename... pypi.org - Signature changed
unstructured.partition.ndjson.partition_ndjson
Was def partition_ndjson(filename: Optional[str] = None, file: Optional[IO[bytes]] = None, text: Optional[str] = None, metadata_last_modified: Optional[str] = None, **kwargs: Any) -> list[Element]; now def partition_ndjson(filename... pypi.org
unstructured 0.27.32 breaking changes
- Removed
unstructured.partition.common.common.spooled_to_bytes_io_if_needed
unstructured.partition.common.common.spooled_to_bytes_io_if_needed was removed in unstructured 0.27.32 pypi.org - Removed
unstructured.partition.pdf_image.pdf_image_utils.convert_to_bytes
unstructured.partition.pdf_image.pdf_image_utils.convert_to_bytes was removed in unstructured 0.27.32 pypi.org - Removed
unstructured.partition.pdf.spooled_to_bytes_io_if_needed
unstructured.partition.pdf.spooled_to_bytes_io_if_needed was removed in unstructured 0.27.32 pypi.org
Older versions
12 older versions, each with its first changes. Sign up to see every change
Show 12 older versions
unstructured 0.27.28 breaking changes
- Behavior changed
The new langdetect-rs backend is opt-in, so existing language detection behavior is unchanged unless users enable it. github.com - Signature changed
unstructured.partition.html.parser.DefaultElement.iter_text_segments
Was def iter_text_segments(self, enclosing_emphasis: str = '') -> Iterator[TextSegment]; now def iter_text_segments(self, enclosing_emphasis: str = '') -> Iterator[TextSegment | Element]. pypi.org
unstructured 0.27.27 breaking changes
- Removed
unstructured.partition.json.add_chunking_strategy
unstructured.partition.json.add_chunking_strategy was removed in unstructured 0.27.27 pypi.org - Removed
unstructured.partition.json.add_metadata_with_filetype
unstructured.partition.json.add_metadata_with_filetype was removed in unstructured 0.27.27 pypi.org
And 6 more in this version.
unstructured 0.27.25 breaking changes
- Behavior changed
Chunking now rejects a negative overlap value instead of producing corrupted text. Code that passes a negative overlap must switch to a non-negative value. github.com - Signature changed
unstructured.partition.auto.partition
Was def partition(filename: Optional[str] = None, *, file: Optional[IO[bytes]] = None, encoding: Optional[str] = None, content_type: Optional[str] = None, url: Optional[str] = None, headers: dict[str, str] = {}, ssl_verify: bool = True... pypi.org
unstructured 0.27.22 breaking changes
- Behavior changed
PPTX email addresses and the elements following them on the same slide receive different element_id values when reprocessed. Code that upserts or deduplicates by element_id should account for this. github.com
unstructured 0.27.16 breaking changes
- Behavior changed
partition_csv
partition_csv() now raises UnprocessableEntityError for files whose span exceeds CSV_MAX_CELLS (default 5,000,000). A lone carriage return line ending is also normalized to a newline. github.com - Behavior changed
partition_docx
When a DOCX table's declared layout grid exceeds DOCX_TABLE_MAX_CELLS (default 5,000,000), text_as_html is omitted with a warning while text is still extracted. Code that relies on table HTML must handle its absence. github.com
And 3 more in this version.
unstructured 0.27.8 breaking changes
- Removed
unstructured.partition.html.parser.htmlify_matrix_of_cell_texts
unstructured.partition.html.parser.htmlify_matrix_of_cell_texts was removed in unstructured 0.27.8 pypi.org
unstructured 0.27.6 breaking changes
- Removed
unstructured.partition.docx.htmlify_matrix_of_cell_texts
unstructured.partition.docx.htmlify_matrix_of_cell_texts was removed in unstructured 0.27.6 pypi.org - Signature changed
unstructured.chunking.base.HtmlRow.__init__
Was def __init__(self, tr: HtmlElement, is_header: bool = False, source_html: str | None = None); now def __init__(self, tr: HtmlElement, is_header: bool = False, source_html: str | None = None, row_group_key: object = None). pypi.org
And 3 more in this version.
unstructured 0.27.5 breaking changes
- Removed
unstructured.cleaners.core.UNICODE_BULLETS_RE_0W
unstructured.cleaners.core.UNICODE_BULLETS_RE_0W was removed in unstructured 0.27.5 pypi.org - Behavior changed
Text containing hyphens is no longer split at every hyphen as if it were a bullet. Code that relied on the old splitting may see different elements. github.com
And 1 more in this version.
unstructured 0.27.1 breaking changes
- Signature changed
unstructured.partition.pdf.is_pdf_too_complex
Was def is_pdf_too_complex(filename: str = '', file: Optional[Union[bytes, IO[bytes]]] = None, max_graphics_ops: int = 10000, min_graphics_to_text_ratio: float = 20.0, min_file_size_bytes: int = DEFAULT_MIN_FILE_SIZE_BYTES... pypi.org
unstructured 0.27.0 breaking changes
- Configuration changed
Telemetry was turned back on by default in this release, so existing installs will send telemetry unless they opt out. github.com
unstructured 0.25.0 breaking changes
- Removed
unstructured.partition.auto.is_json_processable
unstructured.partition.auto.is_json_processable was removed in unstructured 0.25.0 pypi.org - Removed
unstructured.partition.auto.is_ndjson_processable
unstructured.partition.auto.is_ndjson_processable was removed in unstructured 0.25.0 pypi.org
And 7 more in this version.
unstructured 0.24.0 breaking changes
- Behavior changed
URL fetching is centralized with host validation and default timeouts. Code that fetched from hosts that are now rejected, or that relied on no timeout, may behave differently and should be checked. github.com - Signature changed
unstructured.partition.html.transformations.can_unstructured_elements_be_merged
Was def can_unstructured_elements_be_merged(current_element: elements.Element, next_element: elements.Element) -> bool; now def can_unstructured_elements_be_merged(current_element: elements.Element, next_element: elements.Element, *... pypi.org
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.