Skip to content

Releases: conductor-oss/python-sdk

1.2.3

09 Nov 01:07
28c133c

Choose a tag to compare

What's Changed

Full Changelog: 1.1.11...1.2.3

1.1.11

09 Nov 00:56
61cd791

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.10...1.1.11

1.2.2

28 Oct 09:55
225f598

Choose a tag to compare

🔍 Overview

This release introduces a dedicated authentication handler with exponential backoff, simplifies worker task definitions via decorators, and improves API consistency for user and application resources. It delivers bug fixes and API alignment updates to maintain parity with the Orkes Conductor server.

✅ Issues Resolved

Python SDK workers cannot pick up tasks from workflows created in UI without domain configuration
DynamicForkTask sets incompatible parameters causing validation error

🧩 Highlights

  • Added full support for Orkes Events in both Sync and Async clients.

  • Exponential Backoff & Fail-Stop on Invalid API Tokens:

    • Updated both Sync and Async clients to use new Auth Handler that manages exponential backoff and graceful fail-stop behavior when invalid tokens (HTTP 401) are detected.
    • Extended IntegrationDefFormFieldAdapter with new OAuth2 field names: oAuth2RefreshToken, oAuth2AuthCode, oAuth2TokenExpiresAt, oAuth2RedirectUri.
  • Worker Task Definition via Decorators:

    • Introduced a TaskOptions model and a task_options decorator for easy worker task definition directly in code.
    • Implemented helper to convert TaskOptions → TaskDef automatically.
  • API Alignment and Validation Fixes:

    • Fixed bugs related to missed empty-string validation, tags deletion and data normalization in the Sync client for both application and user resources.
    • Added missing get_app_by_access_key_id route to OrkesAuthorizationClient.
    • Updated ConductorUserAdapter and IntegrationDefFormFieldAdapter to match latest server behavior.
    • Extended IntegrationDefFormFieldAdapter to remain fully synchronized with the server schema.
  • Configuration Improvements:

    • Fixed Sync Client Configuration initialization to correctly handle cases where /api is included in base_url.
    • Added missing imports in conductor.client.http.models to expose them properly.
    • Default value for worker_domain is now set to None, ensuring better default behavior.
    • Updated DynamicForkTask to handle parameter setting without validation errors.

Full Changelog: 1.2.1...1.2.2

What's Changed

Full Changelog: 1.2.1...1.2.2

1.2.1

10 Oct 12:56
00b32d9

Choose a tag to compare

Overview

This release focuses on improving developer experience, configuration flexibility, and compatibility.

Highlights:

  • Proxy Support:
    The synchronous API client now supports proxy configuration via environment variables. Documentation and examples were added to the README.
  • Officially supported on Python 3.9–3.13:
    Likely compatible with newer versions (unverified).
  • OAuth2 Fields:
    Added new OAuth2-related field names to IntegrationDefFormFieldAdapter: oAuth2RefreshToken, oAuth2AuthCode, oAuth2TokenExpiresAt, oAuth2RedirectUri.
  • WorkflowRun Enhancements:
    Added new helper methods for workflow status and task inspection:
    • is_running(), get_in_progress_tasks(), get_task_by_ref_name(), is_failed()
    • Fixed bug in is_successful() (incorrect attribute reference)

What's Changed

Full Changelog: 1.2.0...1.2.1

1.2.0 -- Do NOT Use

02 Oct 10:03
4c56a17

Choose a tag to compare

Important

  • We recommend you upgrade to the later version due to known issues with task domain in this release.

What's Changed

New Contributors

Full Changelog: 1.1.10...1.2.0

1.2.0b1

03 Mar 23:35
4b4b5ba

Choose a tag to compare

1.2.0b1 Pre-release
Pre-release

What's Changed

Full Changelog: 1.1.10...1.2.0b1

1.1.10

25 Jan 17:56
5e76647

Choose a tag to compare

What's Changed

Full Changelog: 1.1.9...1.1.10

1.1.9

14 Jan 22:28
436585e

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.8...1.1.9

1.1.8

25 Nov 05:44
2d311a1

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.7...1.1.8

1.1.7

22 May 18:05
5bc0ebf

Choose a tag to compare

What's Changed

  • Support workflow status listener by @v1r3n in #266

Full Changelog: 1.1.6...v1.1.7