Releases: conductor-oss/python-sdk
1.2.3
1.1.11
What's Changed
- Support for older python versions by @v1r3n in #242
- Fix release GH Workflow by @jmigueprieto in #277
- Fix failing test by @jmigueprieto in #279
- ADD Backward compatibility tests by @orkes-harshil in #289
- Update SDK POJOs to match server POJO implementations by @orkes-harshil in #287
- Add support for signal api changes by @orkes-harshil in #291
- added support for SignalResponse by @orkes-harshil in #293
- workflow execution with return strategy by @orkes-harshil in #297
- Add code coverage by @EugeneKisel-sm in #305
- Invalid token error handling by @IgorChvyrov-sm in #304
- KafkaPublishInput missing swagger attributes by @IgorChvyrov-sm in #306
- Feature migrate to poetry by @IgorChvyrov-sm in #307
- Lint fixes for RUF013 and FA100 errors by @IgorChvyrov-sm in #309
- Lint fixes for F, E, W, G and RSE errors by @IgorChvyrov-sm in #310
- Lint fixes for B, PERF, RUF and C4 errors by @IgorChvyrov-sm in #311
- Lint fixes for PLR, PLW, PLC, PUI and TC errors by @IgorChvyrov-sm in #312
- Apply automated fixes from Ruff linter by @IgorChvyrov-sm in #308
- Refactor final linter fixes by @IgorChvyrov-sm in #313
- Reintroduce README copying in Dockerfile. by @Haven-King in #359
New Contributors
- @Haven-King made their first contribution in #359
Full Changelog: 1.1.10...1.1.11
1.2.2
🔍 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
- Refactoring improve sdk logging by @IgorChvyrov-sm in #328
- Exponential Backoff & Fail-Stop on 401 (Invalid API Token) by @IgorChvyrov-sm in #342
- Worker task definition configuration from decorators by @IgorChvyrov-sm in #345
- Fix application resource API inconsistencies by @IgorChvyrov-sm in #347
- Fix user resource API inconsistencies by @IgorChvyrov-sm in #346
- Fix sync client Configuration by @IgorChvyrov-sm in #341
- Updated configuration to set None as default domain by @IgorChvyrov-sm in #351
- Updated dynamic for task to set params in right way by @IgorChvyrov-sm in #352
- Tags field for event handler by @IgorChvyrov-sm in #336
- Bump package version to 1.2.2 by @IgorChvyrov-sm in #354
Full Changelog: 1.2.1...1.2.2
1.2.1
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
- Add ability to configure proxy by @IgorChvyrov-sm in #332
- Updated pyproject toml to remove py3.13 limitation by @IgorChvyrov-sm in #340
- Enhance Workflow Model with Helper Methods by @IgorChvyrov-sm in #335
- Added missing OAuth2 fields by @IgorChvyrov-sm in #344
- Release 1.2.1 by @IgorChvyrov-sm in #343
Full Changelog: 1.2.0...1.2.1
1.2.0 -- Do NOT Use
Important
- We recommend you upgrade to the later version due to known issues with task domain in this release.
What's Changed
- Support for older python versions by @v1r3n in #242
- Fix release GH Workflow by @jmigueprieto in #277
- Fix failing test by @jmigueprieto in #279
- ADD Backward compatibility tests by @orkes-harshil in #289
- Update SDK POJOs to match server POJO implementations by @orkes-harshil in #287
- Add support for signal api changes by @orkes-harshil in #291
- added support for SignalResponse by @orkes-harshil in #293
- workflow execution with return strategy by @orkes-harshil in #297
- Add code coverage by @EugeneKisel-sm in #305
- Invalid token error handling by @IgorChvyrov-sm in #304
- KafkaPublishInput missing swagger attributes by @IgorChvyrov-sm in #306
- Feature migrate to poetry by @IgorChvyrov-sm in #307
- Lint fixes for RUF013 and FA100 errors by @IgorChvyrov-sm in #309
- Lint fixes for F, E, W, G and RSE errors by @IgorChvyrov-sm in #310
- Lint fixes for B, PERF, RUF and C4 errors by @IgorChvyrov-sm in #311
- Lint fixes for PLR, PLW, PLC, PUI and TC errors by @IgorChvyrov-sm in #312
- Apply automated fixes from Ruff linter by @IgorChvyrov-sm in #308
- Refactor final linter fixes by @IgorChvyrov-sm in #313
- Rewrite unit/ to pytest by @IgorChvyrov-sm in #314
- Rewrite serdesertest/ to pytest by @IgorChvyrov-sm in #316
- Rewrite backwardcompatibility/ to pytest by @IgorChvyrov-sm in #317
- Add missed README.md to Docker image and bump package version to 1.1.11 by @IgorChvyrov-sm in #315
- Add documentation for release process by @IgorChvyrov-sm in #318
- Update gh action variables by @EugeneKisel-sm in #323
- Added description field by @IgorChvyrov-sm in #321
- Async SDK Clients for Orkes Conductor and Conductor OSS by @IgorChvyrov-sm in #320
- Add missing endpoints and separate generated code by @IgorChvyrov-sm in #324
- Add integration tests for Async client by @IgorChvyrov-sm in #326
- Prevent race condition during JWT obtaining by @IgorChvyrov-sm in #329
- Added sync and async integration tests to fail condition by @IgorChvyrov-sm in #337
- Release v1.2.0 by @IgorChvyrov-sm in #338
New Contributors
- @EugeneKisel-sm made their first contribution in #305
Full Changelog: 1.1.10...1.2.0
1.2.0b1
What's Changed
- Support for older python versions by @v1r3n in #242
- Fix release GH Workflow by @jmigueprieto in #277
Full Changelog: 1.1.10...1.2.0b1
1.1.10
What's Changed
- Fix worker output serialization issues by @jmigueprieto in #275
- Fix wrong test class name by @jmigueprieto in #276
Full Changelog: 1.1.9...1.1.10
1.1.9
What's Changed
- FIX - Dynamic Fork (workflow as code) by @jmigueprieto in #274
New Contributors
- @jmigueprieto made their first contribution in #274
Full Changelog: 1.1.8...1.1.9
1.1.8
What's Changed
- Update README.md by @RizaFarheen in #268
- fix: greet import by @sarthakos in #269
- Schema APIs by @v1r3n in #272
New Contributors
- @sarthakos made their first contribution in #269
Full Changelog: v1.1.7...1.1.8