Skip to content

Releases: dashscope/dashscope-sdk-java

v2.22.22

10 Jun 11:17
c75cfd5

Choose a tag to compare

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

02 Jun 10:27

Choose a tag to compare

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

02 Jun 03:51
f9ba250

Choose a tag to compare

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

13 May 02:42

Choose a tag to compare

What's Changed

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

v2.22.17

30 Apr 01:49

Choose a tag to compare

What's Changed

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

v2.22.16

21 Apr 10:56

Choose a tag to compare

Full Changelog: v2.22.15...v2.22.16

v2.22.15

16 Apr 02:25

Choose a tag to compare

What's Changed

  • add http sse cosyvocie tts api and omni createItem function by @songguocola in #206

Full Changelog: v2.22.14...v2.22.15

v2.22.14

07 Apr 10:52

Choose a tag to compare

What's Changed

Full Changelog: v2.22.13...v2.22.14

v2.22.13

24 Mar 08:08

Choose a tag to compare

Full Changelog: v2.22.12...v2.22.13

v2.22.12

16 Mar 02:43

Choose a tag to compare

What's Changed

Full Changelog: v2.22.11...v2.22.12