Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 09:50
· 26 commits to main since this release

v2.1.0 Release Notes

🚀 Highlights

  • Qwen Live realtime audio sessions built on a shared realtime transport.
  • New dashscope.devkit: offline self-diagnosis for failed calls plus static/record/replay HTTP mocking.
  • Automated release pipeline — pushing a v* tag now builds, publishes to PyPI, and drafts the GitHub Release.

✨ Features

  • audio: add Qwen Live sessions on the shared realtime transport (#231).
  • audio: accept audio sources for voice enrollment.
  • agentstudio: session mount fields for Bailian memory and OSS.
  • devkit: add offline self-diagnosis for failed calls.
  • devkit: add static/record/replay dev mock at the HTTP transport.
  • transport: introduce APIResponse and a raw parameter for raw responses.
  • transport: support per-request options across all resources.
  • pagination: introduce a generic pagination base class and refactor resource list interfaces.
  • parse: add fault-tolerant response model parsing and strict validation config.
  • core: add client request ID and response validation exception.
  • v2: extend typed parsing, per-request options, and pagination fixes to all resources.
  • Enhance API response handling and resource methods.

♻️ Refactoring

  • cli: migrate the agent runtime to dashscope-agenticx (#230).
  • server: extract client disconnect response logic.

🐛 Bug Fixes

  • tts: prevent KeyError for non-timestamp messages in speech parts.
  • audio: preserve graceful Live and Realtime shutdown.
  • reinforcement: preserve FaaS business errors and request context.
  • reinforcement: address agentic RL review findings.
  • reinforcement: allow local wheel paths in pip requirement tokens.
  • core: unify API key resolution and improve error handling.
  • v2: support more image models and input forms, including wan2.7 image responses.
  • logging: correlate SDK 2.0 response errors with request IDs.

📚 Documentation

  • None

🔧 CI & Chore

  • release: add tag-triggered PyPI publishing workflow (#234).
  • version: bump to 2.1.0.
  • ci: pin Python 3.9 / unit-test runners to ubuntu-24.04.
  • ci: run legacy unit tests on pushes and pull requests again.
  • test: stabilize RL CLI help checks, align job list output, and move layer decoupling checks to the current suite.

⚠️ Breaking Changes

None


📦 Installation

pip install --upgrade dashscope==2.1.0

👥 Contributors

Thanks to all the contributors who made this release possible:

📝 Full Changelog

v2.0.4...v2.1.0