@ai-sdk/alibaba 0.0.0-07500555-20260730161446

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,842 @@
1
+ # @ai-sdk/alibaba
2
+
3
+ ## 0.0.0-07500555-20260730161446
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [589d87c]
8
+ - @ai-sdk/provider@0.0.0-07500555-20260730161446
9
+ - @ai-sdk/openai-compatible@0.0.0-07500555-20260730161446
10
+ - @ai-sdk/provider-utils@0.0.0-07500555-20260730161446
11
+
12
+ ## 2.0.16
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [02ffdcb]
17
+ - Updated dependencies [76cb673]
18
+ - @ai-sdk/provider-utils@5.0.12
19
+ - @ai-sdk/openai-compatible@3.0.14
20
+
21
+ ## 2.0.15
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [8b52503]
26
+ - @ai-sdk/openai-compatible@3.0.13
27
+
28
+ ## 2.0.14
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [cd06458]
33
+ - @ai-sdk/provider-utils@5.0.11
34
+ - @ai-sdk/openai-compatible@3.0.12
35
+
36
+ ## 2.0.13
37
+
38
+ ### Patch Changes
39
+
40
+ - Updated dependencies [0b61267]
41
+ - @ai-sdk/openai-compatible@3.0.11
42
+
43
+ ## 2.0.12
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies [31c7be8]
48
+ - @ai-sdk/provider-utils@5.0.10
49
+ - @ai-sdk/openai-compatible@3.0.10
50
+
51
+ ## 2.0.11
52
+
53
+ ### Patch Changes
54
+
55
+ - 4be62c1: fix(provider-utils): validate provider-response URLs in `getFromApi`
56
+
57
+ `getFromApi` now has a `validateUrl` flag. It is optional so existing callers keep compiling (omitting it behaves like `false`, i.e. no validation), but all AI SDK provider packages set it explicitly at every call site so each one makes a visible trust decision. When `true`, the URL is routed through `fetchWithValidatedRedirects` — the same guard used by `downloadBlob` — which rejects private/loopback/link-local targets, re-validates every redirect hop, strips proxy/metadata/cookie request headers, and drops all caller headers except the user-agent on cross-origin redirects (custom API-key headers must not follow a redirect off-origin any more than `Authorization` may); blocked URLs throw `DownloadError`. It is enabled at the image/video/audio download and polling call sites where the URL comes from a provider response body; URLs built from developer-configured endpoints pass `validateUrl: false` and are unaffected.
58
+
59
+ A new optional `credentialedOrigin` withholds caller headers unless the URL is same-origin with it, so the API key is not sent to a response-supplied host on a different origin.
60
+
61
+ A new optional `trustedOrigin` exempts URLs (and redirect hops) that are same-origin with the developer-configured provider endpoint from target validation, so self-hosted and localhost deployments whose response URLs point back at the configured host keep working; all other hops are still validated.
62
+
63
+ Also closes range gaps in `validateDownloadUrl` (IPv4 `224.0.0.0/4` multicast and the TEST-NET documentation ranges `192.0.2.0/24`, `198.51.100.0/24`, `203.0.113.0/24`; IPv6 documentation ranges `2001:db8::/32` and `3fff::/20`), and follows only the fetch-spec redirect status codes (301/302/303/307/308) — a `Location` header on any other status is not followed. This guard performs string/literal checks only and does not resolve DNS; hostnames that resolve to private addresses and DNS rebinding remain out of scope and must be constrained at the network layer (or by injecting a Node `fetch` that pins the resolved IP at connect time) for server deployments handling untrusted URLs. See `contributing/secure-url-handling.md`.
64
+
65
+ - Updated dependencies [4be62c1]
66
+ - Updated dependencies [7805e4a]
67
+ - Updated dependencies [cd12954]
68
+ - @ai-sdk/provider-utils@5.0.9
69
+ - @ai-sdk/openai-compatible@3.0.9
70
+
71
+ ## 2.0.10
72
+
73
+ ### Patch Changes
74
+
75
+ - Updated dependencies [e193290]
76
+ - @ai-sdk/provider-utils@5.0.8
77
+ - @ai-sdk/openai-compatible@3.0.8
78
+
79
+ ## 2.0.9
80
+
81
+ ### Patch Changes
82
+
83
+ - 0f93c57: feat (video): support video (not just image) reference inputs in `inputReferences` for reference-to-video generation
84
+ - Updated dependencies [0f93c57]
85
+ - @ai-sdk/provider@4.0.3
86
+ - @ai-sdk/openai-compatible@3.0.7
87
+ - @ai-sdk/provider-utils@5.0.7
88
+
89
+ ## 2.0.8
90
+
91
+ ### Patch Changes
92
+
93
+ - ac306ed: Fix `StreamingToolCallTracker` finalizing streaming tool calls on parsable partial JSON. Tool calls now only finalize during stream flush, restoring the behavior of #13137: a parsable argument buffer can still be the prefix of a longer argument string, so finalizing early could act on truncated tool inputs.
94
+ - Updated dependencies [ac306ed]
95
+ - @ai-sdk/provider-utils@5.0.6
96
+ - @ai-sdk/openai-compatible@3.0.6
97
+
98
+ ## 2.0.7
99
+
100
+ ### Patch Changes
101
+
102
+ - 0c3c7e4: feat(alibaba): support wan2.7 text-to-video and reference-to-video models with the new protocol (`input.media`, `resolution` + `ratio`)
103
+
104
+ ## 2.0.6
105
+
106
+ ### Patch Changes
107
+
108
+ - 5c5c0f5: Add experimental streaming transcription support for transcription models, including OpenAI `gpt-realtime-whisper` and xAI WebSocket STT.
109
+ - Updated dependencies [5c5c0f5]
110
+ - @ai-sdk/provider@4.0.2
111
+ - @ai-sdk/provider-utils@5.0.5
112
+ - @ai-sdk/openai-compatible@3.0.5
113
+
114
+ ## 2.0.5
115
+
116
+ ### Patch Changes
117
+
118
+ - Updated dependencies [c6f5e62]
119
+ - @ai-sdk/provider-utils@5.0.4
120
+ - @ai-sdk/openai-compatible@3.0.4
121
+
122
+ ## 2.0.4
123
+
124
+ ### Patch Changes
125
+
126
+ - Updated dependencies [8c616f0]
127
+ - @ai-sdk/provider-utils@5.0.3
128
+ - @ai-sdk/openai-compatible@3.0.3
129
+
130
+ ## 2.0.3
131
+
132
+ ### Patch Changes
133
+
134
+ - 0274f34: feat (video): add first-class `frameImages` and `inputReferences` call options for video generation
135
+ - Updated dependencies [0274f34]
136
+ - @ai-sdk/provider@4.0.1
137
+ - @ai-sdk/openai-compatible@3.0.2
138
+ - @ai-sdk/provider-utils@5.0.2
139
+
140
+ ## 2.0.2
141
+
142
+ ### Patch Changes
143
+
144
+ - Updated dependencies [6a436e3]
145
+ - @ai-sdk/provider-utils@5.0.1
146
+ - @ai-sdk/openai-compatible@3.0.1
147
+
148
+ ## 2.0.1
149
+
150
+ ### Patch Changes
151
+
152
+ - ba6d510: chore: fix deprecated use of zod `.passthrough()`
153
+
154
+ ## 2.0.0
155
+
156
+ ### Major Changes
157
+
158
+ - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
159
+ - c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
160
+ - 8359612: Start v7 pre-release
161
+ - 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
162
+
163
+ For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
164
+
165
+ ### Patch Changes
166
+
167
+ - 94c6edc: Add `qwen3.7-max` model ID to Alibaba and AI Gateway.
168
+ - 38fc777: Add AI Gateway hint to provider READMEs
169
+ - 74d520f: feat: migrate providers to support new top-level `reasoning` parameter
170
+ - 45b3d76: fix(security): prevent streaming tool calls from finalizing on parsable partial JSON
171
+
172
+ Streaming tool call arguments were finalized using `isParsableJson()` as a heuristic for completion. If partial accumulated JSON happened to be valid JSON before all chunks arrived, the tool call would be executed with incomplete arguments. Tool call finalization now only occurs in `flush()` after the stream is fully consumed.
173
+
174
+ - 811cd8e: fix(provider/alibaba): handle single-item content array cache control
175
+ - 9f0e36c: trigger release for all packages after provenance setup
176
+ - 58a2ad7: fix: more precise default message for tool execution denial
177
+ - f7295cb: revert incorrect fix https://github.com/vercel/ai/pull/13172
178
+ - 4ab27b9: chore(alibaba): update v3 specs to v4
179
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
180
+ - f807e45: Extract shared `StreamingToolCallTracker` class into `@ai-sdk/provider-utils` to deduplicate streaming tool call handling across OpenAI-compatible providers. Also adds missing `generateId()` fallback for `toolCallId` in Alibaba's `doGenerate` path and ensures all providers finalize unfinished tool calls during stream flush.
181
+ - 0c4c275: trigger initial canary release
182
+ - 616bb31: feat(aliababa): add embedding model support
183
+ - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
184
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
185
+ - b8396f0: trigger initial beta release
186
+ - 90e2d8a: chore: fix unused vars not being flagged by our lint tooling
187
+ - 0416e3e: feat (video): add first-class `generateAudio` call option
188
+ - b3976a2: Add workflow serialization support to all provider models.
189
+
190
+ **`@ai-sdk/provider-utils`:** New `serializeModel()` helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.
191
+
192
+ **All providers:** `headers` is now optional in provider config types. This is non-breaking — existing code that passes `headers` continues to work. Custom provider implementations that construct model configs manually can now omit `headers`, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.
193
+
194
+ All provider model classes now include `WORKFLOW_SERIALIZE` and `WORKFLOW_DESERIALIZE` static methods, enabling them to cross workflow step boundaries without serialization errors.
195
+
196
+ ## 2.0.0-beta.61
197
+
198
+ ### Patch Changes
199
+
200
+ - 0416e3e: feat (video): add first-class `generateAudio` call option
201
+ - Updated dependencies [0416e3e]
202
+ - @ai-sdk/provider@4.0.0-beta.20
203
+ - @ai-sdk/openai-compatible@3.0.0-beta.58
204
+ - @ai-sdk/provider-utils@5.0.0-beta.50
205
+
206
+ ## 2.0.0-beta.60
207
+
208
+ ### Patch Changes
209
+
210
+ - b8396f0: trigger initial beta release
211
+ - Updated dependencies [b8396f0]
212
+ - @ai-sdk/openai-compatible@3.0.0-beta.57
213
+ - @ai-sdk/provider-utils@5.0.0-beta.49
214
+ - @ai-sdk/provider@4.0.0-beta.19
215
+
216
+ ## 2.0.0-canary.59
217
+
218
+ ### Patch Changes
219
+
220
+ - Updated dependencies [aeda373]
221
+ - Updated dependencies [375fdd7]
222
+ - Updated dependencies [b4507d5]
223
+ - @ai-sdk/provider-utils@5.0.0-canary.48
224
+ - @ai-sdk/openai-compatible@3.0.0-canary.56
225
+
226
+ ## 2.0.0-canary.58
227
+
228
+ ### Patch Changes
229
+
230
+ - Updated dependencies [bae5e2b]
231
+ - @ai-sdk/provider-utils@5.0.0-canary.47
232
+ - @ai-sdk/openai-compatible@3.0.0-canary.55
233
+
234
+ ## 2.0.0-canary.57
235
+
236
+ ### Patch Changes
237
+
238
+ - Updated dependencies [ce769dd]
239
+ - @ai-sdk/provider@4.0.0-canary.18
240
+ - @ai-sdk/openai-compatible@3.0.0-canary.54
241
+ - @ai-sdk/provider-utils@5.0.0-canary.46
242
+
243
+ ## 2.0.0-canary.56
244
+
245
+ ### Patch Changes
246
+
247
+ - 616bb31: feat(aliababa): add embedding model support
248
+ - Updated dependencies [ee798eb]
249
+ - Updated dependencies [daf6637]
250
+ - @ai-sdk/provider-utils@5.0.0-canary.45
251
+ - @ai-sdk/openai-compatible@3.0.0-canary.53
252
+
253
+ ## 2.0.0-canary.55
254
+
255
+ ### Patch Changes
256
+
257
+ - Updated dependencies [6c93e36]
258
+ - Updated dependencies [f617ac2]
259
+ - @ai-sdk/provider-utils@5.0.0-canary.44
260
+ - @ai-sdk/openai-compatible@3.0.0-canary.52
261
+
262
+ ## 2.0.0-canary.54
263
+
264
+ ### Patch Changes
265
+
266
+ - Updated dependencies [9f1e1ba]
267
+ - @ai-sdk/openai-compatible@3.0.0-canary.51
268
+
269
+ ## 2.0.0-canary.53
270
+
271
+ ### Patch Changes
272
+
273
+ - 94c6edc: Add `qwen3.7-max` model ID to Alibaba and AI Gateway.
274
+
275
+ ## 2.0.0-canary.52
276
+
277
+ ### Patch Changes
278
+
279
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
280
+ - Updated dependencies [7fc6bd6]
281
+ - @ai-sdk/openai-compatible@3.0.0-canary.50
282
+ - @ai-sdk/provider-utils@5.0.0-canary.43
283
+ - @ai-sdk/provider@4.0.0-canary.17
284
+
285
+ ## 2.0.0-canary.51
286
+
287
+ ### Patch Changes
288
+
289
+ - Updated dependencies [a6617c5]
290
+ - @ai-sdk/provider-utils@5.0.0-canary.42
291
+ - @ai-sdk/openai-compatible@3.0.0-canary.49
292
+
293
+ ## 2.0.0-canary.50
294
+
295
+ ### Patch Changes
296
+
297
+ - Updated dependencies [28dfa06]
298
+ - Updated dependencies [e93fa91]
299
+ - @ai-sdk/provider-utils@5.0.0-canary.41
300
+ - @ai-sdk/openai-compatible@3.0.0-canary.48
301
+
302
+ ## 2.0.0-canary.49
303
+
304
+ ### Patch Changes
305
+
306
+ - Updated dependencies [a7de9c9]
307
+ - @ai-sdk/provider-utils@5.0.0-canary.40
308
+ - @ai-sdk/openai-compatible@3.0.0-canary.47
309
+
310
+ ## 2.0.0-canary.48
311
+
312
+ ### Patch Changes
313
+
314
+ - Updated dependencies [105f95b]
315
+ - @ai-sdk/provider-utils@5.0.0-canary.39
316
+ - @ai-sdk/openai-compatible@3.0.0-canary.46
317
+
318
+ ## 2.0.0-canary.47
319
+
320
+ ### Patch Changes
321
+
322
+ - Updated dependencies [ca446f8]
323
+ - @ai-sdk/provider-utils@5.0.0-canary.38
324
+ - @ai-sdk/openai-compatible@3.0.0-canary.45
325
+
326
+ ## 2.0.0-canary.46
327
+
328
+ ### Patch Changes
329
+
330
+ - Updated dependencies [d848405]
331
+ - @ai-sdk/provider-utils@5.0.0-canary.37
332
+ - @ai-sdk/openai-compatible@3.0.0-canary.44
333
+
334
+ ## 2.0.0-canary.45
335
+
336
+ ### Patch Changes
337
+
338
+ - Updated dependencies [ca39020]
339
+ - @ai-sdk/provider-utils@5.0.0-canary.36
340
+ - @ai-sdk/openai-compatible@3.0.0-canary.43
341
+
342
+ ## 2.0.0-canary.44
343
+
344
+ ### Patch Changes
345
+
346
+ - Updated dependencies [f634bac]
347
+ - @ai-sdk/provider-utils@5.0.0-canary.35
348
+ - @ai-sdk/openai-compatible@3.0.0-canary.42
349
+
350
+ ## 2.0.0-canary.43
351
+
352
+ ### Patch Changes
353
+
354
+ - Updated dependencies [69254e0]
355
+ - Updated dependencies [3015fc3]
356
+ - @ai-sdk/provider-utils@5.0.0-canary.34
357
+ - @ai-sdk/openai-compatible@3.0.0-canary.41
358
+
359
+ ## 2.0.0-canary.42
360
+
361
+ ### Patch Changes
362
+
363
+ - Updated dependencies [2427d88]
364
+ - @ai-sdk/provider-utils@5.0.0-canary.33
365
+ - @ai-sdk/openai-compatible@3.0.0-canary.40
366
+
367
+ ## 2.0.0-canary.41
368
+
369
+ ### Patch Changes
370
+
371
+ - Updated dependencies [5463d0d]
372
+ - @ai-sdk/provider-utils@5.0.0-canary.32
373
+ - @ai-sdk/provider@4.0.0-canary.16
374
+ - @ai-sdk/openai-compatible@3.0.0-canary.39
375
+
376
+ ## 2.0.0-canary.40
377
+
378
+ ### Patch Changes
379
+
380
+ - Updated dependencies [cd9c311]
381
+ - @ai-sdk/openai-compatible@3.0.0-canary.38
382
+
383
+ ## 2.0.0-canary.39
384
+
385
+ ### Patch Changes
386
+
387
+ - 0c4c275: trigger initial canary release
388
+ - Updated dependencies [0c4c275]
389
+ - @ai-sdk/openai-compatible@3.0.0-canary.37
390
+ - @ai-sdk/provider-utils@5.0.0-canary.31
391
+ - @ai-sdk/provider@4.0.0-canary.15
392
+
393
+ ## 2.0.0-beta.38
394
+
395
+ ### Patch Changes
396
+
397
+ - Updated dependencies [e59c955]
398
+ - @ai-sdk/openai-compatible@3.0.0-beta.36
399
+
400
+ ## 2.0.0-beta.37
401
+
402
+ ### Major Changes
403
+
404
+ - 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
405
+
406
+ For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
407
+
408
+ ### Patch Changes
409
+
410
+ - Updated dependencies [08d2129]
411
+ - Updated dependencies [04e9009]
412
+ - @ai-sdk/provider-utils@5.0.0-beta.30
413
+ - @ai-sdk/openai-compatible@3.0.0-beta.35
414
+
415
+ ## 2.0.0-beta.36
416
+
417
+ ### Patch Changes
418
+
419
+ - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
420
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
421
+ - Updated dependencies [9bd6512]
422
+ - Updated dependencies [258c093]
423
+ - Updated dependencies [b6783da]
424
+ - @ai-sdk/openai-compatible@3.0.0-beta.34
425
+ - @ai-sdk/provider-utils@5.0.0-beta.29
426
+ - @ai-sdk/provider@4.0.0-beta.14
427
+
428
+ ## 2.0.0-beta.35
429
+
430
+ ### Patch Changes
431
+
432
+ - 9f0e36c: trigger release for all packages after provenance setup
433
+ - Updated dependencies [9f0e36c]
434
+ - @ai-sdk/openai-compatible@3.0.0-beta.33
435
+ - @ai-sdk/provider@4.0.0-beta.13
436
+ - @ai-sdk/provider-utils@5.0.0-beta.28
437
+
438
+ ## 2.0.0-beta.34
439
+
440
+ ### Patch Changes
441
+
442
+ - 58a2ad7: fix: more precise default message for tool execution denial
443
+ - Updated dependencies [ab81968]
444
+ - Updated dependencies [785fe16]
445
+ - Updated dependencies [67df0a0]
446
+ - Updated dependencies [befb78c]
447
+ - Updated dependencies [0458559]
448
+ - Updated dependencies [58a2ad7]
449
+ - Updated dependencies [5852c0a]
450
+ - Updated dependencies [fc92055]
451
+ - @ai-sdk/openai-compatible@3.0.0-beta.32
452
+ - @ai-sdk/provider-utils@5.0.0-beta.27
453
+
454
+ ## 2.0.0-beta.33
455
+
456
+ ### Patch Changes
457
+
458
+ - Updated dependencies [2e98477]
459
+ - Updated dependencies [bfb756d]
460
+ - @ai-sdk/provider-utils@5.0.0-beta.26
461
+ - @ai-sdk/openai-compatible@3.0.0-beta.31
462
+
463
+ ## 2.0.0-beta.32
464
+
465
+ ### Patch Changes
466
+
467
+ - Updated dependencies [eea8d98]
468
+ - @ai-sdk/provider-utils@5.0.0-beta.25
469
+ - @ai-sdk/openai-compatible@3.0.0-beta.30
470
+
471
+ ## 2.0.0-beta.31
472
+
473
+ ### Patch Changes
474
+
475
+ - f807e45: Extract shared `StreamingToolCallTracker` class into `@ai-sdk/provider-utils` to deduplicate streaming tool call handling across OpenAI-compatible providers. Also adds missing `generateId()` fallback for `toolCallId` in Alibaba's `doGenerate` path and ensures all providers finalize unfinished tool calls during stream flush.
476
+ - Updated dependencies [f807e45]
477
+ - @ai-sdk/provider-utils@5.0.0-beta.24
478
+ - @ai-sdk/openai-compatible@3.0.0-beta.29
479
+
480
+ ## 2.0.0-beta.30
481
+
482
+ ### Patch Changes
483
+
484
+ - Updated dependencies [350ea38]
485
+ - @ai-sdk/provider-utils@5.0.0-beta.23
486
+ - @ai-sdk/openai-compatible@3.0.0-beta.28
487
+
488
+ ## 2.0.0-beta.29
489
+
490
+ ### Patch Changes
491
+
492
+ - Updated dependencies [083947b]
493
+ - @ai-sdk/provider-utils@5.0.0-beta.22
494
+ - @ai-sdk/openai-compatible@3.0.0-beta.27
495
+
496
+ ## 2.0.0-beta.28
497
+
498
+ ### Patch Changes
499
+
500
+ - Updated dependencies [add1126]
501
+ - @ai-sdk/provider-utils@5.0.0-beta.21
502
+ - @ai-sdk/openai-compatible@3.0.0-beta.26
503
+
504
+ ## 2.0.0-beta.27
505
+
506
+ ### Patch Changes
507
+
508
+ - b3976a2: Add workflow serialization support to all provider models.
509
+
510
+ **`@ai-sdk/provider-utils`:** New `serializeModel()` helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.
511
+
512
+ **All providers:** `headers` is now optional in provider config types. This is non-breaking — existing code that passes `headers` continues to work. Custom provider implementations that construct model configs manually can now omit `headers`, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.
513
+
514
+ All provider model classes now include `WORKFLOW_SERIALIZE` and `WORKFLOW_DESERIALIZE` static methods, enabling them to cross workflow step boundaries without serialization errors.
515
+
516
+ - Updated dependencies [b3976a2]
517
+ - Updated dependencies [ff5eba1]
518
+ - @ai-sdk/provider-utils@5.0.0-beta.20
519
+ - @ai-sdk/openai-compatible@3.0.0-beta.25
520
+ - @ai-sdk/provider@4.0.0-beta.12
521
+
522
+ ## 2.0.0-beta.26
523
+
524
+ ### Major Changes
525
+
526
+ - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
527
+
528
+ ### Patch Changes
529
+
530
+ - Updated dependencies [ef992f8]
531
+ - @ai-sdk/openai-compatible@3.0.0-beta.24
532
+ - @ai-sdk/provider@4.0.0-beta.11
533
+ - @ai-sdk/provider-utils@5.0.0-beta.19
534
+
535
+ ## 2.0.0-beta.25
536
+
537
+ ### Patch Changes
538
+
539
+ - 90e2d8a: chore: fix unused vars not being flagged by our lint tooling
540
+ - Updated dependencies [90e2d8a]
541
+ - @ai-sdk/openai-compatible@3.0.0-beta.23
542
+ - @ai-sdk/provider-utils@5.0.0-beta.18
543
+
544
+ ## 2.0.0-beta.24
545
+
546
+ ### Patch Changes
547
+
548
+ - Updated dependencies [3ae1786]
549
+ - @ai-sdk/provider-utils@5.0.0-beta.17
550
+ - @ai-sdk/openai-compatible@3.0.0-beta.22
551
+
552
+ ## 2.0.0-beta.23
553
+
554
+ ### Patch Changes
555
+
556
+ - Updated dependencies [176466a]
557
+ - @ai-sdk/provider@4.0.0-beta.10
558
+ - @ai-sdk/openai-compatible@3.0.0-beta.21
559
+ - @ai-sdk/provider-utils@5.0.0-beta.16
560
+
561
+ ## 2.0.0-beta.22
562
+
563
+ ### Patch Changes
564
+
565
+ - Updated dependencies [e311194]
566
+ - @ai-sdk/provider@4.0.0-beta.9
567
+ - @ai-sdk/openai-compatible@3.0.0-beta.20
568
+ - @ai-sdk/provider-utils@5.0.0-beta.15
569
+
570
+ ## 2.0.0-beta.21
571
+
572
+ ### Patch Changes
573
+
574
+ - Updated dependencies [34bd95d]
575
+ - Updated dependencies [008271d]
576
+ - @ai-sdk/provider@4.0.0-beta.8
577
+ - @ai-sdk/openai-compatible@3.0.0-beta.19
578
+ - @ai-sdk/provider-utils@5.0.0-beta.14
579
+
580
+ ## 2.0.0-beta.20
581
+
582
+ ### Patch Changes
583
+
584
+ - Updated dependencies [b0c2869]
585
+ - Updated dependencies [7e26e81]
586
+ - @ai-sdk/provider-utils@5.0.0-beta.13
587
+ - @ai-sdk/openai-compatible@3.0.0-beta.18
588
+
589
+ ## 2.0.0-beta.19
590
+
591
+ ### Patch Changes
592
+
593
+ - Updated dependencies [816ff67]
594
+ - @ai-sdk/openai-compatible@3.0.0-beta.17
595
+
596
+ ## 2.0.0-beta.18
597
+
598
+ ### Patch Changes
599
+
600
+ - Updated dependencies [46d1149]
601
+ - @ai-sdk/provider-utils@5.0.0-beta.12
602
+ - @ai-sdk/openai-compatible@3.0.0-beta.16
603
+
604
+ ## 2.0.0-beta.17
605
+
606
+ ### Patch Changes
607
+
608
+ - Updated dependencies [6fd51c0]
609
+ - @ai-sdk/provider-utils@5.0.0-beta.11
610
+ - @ai-sdk/provider@4.0.0-beta.7
611
+ - @ai-sdk/openai-compatible@3.0.0-beta.15
612
+
613
+ ## 2.0.0-beta.16
614
+
615
+ ### Patch Changes
616
+
617
+ - c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
618
+ - Updated dependencies [c29a26f]
619
+ - @ai-sdk/openai-compatible@3.0.0-beta.14
620
+ - @ai-sdk/provider-utils@5.0.0-beta.10
621
+ - @ai-sdk/provider@4.0.0-beta.6
622
+
623
+ ## 2.0.0-beta.15
624
+
625
+ ### Patch Changes
626
+
627
+ - 38fc777: Add AI Gateway hint to provider READMEs
628
+ - Updated dependencies [38fc777]
629
+ - @ai-sdk/openai-compatible@3.0.0-beta.13
630
+
631
+ ## 2.0.0-beta.14
632
+
633
+ ### Patch Changes
634
+
635
+ - Updated dependencies [2e17091]
636
+ - @ai-sdk/provider-utils@5.0.0-beta.9
637
+ - @ai-sdk/openai-compatible@3.0.0-beta.12
638
+
639
+ ## 2.0.0-beta.13
640
+
641
+ ### Patch Changes
642
+
643
+ - Updated dependencies [986c6fd]
644
+ - Updated dependencies [493295c]
645
+ - @ai-sdk/provider-utils@5.0.0-beta.8
646
+ - @ai-sdk/openai-compatible@3.0.0-beta.11
647
+
648
+ ## 2.0.0-beta.12
649
+
650
+ ### Patch Changes
651
+
652
+ - Updated dependencies [1f509d4]
653
+ - @ai-sdk/provider-utils@5.0.0-beta.7
654
+ - @ai-sdk/provider@4.0.0-beta.5
655
+ - @ai-sdk/openai-compatible@3.0.0-beta.10
656
+
657
+ ## 2.0.0-beta.11
658
+
659
+ ### Patch Changes
660
+
661
+ - 74d520f: feat: migrate providers to support new top-level `reasoning` parameter
662
+ - Updated dependencies [74d520f]
663
+ - @ai-sdk/openai-compatible@3.0.0-beta.9
664
+
665
+ ## 2.0.0-beta.10
666
+
667
+ ### Patch Changes
668
+
669
+ - Updated dependencies [3887c70]
670
+ - @ai-sdk/provider-utils@5.0.0-beta.6
671
+ - @ai-sdk/provider@4.0.0-beta.4
672
+ - @ai-sdk/openai-compatible@3.0.0-beta.8
673
+
674
+ ## 2.0.0-beta.9
675
+
676
+ ### Patch Changes
677
+
678
+ - Updated dependencies [776b617]
679
+ - @ai-sdk/provider-utils@5.0.0-beta.5
680
+ - @ai-sdk/provider@4.0.0-beta.3
681
+ - @ai-sdk/openai-compatible@3.0.0-beta.7
682
+
683
+ ## 2.0.0-beta.8
684
+
685
+ ### Patch Changes
686
+
687
+ - Updated dependencies [61753c3]
688
+ - @ai-sdk/provider-utils@5.0.0-beta.4
689
+ - @ai-sdk/openai-compatible@3.0.0-beta.6
690
+
691
+ ## 2.0.0-beta.7
692
+
693
+ ### Patch Changes
694
+
695
+ - 811cd8e: fix(provider/alibaba): handle single-item content array cache control
696
+
697
+ ## 2.0.0-beta.6
698
+
699
+ ### Patch Changes
700
+
701
+ - Updated dependencies [f7d4f01]
702
+ - @ai-sdk/provider-utils@5.0.0-beta.3
703
+ - @ai-sdk/provider@4.0.0-beta.2
704
+ - @ai-sdk/openai-compatible@3.0.0-beta.5
705
+
706
+ ## 2.0.0-beta.5
707
+
708
+ ### Patch Changes
709
+
710
+ - Updated dependencies [5c2a5a2]
711
+ - @ai-sdk/provider@4.0.0-beta.1
712
+ - @ai-sdk/openai-compatible@3.0.0-beta.4
713
+ - @ai-sdk/provider-utils@5.0.0-beta.2
714
+
715
+ ## 2.0.0-beta.4
716
+
717
+ ### Patch Changes
718
+
719
+ - Updated dependencies [8f3e1da]
720
+ - @ai-sdk/openai-compatible@3.0.0-beta.3
721
+
722
+ ## 2.0.0-beta.3
723
+
724
+ ### Patch Changes
725
+
726
+ - 4ab27b9: chore(alibaba): update v3 specs to v4
727
+
728
+ ## 2.0.0-beta.2
729
+
730
+ ### Patch Changes
731
+
732
+ - 45b3d76: fix(security): prevent streaming tool calls from finalizing on parsable partial JSON
733
+
734
+ Streaming tool call arguments were finalized using `isParsableJson()` as a heuristic for completion. If partial accumulated JSON happened to be valid JSON before all chunks arrived, the tool call would be executed with incomplete arguments. Tool call finalization now only occurs in `flush()` after the stream is fully consumed.
735
+
736
+ - f7295cb: revert incorrect fix https://github.com/vercel/ai/pull/13172
737
+ - Updated dependencies [45b3d76]
738
+ - Updated dependencies [f7295cb]
739
+ - @ai-sdk/openai-compatible@3.0.0-beta.2
740
+
741
+ ## 2.0.0-beta.1
742
+
743
+ ### Patch Changes
744
+
745
+ - Updated dependencies [531251e]
746
+ - @ai-sdk/provider-utils@5.0.0-beta.1
747
+ - @ai-sdk/openai-compatible@3.0.0-beta.1
748
+
749
+ ## 2.0.0-beta.0
750
+
751
+ ### Major Changes
752
+
753
+ - 8359612: Start v7 pre-release
754
+
755
+ ### Patch Changes
756
+
757
+ - Updated dependencies [8359612]
758
+ - @ai-sdk/openai-compatible@3.0.0-beta.0
759
+ - @ai-sdk/provider@4.0.0-beta.0
760
+ - @ai-sdk/provider-utils@5.0.0-beta.0
761
+
762
+ ## 1.0.10
763
+
764
+ ### Patch Changes
765
+
766
+ - Updated dependencies [ad4cfc2]
767
+ - @ai-sdk/provider-utils@4.0.19
768
+ - @ai-sdk/openai-compatible@2.0.35
769
+
770
+ ## 1.0.9
771
+
772
+ ### Patch Changes
773
+
774
+ - Updated dependencies [824b295]
775
+ - @ai-sdk/provider-utils@4.0.18
776
+ - @ai-sdk/openai-compatible@2.0.34
777
+
778
+ ## 1.0.8
779
+
780
+ ### Patch Changes
781
+
782
+ - Updated dependencies [89caf28]
783
+ - @ai-sdk/openai-compatible@2.0.33
784
+
785
+ ## 1.0.7
786
+
787
+ ### Patch Changes
788
+
789
+ - Updated dependencies [08336f1]
790
+ - @ai-sdk/provider-utils@4.0.17
791
+ - @ai-sdk/openai-compatible@2.0.32
792
+
793
+ ## 1.0.6
794
+
795
+ ### Patch Changes
796
+
797
+ - Updated dependencies [58bc42d]
798
+ - @ai-sdk/provider-utils@4.0.16
799
+ - @ai-sdk/openai-compatible@2.0.31
800
+
801
+ ## 1.0.5
802
+
803
+ ### Patch Changes
804
+
805
+ - 6fe0630: fix(provider/alibaba): fix cache control for non-system messages
806
+
807
+ ## 1.0.4
808
+
809
+ ### Patch Changes
810
+
811
+ - Updated dependencies [4024a3a]
812
+ - @ai-sdk/provider-utils@4.0.15
813
+ - @ai-sdk/openai-compatible@2.0.30
814
+
815
+ ## 1.0.3
816
+
817
+ ### Patch Changes
818
+
819
+ - 99fbed8: feat: normalize provider specific model options type names and ensure they are exported
820
+ - Updated dependencies [99fbed8]
821
+ - @ai-sdk/openai-compatible@2.0.29
822
+
823
+ ## 1.0.2
824
+
825
+ ### Patch Changes
826
+
827
+ - 4d8c6b9: feat (provider/alibaba): add video generation support
828
+
829
+ ## 1.0.1
830
+
831
+ ### Patch Changes
832
+
833
+ - Updated dependencies [7168375]
834
+ - @ai-sdk/provider@3.0.8
835
+ - @ai-sdk/openai-compatible@2.0.28
836
+ - @ai-sdk/provider-utils@4.0.14
837
+
838
+ ## 1.0.0
839
+
840
+ ### Major Changes
841
+
842
+ - aa924c7: feat(provider/alibaba): initial alibaba provider