@docling/docling-client 2.153.0 → 2.154.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.
- package/PYTHON_CLIENT_PARITY.md +42 -2
- package/package.json +2 -2
package/PYTHON_CLIENT_PARITY.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Python client parity
|
|
2
2
|
|
|
3
|
-
This document compares `@docling/docling-client` with Docling Python 2.
|
|
4
|
-
at commit `
|
|
3
|
+
This document compares `@docling/docling-client` with Docling Python 2.154.0
|
|
4
|
+
at commit `6b5ab0d`, specifically:
|
|
5
5
|
|
|
6
6
|
- `DoclingServiceClient`
|
|
7
7
|
- `AsyncDoclingServiceClient`
|
|
@@ -161,6 +161,46 @@ High-level limits match Python:
|
|
|
161
161
|
TypeScript restricts limit values to safe integers, which is stricter than
|
|
162
162
|
Python's unbounded integer type.
|
|
163
163
|
|
|
164
|
+
## Service client changes (v2.154.0)
|
|
165
|
+
|
|
166
|
+
Python v2.154.0 at commit `6b5ab0d` adds no service-client or service-datamodel
|
|
167
|
+
API surface. `DoclingServiceClient`, `AsyncDoclingServiceClient`, the watcher,
|
|
168
|
+
scheduler, job, and exception modules, and the `docling.datamodel.service`
|
|
169
|
+
models (`options.py`, `requests.py`, `responses.py`, `sources.py`, `targets.py`,
|
|
170
|
+
`callbacks.py`, `chunking.py`, `tasks.py`) were re-checked field by field and
|
|
171
|
+
match the TypeScript contracts, so no TypeScript type, option, or runtime
|
|
172
|
+
behavior changed. `ConvertDocumentsOptions`, `HeadingHierarchyOptions`, and the
|
|
173
|
+
`InputFormat`, `OutputFormat`, `ResponseFormat`, `PdfBackend`, and
|
|
174
|
+
`ProcessingPipeline` enums are unchanged, and the TypeScript extension table
|
|
175
|
+
still equals the table Python builds in `_build_extension_to_format_map()`.
|
|
176
|
+
|
|
177
|
+
The release's changes are server-side or core-library behavior:
|
|
178
|
+
|
|
179
|
+
- iWork backend: Pages and Keynote tables now read number, date, and checkbox
|
|
180
|
+
cells. The input formats (`iwork_pages`, `iwork_keynote`, `iwork_numbers`) and
|
|
181
|
+
their `pages`, `key`, and `numbers` extensions already exist in TypeScript.
|
|
182
|
+
Regression tests now cover them.
|
|
183
|
+
- Generic ZIP inputs have a default expansion limit, the Tesseract CLI DPI hint
|
|
184
|
+
is optional, and the Unlimited-OCR VLM presets default to a local server.
|
|
185
|
+
These act on the server pipeline and are not exposed as service options.
|
|
186
|
+
- The remaining fixes (email, mets, pptx, docx, latex, xlsx, epub, nemotron-parse,
|
|
187
|
+
and the `convert-remote` CLI `.env` handling) have no service-client surface.
|
|
188
|
+
|
|
189
|
+
| Python (v2.154.0) | TypeScript | Wire key | Notes |
|
|
190
|
+
| ----------------------------------------------------------------- | -------------------------------------------- | ----------------------------------------------- | ------------------------------------ |
|
|
191
|
+
| `InputFormat.IWORK_PAGES/KEYNOTE/NUMBERS` | `InputFormat` / `INPUT_FORMATS` | `iwork_pages`, `iwork_keynote`, `iwork_numbers` | Unchanged; tests added. |
|
|
192
|
+
| `FormatToExtensions[IWORK_*]` | `EXTENSION_FORMATS` | `pages`, `key`, `numbers` | Unchanged; extension guessing tests. |
|
|
193
|
+
| `DoclingServiceClient.__init__` `Accept-Docling-Document-Version` | `DoclingClientOptions.acceptDocumentVersion` | `Accept-Docling-Document-Version` | Unchanged since v2.153.0. |
|
|
194
|
+
|
|
195
|
+
References:
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
https://github.com/docling-project/docling/blob/v2.154.0/docling/datamodel/base_models.py#L131
|
|
199
|
+
https://github.com/docling-project/docling/blob/v2.154.0/docling/datamodel/base_models.py#L186
|
|
200
|
+
https://github.com/docling-project/docling/blob/v2.154.0/docling/service_client/client.py#L915
|
|
201
|
+
https://github.com/docling-project/docling/blob/v2.154.0/docling/datamodel/service/options.py#L302
|
|
202
|
+
```
|
|
203
|
+
|
|
164
204
|
## Service client changes (v2.153.0)
|
|
165
205
|
|
|
166
206
|
Python v2.153.0 at commit `33f33aa` adds one service-client behavior. The
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docling/docling-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.154.0",
|
|
4
4
|
"description": "TypeScript client for Docling Serve and Docling for IBM watsonx.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"tsup": "9.0.0",
|
|
74
74
|
"typescript": "5.9.3",
|
|
75
75
|
"typescript-eslint": "8.73.0",
|
|
76
|
-
"vitest": "5.1.
|
|
76
|
+
"vitest": "5.1.1"
|
|
77
77
|
},
|
|
78
78
|
"engines": {
|
|
79
79
|
"node": ">=18"
|