Skip to content

feat(docling-client): sync client with docling v2.140.0 - #142

Merged
kdinkla merged 4 commits into
mainfrom
sync/docling-client-2.140.0
Oct 19, 2026
Merged

kdinkla merged 4 commits into
mainfrom
sync/docling-client-2.140.0

Conversation

@docling-ts-ops

Copy link
Copy Markdown
Contributor

Automated Upstream Sync: docling v2.140.0

This pull request was generated automatically using IBM Bob CLI in GitHub Actions.# Update TypeScript Client to Docling Python v2.140.0 (commit 0e54294) Parity

This PR updates @docling/docling-client to achieve full parity with Docling Python v2.140.0 (commit 0e54294).

Summary of Changes

types.ts

  • TableFormerMode: Added TableFormerMode type alias for TableMode to match Python's TableFormerMode naming (Source).
  • ImageRefMode: Added ImageRefMode type alias for ImageExportMode to match Python's ImageRefMode naming (Source).
  • ResponseFormat: Added ResponseFormat type alias for VlmResponseFormat to match Python's ResponseFormat (Source).
  • InferenceFramework: Added InferenceFramework type alias for VlmInferenceFramework to match Python's InferenceFramework (Source).
  • VlmModelType: Added VlmModelType type alias for LegacyVlmModelType to match Python's VlmModelType (Source).
  • ChunkerKind: Exported ChunkerKind const object and type matching Python's ChunkerKind enum (Source).
  • ChunkerType: Exported ChunkerType const object and type alias matching Python's ChunkerType enum (Source).
  • StatusWatcherKind: Exported StatusWatcherKind const object and type matching Python's StatusWatcherKind enum (Source).
  • WaitForTaskOptions: Updated statusWatcher field type from union string literal to StatusWatcherKind (Source).

errors.ts

  • DoclingServiceClientError: Exported alias for DoclingError matching Python's DoclingServiceClientError base exception class (Source).
  • ServiceError: Exported alias for DoclingServiceError matching Python's ServiceError exception class (Source).
  • ServiceUnavailableError: Exported alias for DoclingServiceUnavailableError matching Python's ServiceUnavailableError exception class (Source).
  • ResponseSchemaMismatchError: Exported alias for DoclingResponseSchemaMismatchError matching Python's ResponseSchemaMismatchError exception class (Source).
  • UsageLimitExceededError: Exported alias for DoclingUsageLimitExceededError matching Python's UsageLimitExceededError exception class (Source).
  • TaskTimeoutError: Exported alias for DoclingTimeoutError matching Python's TaskTimeoutError exception class (Source).
  • TaskNotFoundError: Exported alias for DoclingTaskNotFoundError matching Python's TaskNotFoundError exception class (Source).
  • ResultNotReadyError: Exported alias for DoclingResultNotReadyError matching Python's ResultNotReadyError exception class (Source).
  • ResultExpiredError: Exported alias for DoclingResultExpiredError matching Python's ResultExpiredError exception class (Source).
  • TaskExecutionError: Exported alias for DoclingTaskError matching Python's TaskExecutionError exception class (Source).
  • ArtifactDownloadError: Exported alias for DoclingArtifactDownloadError matching Python's ArtifactDownloadError exception class (Source).
  • ConversionError: Exported alias for DoclingConversionError matching Python's ConversionError exception class (Source).
  • BatchConversionError: Exported alias for DoclingBatchConversionError matching Python's BatchConversionError exception class (Source).

client.ts

  • DoclingServiceClient: Exported class alias for DoclingClient matching Python's sync client class name (Source).
  • AsyncDoclingServiceClient: Exported class alias for DoclingClient matching Python's async client class name (Source).
  • ConversionJob: Exported class alias for DoclingJob matching Python's sync job class name (Source).
  • AsyncConversionJob: Exported class alias for DoclingJob matching Python's async job class name (Source).

watchers.ts

  • StatusWatcherKind: Re-exported StatusWatcherKind from types.ts (Source).

PYTHON_CLIENT_PARITY.md

  • Updated version reference to Docling Python 2.140.0 at commit 0e54294 (Source).
  • Updated error mapping table with TypeScript parity aliases (Source).

Comment thread docling-client/src/types.ts
Comment thread docling-client/src/types.ts
Comment thread docling-client/src/types.ts
Comment thread docling-client/src/types.ts
Comment thread docling-client/src/types.ts
Comment thread docling-client/src/types.ts
Comment thread docling-client/src/types.ts
Comment thread docling-client/src/types.ts
Comment thread docling-client/src/types.ts
Comment thread docling-client/src/errors.ts Outdated
Comment thread docling-client/src/client.ts Outdated
Comment thread docling-client/src/watchers.ts
Comment thread docling-client/PYTHON_CLIENT_PARITY.md
Comment thread docling-client/PYTHON_CLIENT_PARITY.md Outdated
Comment thread docling-client/test/client.test.ts Outdated
Comment thread docling-client/test/type-parity.ts
Co-authored-by: kdinkla <6942717+kdinkla@users.noreply.github.com>
Copilot AI requested a review from kdinkla October 19, 2026 07:38
Copilot AI and others added 2 commits October 19, 2026 07:39
Co-authored-by: kdinkla <6942717+kdinkla@users.noreply.github.com>
…o sync/docling-client-2.140.0

# Conflicts:
#	docling-client/test/client.test.ts
#	docling-client/test/type-parity.ts

Co-authored-by: kdinkla <6942717+kdinkla@users.noreply.github.com>
@kdinkla
kdinkla merged commit 939f070 into main Oct 19, 2026
2 checks passed
@kdinkla
kdinkla deleted the sync/docling-client-2.140.0 branch October 19, 2026 08:06
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.

2 participants