Releases
v1.0.3
Compare
Sorry, something went wrong.
No results found
dify-client-python 1.0.3 (2026-03-25)
Added
Audio models and client methods:
audio_to_text / aaudio_to_text
text_to_audio / atext_to_audio
New runtime stream event support:
tts_message, workflow_paused, iteration_*, loop_*
text_chunk, text_replace
human_input_required, human_input_form_filled, human_input_form_timeout
Workflow stop endpoint compatibility fallback:
try /workflows/tasks/{task_id}/stop
fallback to /workflows/{task_id}/stop on not found
Added broad test coverage for wrappers, async flows, stream parsing, and endpoint compatibility.
Changed
Runtime request/response models aligned with latest Dify runtime schema.
File model types expanded: image, document, audio, video, custom.
Packaging/runtime requirements updated:
Python >=3.8
pydantic>=2,<3
CI/build pipeline hardened for build backend deps (setuptools, wheel).
Fixed
Fixed Python 3.8/3.12 CI build failures around packaging backend deps.
Fixed async CI instability by pinning AnyIO test backend to asyncio.
Improved HTTP/SSE non-JSON error parsing robustness.
Validation
PR matrix green on 3.8/3.9/3.10/3.11/3.12.
Tests: 30 passed.
Security checks: bandit clean, pip-audit no known vulnerabilities for pinned runtime deps.
You can’t perform that action at this time.