The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.26.0 - 2026-07-08
- GenerateOptions: Added
thinking_budget,logprobs,top_logprobs,search_options,parallel_tool_calls,response_format,output_formatparameters for thinking budget control, log probabilities, web search configuration, parallel tool calls, JSON mode, and deep-research output format. - MultiModalConversationOptions: Added
ocr_options,logprobs,top_logprobsparameters for OCR model support and log probabilities. - ImageSynthesisOptions: Added explicit
seed,style,ref_strength,ref_mode,prompt_extend,watermark,bbox_list,enable_sequential,thinking_mode,color_paletteparameters (previously only viakwargs). - VideoSynthesisOptions: Added
shot_typeandaudio_settingparameters for video shot type and audio configuration.
- CodeGeneration: Removed
services/prefix from API path (aigc/code-generation/generation), aligning with Pythonis_service=Falsefix in v1.26. - Understanding: Removed
services/prefix from API path (nlp/nlu/understanding), aligning with Pythonis_service=Falsefix in v1.26. - Models.get(): Rewritten to use query-parameter filtering (
?model={name}&page_no=1&page_size=1) instead of path-based lookup, returning 404 when model is not found. Aligned with PythonModels.get()rewrite in v1.26. - WebSocket duplex: Added
readyStatecheck beforews.send()inrunWebSocketDuplexTaskto prevent errors when the connection closes mid-stream. Aligned with Python WebSocket connection-check fix in v1.26. - UTF-8 encoding: Updated
AcceptandContent-Typeheaders to includecharset=utf-8, ensuring non-ASCII characters (e.g. Chinese) are transmitted correctly. Aligned with Pythonensure_ascii=Falsefix in v1.26.
- Models.get() (Breaking): Return shape changed from raw response body to
{ ...response, output: model }on success, or{ status_code: 404, message, output: null }when the model is not found. Previously returned the raw response body from path-based lookup (GET /models/{name}). Callers that accessedresult.outputdirectly will still work; callers that accessed other top-level fields should use the new spread-based return shape.
Synced from dashscope-sdk-python v1.26.2 (tag v1.26.2).
1.25.5 - 2026-07-08
- ImageGeneration (
src/aigc/imageGeneration/): New module for wan2.6-image / wan2.6-t2i image generation, based on amessagesinterface. Supports synchronous (streaming / non-streaming) and asynchronous task modes. Includescall(),asyncCall(),fetch(),wait()methods, withincremental_to_fullstreaming merge andwait_timeoutsupport. Exported asImageGenerationandImageGenerationModelsfrom the package entry. - Async task
wait_timeout: Added optionalwait_timeoutparameter (in seconds) toImageSynthesis,VideoSynthesis,Transcription, andBatchTextEmbeddingcall()methods. When set to a value > 0, the method returns a timeout response (code: 'WaitTaskTimeout',status_code: 408) instead of waiting indefinitely. Aligned with PythonBaseAsyncApi.wait(wait_timeout). - MultiModalConversation incremental merge: Added
incremental_to_fullstreaming logic toMultiModalConversation— whenincremental_outputisfalseand the model supports it, the SDK transparently requests incremental output and merges deltas into a full response, matchingGenerationbehavior.
- Generation
User-Agentheader: Theincremental_to_fullUser-Agent flag now includes the SDK version (dashscope-sdk-nodejs/x.y.z; incremental_to_full/N) instead of overriding the entire User-Agent string. Previously the SDK version was lost during streaming requests.
Synced from dashscope-sdk-python v1.25.24 (tag v1.25.24).
1.25.4 - 2026-06-09
- GenerateOptions: Added explicit
presence_penalty,tools,tool_choice,enable_thinking,nparameters for function calling and reasoning mode support. - MultiModalConversationOptions: Added explicit
temperature,top_p,top_k,max_tokens,seed,stop,repetition_penalty,presence_penalty,result_format,incremental_output,enable_search,tools,tool_choice,enable_thinking,nparameters. - VideoSynthesisOptions: Added explicit
seed,prompt_extend,watermark,resolution,ratioparameters. - TextEmbeddingOptions: Added
dimension,output_type,instructparameters for v3/v4 models. - MultiModalEmbeddingOptions: Added
dimension,output_type,fps,instruct,enable_fusion,res_level,max_video_framesparameters for qwen3-vl-embedding and snapshot models. - TextReRankOptions: Added
instructparameter for custom ranking instructions.
Synced from dashscope-sdk-python v1.25.21 (tag v1.25.21).
1.25.3 - 2026-04-24
- HTTP TTS (
HttpSpeechSynthesizer): New HTTP-based text-to-speech interface for CosyVoice, supporting both streaming (SSE) and non-streaming modes. Synced from dashscope-sdk-python v1.25.17 (tagv1.25.17).- Non-streaming: Returns audio URL, audio ID, and expiration timestamp.
- Streaming: Yields audio data chunks with sentence-level timestamps.
- Added
HttpSpeechSynthesisResultclass with getters foraudioData,audioUrl,audioId,expiresAt,sentences, andresponse.
1.25.2 - 2026-04-07
Re-export result types and classes from the package entry for migration from legacy deep imports and typing: BaseResult, GenerationResult, EmbeddingResult, MultiModalEmbeddingResult, AsyncTaskResult, RecognitionResult.
1.25.1 - 2026-04-03
First open-source release on GitHub and npm as dashscope-sdk-official, migrated from the internal @ali/dashscope-sdk package. Aligned with dashscope-sdk-python v1.25.15 (tag v1.25.15).