@docling/docling-client 2.149.0 → 2.150.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.149.0
4
- at commit `8103d81`, specifically:
3
+ This document compares `@docling/docling-client` with Docling Python 2.150.0
4
+ at commit `6852c27`, specifically:
5
5
 
6
6
  - `DoclingServiceClient`
7
7
  - `AsyncDoclingServiceClient`
@@ -160,6 +160,29 @@ High-level limits match Python:
160
160
  TypeScript restricts limit values to safe integers, which is stricter than
161
161
  Python's unbounded integer type.
162
162
 
163
+ ## Service client changes (v2.150.0)
164
+
165
+ Python v2.150.0 at commit `6852c27` is a release bump over v2.149.0.
166
+ All service-client and service datamodel APIs, options, enums, endpoints,
167
+ watchers, schedulers, and error models remain in full parity:
168
+
169
+ - `DoclingServiceClient` and `AsyncDoclingServiceClient`:
170
+ ```
171
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/client.py#L914
172
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/_async_client.py#L109
173
+ ```
174
+ - Service datamodels and options in `docling.datamodel.service`:
175
+ ```
176
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/options.py#L302
177
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/requests.py#L199
178
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/responses.py#L264
179
+ ```
180
+ - Task status watchers and jobs:
181
+ ```
182
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/watchers.py#L92
183
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/job.py#L67
184
+ ```
185
+
163
186
  ## Service client changes (v2.149.0)
164
187
 
165
188
  Python v2.149.0 at commit `8103d81` is a release bump over v2.148.0.
@@ -168,19 +191,19 @@ watchers, schedulers, and error models remain in full parity:
168
191
 
169
192
  - `DoclingServiceClient` and `AsyncDoclingServiceClient`:
170
193
  ```
171
- https://github.com/docling-project/docling/blob/v2.149.0/docling/service_client/client.py#L914
172
- https://github.com/docling-project/docling/blob/v2.149.0/docling/service_client/_async_client.py#L109
194
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/client.py#L914
195
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/_async_client.py#L109
173
196
  ```
174
197
  - Service datamodels and options in `docling.datamodel.service`:
175
198
  ```
176
- https://github.com/docling-project/docling/blob/v2.149.0/docling/datamodel/service/options.py#L302
177
- https://github.com/docling-project/docling/blob/v2.149.0/docling/datamodel/service/requests.py#L199
178
- https://github.com/docling-project/docling/blob/v2.149.0/docling/datamodel/service/responses.py#L264
199
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/options.py#L302
200
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/requests.py#L199
201
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/responses.py#L264
179
202
  ```
180
203
  - Task status watchers and jobs:
181
204
  ```
182
- https://github.com/docling-project/docling/blob/v2.149.0/docling/service_client/watchers.py#L92
183
- https://github.com/docling-project/docling/blob/v2.149.0/docling/service_client/job.py#L67
205
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/watchers.py#L92
206
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/job.py#L67
184
207
  ```
185
208
 
186
209
  ## Service client changes (v2.148.0)
@@ -195,7 +218,7 @@ service-datamodel surface.
195
218
  type. `ConvertDocumentsOptions.from_formats` defaults to every `InputFormat`:
196
219
 
197
220
  ```
198
- https://github.com/docling-project/docling/blob/v2.149.0/docling/datamodel/base_models.py#L136
221
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/base_models.py#L136
199
222
  ```
200
223
 
201
224
  The TypeScript `InputFormat` union includes `'calendar'`, the `from_formats`
@@ -204,7 +227,7 @@ service-datamodel surface.
204
227
  `_build_extension_to_format_map()`:
205
228
 
206
229
  ```
207
- https://github.com/docling-project/docling/blob/v2.149.0/docling/service_client/client.py#L906
230
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/client.py#L906
208
231
  ```
209
232
 
210
233
  - `ResponseFormat` gained `SURYA_HTML` (Surya OCR 2.5), `UNLIMITED_OCR2`,
@@ -212,7 +235,7 @@ service-datamodel surface.
212
235
  `VlmModelLocal.response_format` and `VlmModelApi.response_format`:
213
236
 
214
237
  ```
215
- https://github.com/docling-project/docling/blob/v2.149.0/docling/datamodel/pipeline_options_vlm_model.py#L120
238
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/pipeline_options_vlm_model.py#L120
216
239
  ```
217
240
 
218
241
  The TypeScript `VlmResponseFormat` (alias `ResponseFormat`) union and the
@@ -232,7 +255,7 @@ service-datamodel surface.
232
255
  Python v2.147.0 at commit `e3681a6` formally exposes `artifact_url_allowlist` and `_allow_private_artifact_urls` in `DoclingServiceClient.__init__`:
233
256
 
234
257
  ```
235
- https://github.com/docling-project/docling/blob/v2.149.0/docling/service_client/client.py#L933
258
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/client.py#L933
236
259
  ```
237
260
 
238
261
  TypeScript fully supports these options:
@@ -255,7 +278,7 @@ with no service-client or service-datamodel surface.
255
278
  - `ArtifactRef.artifact_type` now allows `"chunks"`:
256
279
 
257
280
  ```
258
- https://github.com/docling-project/docling/blob/v2.149.0/docling/datamodel/service/responses.py#L138
281
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/responses.py#L138
259
282
  ```
260
283
 
261
284
  The TypeScript `ArtifactType` union includes `'chunks'` and the presigned
@@ -269,7 +292,7 @@ with no service-client or service-datamodel surface.
269
292
  status and appends the presigned detail:
270
293
 
271
294
  ```
272
- https://github.com/docling-project/docling/blob/v2.149.0/docling/service_client/client.py#L857
295
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/client.py#L857
273
296
  ```
274
297
 
275
298
  TypeScript `combineInBodyFallbackError()` mirrors this and throws a
@@ -294,7 +317,7 @@ behavior with no service-client or service-datamodel surface.
294
317
  download name for the archive:
295
318
 
296
319
  ```
297
- https://github.com/docling-project/docling/blob/v2.149.0/docling/datamodel/service/responses.py#L122
320
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/responses.py#L122
298
321
  ```
299
322
 
300
323
  The TypeScript `ZipArchiveResult` interface exposes `filename?: string | null`.
@@ -306,7 +329,7 @@ behavior with no service-client or service-datamodel surface.
306
329
  the effective range differs from the merged options:
307
330
 
308
331
  ```
309
- https://github.com/docling-project/docling/blob/v2.149.0/docling/service_client/client.py#L454
332
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/client.py#L431
310
333
  ```
311
334
 
312
335
  TypeScript `applyPageLimits()` mirrors this: with no `page_range`, `pageRange`,
@@ -332,7 +355,7 @@ Python v2.141.0 to use an internal `_run_bounded()` helper from
332
355
  `docling/service_client/_scheduler.py` for bounded concurrency fan-out:
333
356
 
334
357
  ```
335
- https://github.com/docling-project/docling/blob/v2.149.0/docling/service_client/_scheduler.py#L31
358
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/service_client/_scheduler.py#L31
336
359
  ```
337
360
 
338
361
  The TypeScript scheduler already implements equivalent bounded-concurrency
@@ -344,7 +367,7 @@ changes are needed; this is a pure internal refactoring on the Python side.
344
367
  `ConfidenceScores` gained a recursive `pages` field in Python v2.139.0:
345
368
 
346
369
  ```
347
- https://github.com/docling-project/docling/blob/v2.149.0/docling/datamodel/service/responses.py#L45
370
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/responses.py#L45
348
371
  ```
349
372
 
350
373
  When present, it maps 1-based page numbers to per-page `ConfidenceScores`
@@ -362,7 +385,7 @@ objects. The TypeScript `ConfidenceScores` interface includes the
362
385
  `content` to `document` in Python v2.133.0:
363
386
 
364
387
  ```
365
- https://github.com/docling-project/docling/blob/v2.149.0/docling/datamodel/service/responses.py#L80
388
+ https://github.com/docling-project/docling/blob/v2.150.0/docling/datamodel/service/responses.py#L80
366
389
  ```
367
390
 
368
391
  Pydantic continues to serialize the field as `content` on the wire via