Skip to content

Releases: dashscope/dashscope-sdk-java

v2.22.26

Choose a tag to compare

@luk384090-cloud luk384090-cloud released this 17 Jul 07:47

What's Changed

Features

  • CosyVoice: Support cancel in finish-task
  • MultiModal Dialog: Support payload.parameters when requestToRespond

Bug Fixes

  • Omni Realtime: Add onError() callback for better error handling
  • Fix potential NullPointerException and synchronization race conditions

Details

  • SpeechSynthesizer / SpeechSynthesizerV2: Improved finish-task handling with cancel support
  • OmniRealtimeConversation: Added error callback propagation
  • MultiModalDialog: Added requestToRespond with payload parameters support
  • FullDuplexServiceParam / FullDuplexRequest: Enhanced parameter passing

Contributors

songguocola

v2.22.25

Choose a tag to compare

@luk384090-cloud luk384090-cloud released this 14 Jul 03:35
3cc1807

✨ What's New
Image Generation: Added color palette support and sketch-based image generation parameters
Multimodal Streaming: Enhanced with incremental/full mode selection and improved reasoning_content handling
Tool Calls: Added support for quark_search and code_interpreter in MultiModalMessageAdapter
Parameter Validation: Now validates mutual exclusivity of stopStrings and stopTokens with clear error messages

🐛 Fixes
Removed hardcoded URLs in TingWu to support DASHSCOPE_HTTP_BASE_URL environment variable
Fixed NPE issues in stream handling
Prevented automatic incremental_output injection to avoid response merging issues

📋 Other Changes
Added NOTICE file for third-party license compliance (EPL-2.0 components)
Code quality improvements and formatting updates

👥 Contributors
luk384090-cloud
lzsweb

v2.22.24

Choose a tag to compare

@luk384090-cloud luk384090-cloud released this 03 Jul 02:19
36ac21e

Release Notes — v2.22.24

🆕 Features

  • AgentStudio: Add AgentStudio sub-module for managed agents (#236)
  • ASR: Add speaker_id parameter to speech recognition results (#241)

🐛 Bug Fixes

  • Generation: Fix searchInfo being lost in streaming generation responses (#243)
  • Multimodal Agent: Fix bug in multimodal-dialog agent (#241)

👥 Contributors

v2.18.6

Choose a tag to compare

@lzsweb lzsweb released this 25 Jun 08:08

Hotfix for incrementalOutput serialization

What's Changed

  • Fix incrementalOutput parameter serialization to support explicit false value
  • When incrementalOutput is set to false, the parameter is now correctly sent to the server
  • Enables full output mode (non-streaming accumulation) for qwen-vl-plus and other models

Migration

Users on v2.18.0 experiencing streaming output issues can upgrade to v2.18.6 to get full output mode by setting .incrementalOutput(false) in MultiModalConversationParam.builder().

Full Changelog: v2.18.0...v2.18.6

v2.22.23

Choose a tag to compare

@lzsweb lzsweb released this 18 Jun 09:34
5eed3ed

What's Changed

Full Changelog: v2.22.22...v2.22.23

Additional Notes

New Features

  • Add latest model constants (PR #234)
  • Add parentNodeId field to WorkflowMessage (PR #233)

Bug Fixes

  • Fix funasr transcription bugs and support payload.input (PR #232)

v2.22.22

Choose a tag to compare

@lzsweb lzsweb released this 10 Jun 11:17
c75cfd5

What's Changed

  • Add doc_url content type support in MessageAdapter (#123)
    • New classes: DocURL, MessageContentDocURL
    • Serialization/deserialization support in MessageAdapter
  • Update version to 2.22.22

Full Changelog: v2.22.21...v2.22.22

v2.22.20

Choose a tag to compare

@luk384090-cloud luk384090-cloud released this 02 Jun 10:27

Release Notes — v2.22.20

New Features

Plugins usage information in API responses

Added plugins field to GenerationUsage and MultiModalConversationUsage, exposing search plugin details (count and strategy) returned by the DashScope API.

  • GenerationUsage.getPlugins() → returns Plugins with nested Search object containing count (Integer) and strategy (String)
  • MultiModalConversationUsage.getPlugins() → same structure

Full Changelog: v2.22.19...v2.22.20

v2.22.19

Choose a tag to compare

@lzsweb lzsweb released this 02 Jun 03:51
f9ba250

Highlights

  • New: headers: Map<String, Object> field exposed on all concrete *Result classes (GenerationResult, MultiModalConversationResult, ConversationResult, CodeGenerationResult, ImageGenerationResult, ImageSynthesisResult, VideoSynthesisResult) — lets callers read response headers (e.g. x-request-id) for tracing. (#215)
  • Fix: response headers are now also populated when isFlattenResult=true (previously skipped).
  • Breaking: Result#headers field type widened from Map<String, String> to Map<String, Object>. Source-compatible for .get(key) usage; explicit Map<String, String> declarations need to be updated.

What's Changed

New Contributors

Full Changelog: v2.22.18...v2.22.19

v2.22.18

Choose a tag to compare

@xiong-binbin xiong-binbin released this 13 May 02:42

What's Changed

Full Changelog: v2.22.17...v2.22.18

v2.22.17

Choose a tag to compare

@xiong-binbin xiong-binbin released this 30 Apr 01:49

What's Changed

Full Changelog: v2.22.16...v2.22.17