Skip to content

Release Notes

The authoritative, per-release changelog is published on GitHub Releases. The recent-releases table below is rendered from GitHub Releases at docs build time, so it refreshes automatically when a release is published; each tag links to its full release notes. Documentation source version: 2.1.5. Published versions are listed below.

Recent releases

Tag Notes
v2.1.4 2026-12-02 · Release notes
v2.1.3 2026-12-01 · Release notes
v2.1.2 2026-11-27 · Release notes
v2.1.1 2026-11-20 · Release notes
v2.1.0 2026-11-13 · Release notes

2.0 highlights

Version 2.0 introduced the resource-style client modeled on the ergonomics of the OpenAI SDK:

  • Entry point — client.chat.completions.create(...) instead of module-level static classes; one-liner dashscope.chat("qwen-plus", "...").
  • Responses — typed objects (resp.output_text, resp.usage.total_tokens) instead of raw dict-like results.
  • Errors — typed DashScopeError exceptions raised by default.
  • Streaming — ChatStream with .text_stream, .reasoning_stream and .get_final_message().
  • Protocols — chat completions select the native, openai, or anthropic adapter with protocol=. See Protocols and transport.
  • Async — 2.0 introduced dashscope.AsyncClient(). The current 2.x line supports async HTTP text-to-speech and batch transcription; duplex WebSocket voice sessions remain sync-only. See Async client.
  • Connections — one keep-alive pool per client, shared across resources.
  • Configuration — layered: arguments → dashscope.settings → environment → ~/.dashscope/config.toml.

1.x line

The 1.x API is preserved for backward compatibility under dashscope.legacy_1x and remains importable from the dashscope root. It is frozen: new capabilities land only in the 2.x surface. See Legacy 1.x.