Skip to content

Release Notes

The authoritative, per-release changelog is published on GitHub Releases. Current SDK version: 3.0.0.

Recent releases

Tag Notes
v2.23.8 2026-11-26 · Release notes
v2.23.7 2026-11-19 · Release notes
v2.23.6 2026-11-12 · Release notes
v2.23.5 2026-11-06 · Release notes
v2.23.4 2026-10-26 · Release notes

3.0.0 — the 3.0 generation

The first 3.0 release. The SDK is rebuilt around a single typed, resource-style client while the complete 2.x API is preserved (frozen) under com.alibaba.dashscope.legacy_2x.

Area What's new
Resource-style client One DashScopeClient entry point with 16 typed resources (chat(), embeddings(), audio(), agentStudio(), …), Lombok-builder request params and typed responses. See Features.
Async mirror DashScopeAsyncClient mirrors the sync surface: CompletableFuture<T> for unary calls, RxJava Flowable<T> for streaming, on a client-owned daemon executor. See Async Client.
Text-like streaming createStreaming returns ResponseStream<T> (Iterable + AutoCloseable) with incremental deltas by default. See Chat and Streaming.
Typed errors Unchecked DashScopeException family (AuthenticationException, RateLimitException, ContentFilterException, ApiTimeoutException, …) carrying code, HTTP status and request_id. See Errors and Diagnosis.
Automatic retries Idempotent transport failures retried with exponential backoff and jitter; honors Retry-After / Retry-After-ms / X-Should-Retry; per-request overrides via RequestOptions.
Config chain Builder > system property > environment variable > ~/.dashscope/config.toml > defaults; per-request RequestOptions. See Configuration.
Encrypted channel Opt-in RSA envelope encryption (RequestOptions.enableEncryption(true)) with automatic gateway public-key fetch and caching.
AgentStudio Managed-agent resources (agents, sessions, events, memory stores, vaults, …) decoupled from legacy_2x, with its own endpoint (DASHSCOPE_AGENTSTUDIO_URL) and single-pass SSE streams. See AgentStudio.
Local tokenizer Offline Qwen BPE token counting (TokenizerFactory.qwen()) with cached vocab, plus remote tokenization().count. See Tokenization.
Frozen 2.x facade All 2.x classes moved to com.alibaba.dashscope.legacy_2x.*, deprecated for removal in 4.0. See Migrating from 2.x.
Engineering JDK 8+ bytecode, ErrorProne zero-silent-error gate, and an offline example suite — every example in examples/ runs against a mock gateway in CI.

2.x line

The 2.x generation (released through v2.23.8, November 2026) was built around per-capability entry classes — new Generation(), new MultiModalConversation(), new ImageSynthesis(), … — with checked ApiException / NoApiKeyException / InputRequiredException and ResultCallback / Flowable streaming.

The complete 2.x API is preserved for backward compatibility under com.alibaba.dashscope.legacy_2x in the 3.0 artifact, so existing code keeps compiling after an import update. It is frozen: new capabilities land only in the 3.0 client, and the facades are deprecated for removal in 4.0. See Legacy 2.x for the package mapping and Migrating from 2.x for the entry-point table. Per-release 2.x changelogs remain available on GitHub Releases.