Releases: dashscope/dashscope-sdk-java
Releases · dashscope/dashscope-sdk-java
v2.22.22
v2.22.20
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()→ returnsPluginswith nestedSearchobject containingcount(Integer) andstrategy(String)MultiModalConversationUsage.getPlugins()→ same structure
Full Changelog: v2.22.19...v2.22.20
v2.22.19
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
- Add a header to all Result classes. by @mose-zm in #215
- DEV/Extension/Plugin by @luk384090-cloud in #216
New Contributors
- @luk384090-cloud made their first contribution in #216
Full Changelog: v2.22.18...v2.22.19
v2.22.18
What's Changed
- (model/cosyvoice): support flush api by @songguocola in #213
Full Changelog: v2.22.17...v2.22.18
v2.22.17
What's Changed
- param build fixes for audio models by @songguocola in #208
- Add hh model usage parameters by @mose-zm in #209
Full Changelog: v2.22.16...v2.22.17
v2.22.16
Full Changelog: v2.22.15...v2.22.16
v2.22.15
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
v2.22.13
Full Changelog: v2.22.12...v2.22.13