@docling/docling-client 2.140.0 → 2.141.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.140.0
4
- at commit `0e54294`, specifically:
3
+ This document compares `@docling/docling-client` with Docling Python 2.141.0
4
+ at commit `4f00195`, specifically:
5
5
 
6
6
  - `DoclingServiceClient`
7
7
  - `AsyncDoclingServiceClient`
@@ -159,12 +159,26 @@ High-level limits match Python:
159
159
  TypeScript restricts limit values to safe integers, which is stricter than
160
160
  Python's unbounded integer type.
161
161
 
162
+ ## Internal scheduler refactoring (v2.141.0)
163
+
164
+ `AsyncDoclingServiceClient.submit_and_retrieve_each()` was refactored in
165
+ Python v2.141.0 to use an internal `_run_bounded()` helper from
166
+ `docling/service_client/_scheduler.py` for bounded concurrency fan-out:
167
+
168
+ ```
169
+ https://github.com/docling-project/docling/blob/v2.141.0/docling/service_client/_scheduler.py#L31
170
+ ```
171
+
172
+ The TypeScript scheduler already implements equivalent bounded-concurrency
173
+ semantics via `boundedOutcomes()` in `scheduler.ts`. No TypeScript API
174
+ changes are needed; this is a pure internal refactoring on the Python side.
175
+
162
176
  ## Response model changes (v2.139.0)
163
177
 
164
178
  `ConfidenceScores` gained a recursive `pages` field in Python v2.139.0:
165
179
 
166
180
  ```
167
- https://github.com/docling-project/docling/blob/v2.140.0/docling/datamodel/service/responses.py#L45
181
+ https://github.com/docling-project/docling/blob/v2.141.0/docling/datamodel/service/responses.py#L45
168
182
  ```
169
183
 
170
184
  When present, it maps 1-based page numbers to per-page `ConfidenceScores`
@@ -182,7 +196,7 @@ objects. The TypeScript `ConfidenceScores` interface includes the
182
196
  `content` to `document` in Python v2.133.0:
183
197
 
184
198
  ```
185
- https://github.com/docling-project/docling/blob/v2.140.0/docling/datamodel/service/responses.py#L84
199
+ https://github.com/docling-project/docling/blob/v2.141.0/docling/datamodel/service/responses.py#L84
186
200
  ```
187
201
 
188
202
  Pydantic continues to serialize the field as `content` on the wire via
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docling/docling-client",
3
- "version": "2.140.0",
3
+ "version": "2.141.0",
4
4
  "description": "TypeScript client for Docling Serve and Docling for IBM watsonx.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",