@docling/docling-client 2.137.0 → 2.138.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  # Python client parity
2
2
 
3
- This document compares `@docling/docling-client` with Docling Python 2.137.0
4
- at commit `d0f5546`, specifically:
3
+ This document compares `@docling/docling-client` with Docling Python 2.138.0
4
+ at commit `a76ae4b`, specifically:
5
5
 
6
6
  - `DoclingServiceClient`
7
7
  - `AsyncDoclingServiceClient`
@@ -120,8 +120,9 @@ The explicit TypeScript option surface covers every field in Python
120
120
  - `pdf_backend`
121
121
  - `table_mode`, `table_cell_matching`, `do_table_structure`
122
122
  - `do_pdf_heading_hierarchy`, `pdf_heading_hierarchy_options`
123
- (`HeadingHierarchyOptions` with `use_bookmarks`, `use_outline_levels`,
124
- `use_style`, `max_level`)
123
+ (`HeadingHierarchyOptions` with `enabled`, `use_bookmarks`, `use_numbering`,
124
+ `use_outline_levels`, `use_style`, `use_font_style`, `style_size_tolerance`,
125
+ `numbering_schemes`, `max_level`, `bookmark_match_threshold`)
125
126
  - `do_code_enrichment`, `do_formula_enrichment`
126
127
  - `do_picture_classification`, `do_picture_description`,
127
128
  `do_chart_extraction`, `picture_description_area_threshold`
@@ -164,7 +165,7 @@ Python's unbounded integer type.
164
165
  `content` to `document` in Python v2.133.0:
165
166
 
166
167
  ```
167
- https://github.com/docling-project/docling/blob/v2.137.0/docling/datamodel/service/responses.py#L83
168
+ https://github.com/docling-project/docling/blob/v2.138.0/docling/datamodel/service/responses.py#L84
168
169
  ```
169
170
 
170
171
  Pydantic continues to serialize the field as `content` on the wire via
package/dist/index.cjs CHANGED
@@ -1542,7 +1542,8 @@ var JSON_STRING_CONFIG_OPTIONS = [
1542
1542
  "ocr_custom_config",
1543
1543
  "table_structure_custom_config",
1544
1544
  "layout_custom_config",
1545
- "picture_classification_custom_config"
1545
+ "picture_classification_custom_config",
1546
+ "chart_extraction_custom_config"
1546
1547
  ];
1547
1548
  function validateStringEnum(value, allowed, name) {
1548
1549
  if (value !== void 0 && !allowed.has(value)) {