Skip to content

feat(docling-client): sync client with docling v2.137.0 - #136

Merged
kdinkla merged 1 commit into
mainfrom
sync/docling-client-2.137.0
Oct 12, 2026
Merged

kdinkla merged 1 commit into
mainfrom
sync/docling-client-2.137.0

Conversation

@docling-ts-ops

Copy link
Copy Markdown
Contributor

Automated Upstream Sync: docling v2.137.0

This pull request was generated automatically using IBM Bob CLI in GitHub Actions.# Bump parity reference to Docling Python 2.137.0 (d0f5546)

This PR updates the TypeScript client package to reference Docling Python
2.137.0 at commit d0f5546 instead of 2.135.0 at 2b3a00c.

Summary

A full audit of the Python service client at v2.137.0 confirmed that all
types, interfaces, enums, and client behavior in docling-client/src/ are
already at parity with the Python source. No new fields, types, or behavioral
changes were introduced between v2.135.0 and v2.137.0 that required TypeScript
code changes. The changes in this PR update documentation and test references
to the new version tag.


PYTHON_CLIENT_PARITY.md

  • Version header (line 3): Updated the Python version reference from
    2.135.0 / 2b3a00c to 2.137.0 / d0f5546. The parity table describes
    the live state of the Python service client.
    Source

  • Response model link (line 167): Updated the inline GitHub permalink for
    the DocumentResultItem.content → document rename to point at the v2.137.0
    tag.
    Source


test/type-parity.ts

  • Version comment (line 254): Updated the compile-time parity block comment
    from v2.135.0 to v2.137.0 and updated the URL to the matching tagged
    commit.
    Source

  • fullOptionsV2137 constant (line 256, was fullOptionsV2135): Renamed
    the compile-time options snapshot constant to reflect the new version. The
    constant itself exercises every field of ConvertDocumentsOptions against the
    Python ConvertDocumentsOptions definition at v2.137.0.
    Source


Parity verification

All fields in the Python ConvertDocumentsOptions model at v2.137.0 are
already represented in ConvertDocumentsOptions in types.ts:

Python field (options.py) TypeScript field Python line
from_formats from_formats L305
to_formats to_formats L317
image_export_mode image_export_mode L333
do_ocr do_ocr L347
force_ocr force_ocr L358
ocr_engine (deprecated) ocr_engine L369
ocr_lang ocr_lang L379
ocr_preset ocr_preset L393
ocr_custom_config ocr_custom_config L402
pdf_backend pdf_backend L426
table_mode table_mode L438
table_cell_matching table_cell_matching L451
pipeline pipeline L459
page_range page_range L464
document_timeout document_timeout L472
abort_on_error abort_on_error L479
do_table_structure do_table_structure L489
do_pdf_heading_hierarchy do_pdf_heading_hierarchy L500
pdf_heading_hierarchy_options pdf_heading_hierarchy_options L514
include_images include_images L530
include_page_images include_page_images L541
images_scale images_scale L552
md_page_break_placeholder md_page_break_placeholder L560
md_compact_tables md_compact_tables L568
chunking_options chunking_options L581
chunking_preset chunking_preset L590
do_code_enrichment do_code_enrichment L606
do_formula_enrichment do_formula_enrichment L617
do_picture_classification do_picture_classification L628
do_chart_extraction do_chart_extraction L639
chart_extraction_preset chart_extraction_preset L650
chart_extraction_custom_config chart_extraction_custom_config L668
do_picture_description do_picture_description L695
picture_description_area_threshold picture_description_area_threshold L706
picture_description_local (deprecated) picture_description_local L714
picture_description_api (deprecated) picture_description_api L726
vlm_pipeline_model (deprecated) vlm_pipeline_model L744
vlm_pipeline_model_local (deprecated) vlm_pipeline_model_local L752
vlm_pipeline_model_api (deprecated) vlm_pipeline_model_api L765
vlm_pipeline_preset vlm_pipeline_preset L784
picture_description_preset picture_description_preset L794
code_formula_preset code_formula_preset L803
vlm_pipeline_custom_config vlm_pipeline_custom_config L813
picture_description_custom_config picture_description_custom_config L822
code_formula_custom_config code_formula_custom_config L830
table_structure_preset table_structure_preset L841
table_structure_custom_config table_structure_custom_config L855
layout_custom_config layout_custom_config L881
layout_preset layout_preset L908
picture_classification_preset picture_classification_preset L918
picture_classification_custom_config picture_classification_custom_config L927

Comment thread docling-client/PYTHON_CLIENT_PARITY.md

```
https://github.com/docling-project/docling/blob/v2.135.0/docling/datamodel/service/responses.py#L83
https://github.com/docling-project/docling/blob/v2.137.0/docling/datamodel/service/responses.py#L83

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the inline GitHub permalink for the DocumentResultItem.content → document rename section to point at the v2.137.0 tag. Source

Comment thread docling-client/test/type-parity.ts
Comment thread docling-client/test/type-parity.ts
@kdinkla
kdinkla merged commit 7c8fb53 into main Oct 12, 2026
2 checks passed
@kdinkla
kdinkla deleted the sync/docling-client-2.137.0 branch October 12, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant