@ai-sdk/google-vertex 5.0.0-beta.11 → 5.0.0-beta.112

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +954 -8
  2. package/README.md +65 -2
  3. package/dist/anthropic/edge/index.d.ts +18 -151
  4. package/dist/anthropic/edge/index.js +88 -70
  5. package/dist/anthropic/edge/index.js.map +1 -1
  6. package/dist/anthropic/index.d.ts +18 -151
  7. package/dist/anthropic/index.js +88 -81
  8. package/dist/anthropic/index.js.map +1 -1
  9. package/dist/edge/index.d.ts +49 -20
  10. package/dist/edge/index.js +629 -278
  11. package/dist/edge/index.js.map +1 -1
  12. package/dist/index.d.ts +61 -23
  13. package/dist/index.js +638 -296
  14. package/dist/index.js.map +1 -1
  15. package/dist/maas/edge/index.d.ts +76 -0
  16. package/dist/maas/edge/index.js +209 -0
  17. package/dist/maas/edge/index.js.map +1 -0
  18. package/dist/maas/index.d.ts +60 -0
  19. package/dist/maas/index.js +109 -0
  20. package/dist/maas/index.js.map +1 -0
  21. package/dist/xai/edge/index.d.ts +92 -0
  22. package/dist/xai/edge/index.js +259 -0
  23. package/dist/xai/edge/index.js.map +1 -0
  24. package/dist/xai/index.d.ts +76 -0
  25. package/dist/xai/index.js +159 -0
  26. package/dist/xai/index.js.map +1 -0
  27. package/docs/16-google-vertex.mdx +640 -102
  28. package/maas/edge.d.ts +1 -0
  29. package/maas/index.d.ts +1 -0
  30. package/package.json +49 -24
  31. package/src/anthropic/edge/google-vertex-anthropic-provider-edge.ts +17 -13
  32. package/src/anthropic/edge/index.ts +6 -2
  33. package/src/anthropic/{google-vertex-anthropic-messages-options.ts → google-vertex-anthropic-options.ts} +4 -1
  34. package/src/anthropic/google-vertex-anthropic-provider-node.ts +18 -13
  35. package/src/anthropic/google-vertex-anthropic-provider.ts +68 -19
  36. package/src/anthropic/index.ts +6 -2
  37. package/src/edge/google-vertex-provider-edge.ts +10 -12
  38. package/src/edge/index.ts +8 -1
  39. package/src/google-vertex-auth-google-auth-library.ts +13 -26
  40. package/src/google-vertex-config.ts +2 -2
  41. package/src/{google-vertex-embedding-options.ts → google-vertex-embedding-model-options.ts} +1 -0
  42. package/src/google-vertex-embedding-model.ts +90 -7
  43. package/src/google-vertex-image-model-options.ts +74 -0
  44. package/src/google-vertex-image-model.ts +89 -116
  45. package/src/google-vertex-options.ts +1 -1
  46. package/src/google-vertex-provider-base.ts +311 -0
  47. package/src/google-vertex-provider.ts +43 -233
  48. package/src/google-vertex-speech-model-options.ts +11 -0
  49. package/src/google-vertex-transcription-model-options.ts +46 -0
  50. package/src/google-vertex-transcription-model.ts +231 -0
  51. package/src/google-vertex-video-model-options.ts +49 -0
  52. package/src/google-vertex-video-model.ts +38 -71
  53. package/src/index.ts +20 -5
  54. package/src/maas/edge/google-vertex-maas-provider-edge.ts +64 -0
  55. package/src/maas/edge/index.ts +13 -0
  56. package/src/maas/google-vertex-maas-options.ts +15 -0
  57. package/src/maas/google-vertex-maas-provider-node.ts +65 -0
  58. package/src/maas/google-vertex-maas-provider.ts +122 -0
  59. package/src/maas/index.ts +13 -0
  60. package/src/xai/edge/google-vertex-xai-provider-edge.ts +61 -0
  61. package/src/xai/edge/index.ts +9 -0
  62. package/src/xai/google-vertex-xai-options.ts +7 -0
  63. package/src/xai/google-vertex-xai-provider-node.ts +62 -0
  64. package/src/xai/google-vertex-xai-provider.ts +212 -0
  65. package/src/xai/index.ts +9 -0
  66. package/xai/edge.d.ts +1 -0
  67. package/xai/index.d.ts +1 -0
  68. package/dist/anthropic/edge/index.d.mts +0 -231
  69. package/dist/anthropic/edge/index.mjs +0 -259
  70. package/dist/anthropic/edge/index.mjs.map +0 -1
  71. package/dist/anthropic/index.d.mts +0 -215
  72. package/dist/anthropic/index.mjs +0 -164
  73. package/dist/anthropic/index.mjs.map +0 -1
  74. package/dist/edge/index.d.mts +0 -160
  75. package/dist/edge/index.mjs +0 -1049
  76. package/dist/edge/index.mjs.map +0 -1
  77. package/dist/index.d.mts +0 -219
  78. package/dist/index.mjs +0 -960
  79. package/dist/index.mjs.map +0 -1
  80. package/src/google-vertex-provider-node.ts +0 -49
package/CHANGELOG.md CHANGED
@@ -1,5 +1,951 @@
1
1
  # @ai-sdk/google-vertex
2
2
 
3
+ ## 5.0.0-beta.112
4
+
5
+ ### Patch Changes
6
+
7
+ - 0416e3e: feat (video): add first-class `generateAudio` call option
8
+ - Updated dependencies [0416e3e]
9
+ - @ai-sdk/provider@4.0.0-beta.20
10
+ - @ai-sdk/anthropic@4.0.0-beta.68
11
+ - @ai-sdk/google@4.0.0-beta.85
12
+ - @ai-sdk/openai-compatible@3.0.0-beta.58
13
+ - @ai-sdk/provider-utils@5.0.0-beta.50
14
+
15
+ ## 5.0.0-beta.111
16
+
17
+ ### Patch Changes
18
+
19
+ - 427a596: Route `gemini-embedding-2` / `gemini-embedding-2-preview` to the `:embedContent` endpoint, which is the only one those models support (`:predict` returns 400 FAILED_PRECONDITION)
20
+
21
+ ## 5.0.0-beta.110
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [947cdab]
26
+ - @ai-sdk/google@4.0.0-beta.84
27
+
28
+ ## 5.0.0-beta.109
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [bdb9ea1]
33
+ - @ai-sdk/google@4.0.0-beta.83
34
+
35
+ ## 5.0.0-beta.108
36
+
37
+ ### Patch Changes
38
+
39
+ - b8396f0: trigger initial beta release
40
+ - Updated dependencies [b8396f0]
41
+ - @ai-sdk/anthropic@4.0.0-beta.67
42
+ - @ai-sdk/google@4.0.0-beta.82
43
+ - @ai-sdk/openai-compatible@3.0.0-beta.57
44
+ - @ai-sdk/provider-utils@5.0.0-beta.49
45
+ - @ai-sdk/provider@4.0.0-beta.19
46
+
47
+ ## 5.0.0-canary.107
48
+
49
+ ### Patch Changes
50
+
51
+ - Updated dependencies [5878b40]
52
+ - Updated dependencies [aeda373]
53
+ - Updated dependencies [375fdd7]
54
+ - Updated dependencies [b4507d5]
55
+ - @ai-sdk/google@4.0.0-canary.81
56
+ - @ai-sdk/provider-utils@5.0.0-canary.48
57
+ - @ai-sdk/anthropic@4.0.0-canary.66
58
+ - @ai-sdk/openai-compatible@3.0.0-canary.56
59
+
60
+ ## 5.0.0-canary.106
61
+
62
+ ### Patch Changes
63
+
64
+ - Updated dependencies [bae5e2b]
65
+ - @ai-sdk/provider-utils@5.0.0-canary.47
66
+ - @ai-sdk/anthropic@4.0.0-canary.65
67
+ - @ai-sdk/google@4.0.0-canary.80
68
+ - @ai-sdk/openai-compatible@3.0.0-canary.55
69
+
70
+ ## 5.0.0-canary.105
71
+
72
+ ### Patch Changes
73
+
74
+ - 6dd2fd7: feat(provider/google-vertex): add Google Cloud Speech-to-Text transcription model support
75
+ - 6b4d325: feat(provider/anthropic): add support for `claude-fable-5` and the `fallbacks` API parameter
76
+ - Updated dependencies [6b4d325]
77
+ - @ai-sdk/anthropic@4.0.0-canary.64
78
+
79
+ ## 5.0.0-canary.104
80
+
81
+ ### Patch Changes
82
+
83
+ - Updated dependencies [ce769dd]
84
+ - @ai-sdk/provider@4.0.0-canary.18
85
+ - @ai-sdk/google@4.0.0-canary.79
86
+ - @ai-sdk/anthropic@4.0.0-canary.63
87
+ - @ai-sdk/openai-compatible@3.0.0-canary.54
88
+ - @ai-sdk/provider-utils@5.0.0-canary.46
89
+
90
+ ## 5.0.0-canary.103
91
+
92
+ ### Patch Changes
93
+
94
+ - 2ce3c65: feat(provider/google-vertex): add Gemini text-to-speech (speech) model support
95
+ - Updated dependencies [2ce3c65]
96
+ - @ai-sdk/google@4.0.0-canary.78
97
+
98
+ ## 5.0.0-canary.102
99
+
100
+ ### Patch Changes
101
+
102
+ - Updated dependencies [ee798eb]
103
+ - Updated dependencies [daf6637]
104
+ - @ai-sdk/provider-utils@5.0.0-canary.45
105
+ - @ai-sdk/anthropic@4.0.0-canary.62
106
+ - @ai-sdk/google@4.0.0-canary.77
107
+ - @ai-sdk/openai-compatible@3.0.0-canary.53
108
+
109
+ ## 5.0.0-canary.101
110
+
111
+ ### Patch Changes
112
+
113
+ - ec2e752: fix(google-vertex): support regional endpoints for vertex MaaS
114
+
115
+ ## 5.0.0-canary.100
116
+
117
+ ### Patch Changes
118
+
119
+ - b70f6ec: fix(google-vertex): support for eu/us multi region gemini endpoints
120
+
121
+ ## 5.0.0-canary.99
122
+
123
+ ### Patch Changes
124
+
125
+ - bb93832: fix(vertex-anthropic): support eu/us multi-region anthropic endpoints
126
+ - Updated dependencies [b563707]
127
+ - @ai-sdk/google@4.0.0-canary.76
128
+
129
+ ## 5.0.0-canary.98
130
+
131
+ ### Patch Changes
132
+
133
+ - 00a0f36: feat(google, google-vertex): added `gemini-embedding-2`, `deep-research-max-preview-04-2026` and `deep-research-preview-04-2026`
134
+ - Updated dependencies [00a0f36]
135
+ - @ai-sdk/google@4.0.0-canary.75
136
+
137
+ ## 5.0.0-canary.97
138
+
139
+ ### Patch Changes
140
+
141
+ - e02f041: feat(provider/anthropic): add support for `claude-opus-4-8`
142
+ - Updated dependencies [e02f041]
143
+ - @ai-sdk/anthropic@4.0.0-canary.61
144
+
145
+ ## 5.0.0-canary.96
146
+
147
+ ### Patch Changes
148
+
149
+ - Updated dependencies [a8d70b6]
150
+ - @ai-sdk/google@4.0.0-canary.74
151
+
152
+ ## 5.0.0-canary.95
153
+
154
+ ### Patch Changes
155
+
156
+ - Updated dependencies [6c93e36]
157
+ - Updated dependencies [f617ac2]
158
+ - @ai-sdk/provider-utils@5.0.0-canary.44
159
+ - @ai-sdk/anthropic@4.0.0-canary.60
160
+ - @ai-sdk/google@4.0.0-canary.73
161
+ - @ai-sdk/openai-compatible@3.0.0-canary.52
162
+
163
+ ## 5.0.0-canary.94
164
+
165
+ ### Patch Changes
166
+
167
+ - Updated dependencies [9f1e1ba]
168
+ - @ai-sdk/openai-compatible@3.0.0-canary.51
169
+
170
+ ## 5.0.0-canary.93
171
+
172
+ ### Patch Changes
173
+
174
+ - Updated dependencies [648705c]
175
+ - @ai-sdk/anthropic@4.0.0-canary.59
176
+
177
+ ## 5.0.0-canary.92
178
+
179
+ ### Patch Changes
180
+
181
+ - Updated dependencies [acdbf84]
182
+ - @ai-sdk/anthropic@4.0.0-canary.58
183
+
184
+ ## 5.0.0-canary.91
185
+
186
+ ### Patch Changes
187
+
188
+ - Updated dependencies [b71c0d7]
189
+ - @ai-sdk/google@4.0.0-canary.72
190
+
191
+ ## 5.0.0-canary.90
192
+
193
+ ### Patch Changes
194
+
195
+ - Updated dependencies [045d2e8]
196
+ - @ai-sdk/google@4.0.0-canary.71
197
+
198
+ ## 5.0.0-canary.89
199
+
200
+ ### Patch Changes
201
+
202
+ - Updated dependencies [aeea161]
203
+ - @ai-sdk/google@4.0.0-canary.70
204
+
205
+ ## 5.0.0-canary.88
206
+
207
+ ### Patch Changes
208
+
209
+ - Updated dependencies [7f04802]
210
+ - @ai-sdk/google@4.0.0-canary.69
211
+
212
+ ## 5.0.0-canary.87
213
+
214
+ ### Patch Changes
215
+
216
+ - 546cefe: feat(provider/google): add `gemini-3.5-flash`
217
+ - Updated dependencies [a2609df]
218
+ - Updated dependencies [546cefe]
219
+ - @ai-sdk/google@4.0.0-canary.68
220
+
221
+ ## 5.0.0-canary.86
222
+
223
+ ### Patch Changes
224
+
225
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
226
+ - Updated dependencies [7fc6bd6]
227
+ - @ai-sdk/anthropic@4.0.0-canary.57
228
+ - @ai-sdk/google@4.0.0-canary.67
229
+ - @ai-sdk/openai-compatible@3.0.0-canary.50
230
+ - @ai-sdk/provider-utils@5.0.0-canary.43
231
+ - @ai-sdk/provider@4.0.0-canary.17
232
+
233
+ ## 5.0.0-canary.85
234
+
235
+ ### Patch Changes
236
+
237
+ - 42bdfa4: fix(google-vertex): propagate project-id set in provider instance creation
238
+ - Updated dependencies [a6617c5]
239
+ - @ai-sdk/provider-utils@5.0.0-canary.42
240
+ - @ai-sdk/anthropic@4.0.0-canary.56
241
+ - @ai-sdk/google@4.0.0-canary.66
242
+ - @ai-sdk/openai-compatible@3.0.0-canary.49
243
+
244
+ ## 5.0.0-canary.84
245
+
246
+ ### Patch Changes
247
+
248
+ - Updated dependencies [4e825f3]
249
+ - @ai-sdk/google@4.0.0-canary.65
250
+
251
+ ## 5.0.0-canary.83
252
+
253
+ ### Patch Changes
254
+
255
+ - Updated dependencies [41da50c]
256
+ - @ai-sdk/google@4.0.0-canary.64
257
+
258
+ ## 5.0.0-canary.82
259
+
260
+ ### Patch Changes
261
+
262
+ - Updated dependencies [a464505]
263
+ - Updated dependencies [28dfa06]
264
+ - Updated dependencies [e93fa91]
265
+ - @ai-sdk/anthropic@4.0.0-canary.55
266
+ - @ai-sdk/provider-utils@5.0.0-canary.41
267
+ - @ai-sdk/google@4.0.0-canary.63
268
+ - @ai-sdk/openai-compatible@3.0.0-canary.48
269
+
270
+ ## 5.0.0-canary.81
271
+
272
+ ### Patch Changes
273
+
274
+ - Updated dependencies [a7de9c9]
275
+ - @ai-sdk/provider-utils@5.0.0-canary.40
276
+ - @ai-sdk/anthropic@4.0.0-canary.54
277
+ - @ai-sdk/google@4.0.0-canary.62
278
+ - @ai-sdk/openai-compatible@3.0.0-canary.47
279
+
280
+ ## 5.0.0-canary.80
281
+
282
+ ### Patch Changes
283
+
284
+ - Updated dependencies [105f95b]
285
+ - @ai-sdk/provider-utils@5.0.0-canary.39
286
+ - @ai-sdk/anthropic@4.0.0-canary.53
287
+ - @ai-sdk/google@4.0.0-canary.61
288
+ - @ai-sdk/openai-compatible@3.0.0-canary.46
289
+
290
+ ## 5.0.0-canary.79
291
+
292
+ ### Patch Changes
293
+
294
+ - Updated dependencies [8018480]
295
+ - Updated dependencies [6a26901]
296
+ - @ai-sdk/anthropic@4.0.0-canary.52
297
+ - @ai-sdk/google@4.0.0-canary.60
298
+
299
+ ## 5.0.0-canary.78
300
+
301
+ ### Patch Changes
302
+
303
+ - Updated dependencies [ca446f8]
304
+ - Updated dependencies [db394ab]
305
+ - @ai-sdk/provider-utils@5.0.0-canary.38
306
+ - @ai-sdk/google@4.0.0-canary.59
307
+ - @ai-sdk/anthropic@4.0.0-canary.51
308
+ - @ai-sdk/openai-compatible@3.0.0-canary.45
309
+
310
+ ## 5.0.0-canary.77
311
+
312
+ ### Patch Changes
313
+
314
+ - Updated dependencies [d848405]
315
+ - @ai-sdk/provider-utils@5.0.0-canary.37
316
+ - @ai-sdk/anthropic@4.0.0-canary.50
317
+ - @ai-sdk/google@4.0.0-canary.58
318
+ - @ai-sdk/openai-compatible@3.0.0-canary.44
319
+
320
+ ## 5.0.0-canary.76
321
+
322
+ ### Patch Changes
323
+
324
+ - Updated dependencies [ca39020]
325
+ - @ai-sdk/provider-utils@5.0.0-canary.36
326
+ - @ai-sdk/anthropic@4.0.0-canary.49
327
+ - @ai-sdk/google@4.0.0-canary.57
328
+ - @ai-sdk/openai-compatible@3.0.0-canary.43
329
+
330
+ ## 5.0.0-canary.75
331
+
332
+ ### Patch Changes
333
+
334
+ - Updated dependencies [f634bac]
335
+ - @ai-sdk/provider-utils@5.0.0-canary.35
336
+ - @ai-sdk/anthropic@4.0.0-canary.48
337
+ - @ai-sdk/google@4.0.0-canary.56
338
+ - @ai-sdk/openai-compatible@3.0.0-canary.42
339
+
340
+ ## 5.0.0-canary.74
341
+
342
+ ### Patch Changes
343
+
344
+ - Updated dependencies [2610e84]
345
+ - Updated dependencies [ebbb0f2]
346
+ - Updated dependencies [69254e0]
347
+ - Updated dependencies [3015fc3]
348
+ - @ai-sdk/anthropic@4.0.0-canary.47
349
+ - @ai-sdk/google@4.0.0-canary.55
350
+ - @ai-sdk/provider-utils@5.0.0-canary.34
351
+ - @ai-sdk/openai-compatible@3.0.0-canary.41
352
+
353
+ ## 5.0.0-canary.73
354
+
355
+ ### Patch Changes
356
+
357
+ - Updated dependencies [b04e23e]
358
+ - @ai-sdk/google@4.0.0-canary.54
359
+
360
+ ## 5.0.0-canary.72
361
+
362
+ ### Patch Changes
363
+
364
+ - Updated dependencies [e5c4f40]
365
+ - @ai-sdk/anthropic@4.0.0-canary.46
366
+
367
+ ## 5.0.0-canary.71
368
+
369
+ ### Patch Changes
370
+
371
+ - Updated dependencies [2427d88]
372
+ - @ai-sdk/provider-utils@5.0.0-canary.33
373
+ - @ai-sdk/anthropic@4.0.0-canary.45
374
+ - @ai-sdk/google@4.0.0-canary.53
375
+ - @ai-sdk/openai-compatible@3.0.0-canary.40
376
+
377
+ ## 5.0.0-canary.70
378
+
379
+ ### Patch Changes
380
+
381
+ - Updated dependencies [cfca634]
382
+ - @ai-sdk/google@4.0.0-canary.52
383
+
384
+ ## 5.0.0-canary.69
385
+
386
+ ### Patch Changes
387
+
388
+ - Updated dependencies [5463d0d]
389
+ - @ai-sdk/provider-utils@5.0.0-canary.32
390
+ - @ai-sdk/provider@4.0.0-canary.16
391
+ - @ai-sdk/anthropic@4.0.0-canary.44
392
+ - @ai-sdk/google@4.0.0-canary.51
393
+ - @ai-sdk/openai-compatible@3.0.0-canary.39
394
+
395
+ ## 5.0.0-canary.68
396
+
397
+ ### Patch Changes
398
+
399
+ - Updated dependencies [cd9c311]
400
+ - @ai-sdk/openai-compatible@3.0.0-canary.38
401
+
402
+ ## 5.0.0-canary.67
403
+
404
+ ### Patch Changes
405
+
406
+ - 0c4c275: trigger initial canary release
407
+ - Updated dependencies [0c4c275]
408
+ - @ai-sdk/openai-compatible@3.0.0-canary.37
409
+ - @ai-sdk/provider-utils@5.0.0-canary.31
410
+ - @ai-sdk/anthropic@4.0.0-canary.43
411
+ - @ai-sdk/provider@4.0.0-canary.15
412
+ - @ai-sdk/google@4.0.0-canary.50
413
+
414
+ ## 5.0.0-beta.66
415
+
416
+ ### Patch Changes
417
+
418
+ - 1f4058f: fix(vertex): use correct import for token generator
419
+
420
+ ## 5.0.0-beta.65
421
+
422
+ ### Patch Changes
423
+
424
+ - 96d056d: fix(provider/google-vertex): avoid recreating Node GoogleAuth clients for repeated requests
425
+
426
+ Create Google auth token generators per provider instance instead of using a
427
+ module-level shared `GoogleAuth` cache. This avoids unnecessary `GoogleAuth`
428
+ recreation when `googleAuthOptions` are omitted or when multiple provider
429
+ instances use equivalent auth settings.
430
+
431
+ ## 5.0.0-beta.64
432
+
433
+ ### Patch Changes
434
+
435
+ - e59c955: feat(vertex): add grok models to vertex provider
436
+ - Updated dependencies [e59c955]
437
+ - @ai-sdk/openai-compatible@3.0.0-beta.36
438
+
439
+ ## 5.0.0-beta.63
440
+
441
+ ### Major Changes
442
+
443
+ - 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
444
+
445
+ For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
446
+
447
+ ### Patch Changes
448
+
449
+ - 780e563: feat(provider/google-vertex): allow overriding Vertex Anthropic auth token generation
450
+ - Updated dependencies [08d2129]
451
+ - Updated dependencies [04e9009]
452
+ - @ai-sdk/provider-utils@5.0.0-beta.30
453
+ - @ai-sdk/openai-compatible@3.0.0-beta.35
454
+ - @ai-sdk/anthropic@4.0.0-beta.42
455
+ - @ai-sdk/google@4.0.0-beta.49
456
+
457
+ ## 5.0.0-beta.62
458
+
459
+ ### Patch Changes
460
+
461
+ - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
462
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
463
+ - Updated dependencies [9bd6512]
464
+ - Updated dependencies [258c093]
465
+ - Updated dependencies [b6783da]
466
+ - @ai-sdk/openai-compatible@3.0.0-beta.34
467
+ - @ai-sdk/provider-utils@5.0.0-beta.29
468
+ - @ai-sdk/anthropic@4.0.0-beta.41
469
+ - @ai-sdk/provider@4.0.0-beta.14
470
+ - @ai-sdk/google@4.0.0-beta.48
471
+
472
+ ## 5.0.0-beta.61
473
+
474
+ ### Patch Changes
475
+
476
+ - Updated dependencies [c012d57]
477
+ - @ai-sdk/anthropic@4.0.0-beta.40
478
+
479
+ ## 5.0.0-beta.60
480
+
481
+ ### Patch Changes
482
+
483
+ - 9f0e36c: trigger release for all packages after provenance setup
484
+ - Updated dependencies [9f0e36c]
485
+ - @ai-sdk/anthropic@4.0.0-beta.39
486
+ - @ai-sdk/google@4.0.0-beta.47
487
+ - @ai-sdk/openai-compatible@3.0.0-beta.33
488
+ - @ai-sdk/provider@4.0.0-beta.13
489
+ - @ai-sdk/provider-utils@5.0.0-beta.28
490
+
491
+ ## 5.0.0-beta.59
492
+
493
+ ### Patch Changes
494
+
495
+ - 87d1723: chore(anthropic): remove unnecessary messages affix from Anthropic symbols and files
496
+ - Updated dependencies [ab81968]
497
+ - Updated dependencies [785fe16]
498
+ - Updated dependencies [67df0a0]
499
+ - Updated dependencies [87d1723]
500
+ - Updated dependencies [befb78c]
501
+ - Updated dependencies [0458559]
502
+ - Updated dependencies [58a2ad7]
503
+ - Updated dependencies [5852c0a]
504
+ - Updated dependencies [84f36e0]
505
+ - Updated dependencies [fc92055]
506
+ - @ai-sdk/openai-compatible@3.0.0-beta.32
507
+ - @ai-sdk/provider-utils@5.0.0-beta.27
508
+ - @ai-sdk/anthropic@4.0.0-beta.38
509
+ - @ai-sdk/google@4.0.0-beta.46
510
+
511
+ ## 5.0.0-beta.58
512
+
513
+ ### Patch Changes
514
+
515
+ - a3757d7: chore(provider/google): remove useless GenerativeAI affix from types and classes for consistency
516
+ - Updated dependencies [a3757d7]
517
+ - Updated dependencies [2e98477]
518
+ - Updated dependencies [bfb756d]
519
+ - @ai-sdk/google@4.0.0-beta.45
520
+ - @ai-sdk/provider-utils@5.0.0-beta.26
521
+ - @ai-sdk/openai-compatible@3.0.0-beta.31
522
+ - @ai-sdk/anthropic@4.0.0-beta.37
523
+
524
+ ## 5.0.0-beta.57
525
+
526
+ ### Patch Changes
527
+
528
+ - Updated dependencies [eea8d98]
529
+ - @ai-sdk/provider-utils@5.0.0-beta.25
530
+ - @ai-sdk/anthropic@4.0.0-beta.36
531
+ - @ai-sdk/google@4.0.0-beta.44
532
+ - @ai-sdk/openai-compatible@3.0.0-beta.30
533
+
534
+ ## 5.0.0-beta.56
535
+
536
+ ### Patch Changes
537
+
538
+ - Updated dependencies [f807e45]
539
+ - @ai-sdk/provider-utils@5.0.0-beta.24
540
+ - @ai-sdk/openai-compatible@3.0.0-beta.29
541
+ - @ai-sdk/anthropic@4.0.0-beta.35
542
+ - @ai-sdk/google@4.0.0-beta.43
543
+
544
+ ## 5.0.0-beta.55
545
+
546
+ ### Patch Changes
547
+
548
+ - Updated dependencies [350ea38]
549
+ - @ai-sdk/provider-utils@5.0.0-beta.23
550
+ - @ai-sdk/anthropic@4.0.0-beta.34
551
+ - @ai-sdk/google@4.0.0-beta.42
552
+ - @ai-sdk/openai-compatible@3.0.0-beta.28
553
+
554
+ ## 5.0.0-beta.54
555
+
556
+ ### Major Changes
557
+
558
+ - 832f86f: fix(anthropic): remove cacheCreationInputTokens from providerMetadata
559
+
560
+ ### Patch Changes
561
+
562
+ - Updated dependencies [832f86f]
563
+ - @ai-sdk/anthropic@4.0.0-beta.33
564
+
565
+ ## 5.0.0-beta.53
566
+
567
+ ### Patch Changes
568
+
569
+ - Updated dependencies [ad0b376]
570
+ - @ai-sdk/anthropic@4.0.0-beta.32
571
+
572
+ ## 5.0.0-beta.52
573
+
574
+ ### Patch Changes
575
+
576
+ - Updated dependencies [083947b]
577
+ - @ai-sdk/provider-utils@5.0.0-beta.22
578
+ - @ai-sdk/anthropic@4.0.0-beta.31
579
+ - @ai-sdk/google@4.0.0-beta.41
580
+ - @ai-sdk/openai-compatible@3.0.0-beta.27
581
+
582
+ ## 5.0.0-beta.51
583
+
584
+ ### Patch Changes
585
+
586
+ - 0d8f107: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancements
587
+ - Updated dependencies [0d8f107]
588
+ - @ai-sdk/anthropic@4.0.0-beta.30
589
+
590
+ ## 5.0.0-beta.50
591
+
592
+ ### Patch Changes
593
+
594
+ - 55f0938: chore(provider/google): update available models
595
+ - Updated dependencies [55f0938]
596
+ - @ai-sdk/google@4.0.0-beta.40
597
+
598
+ ## 5.0.0-beta.49
599
+
600
+ ### Patch Changes
601
+
602
+ - Updated dependencies [add1126]
603
+ - @ai-sdk/provider-utils@5.0.0-beta.21
604
+ - @ai-sdk/anthropic@4.0.0-beta.29
605
+ - @ai-sdk/google@4.0.0-beta.39
606
+ - @ai-sdk/openai-compatible@3.0.0-beta.26
607
+
608
+ ## 5.0.0-beta.48
609
+
610
+ ### Patch Changes
611
+
612
+ - b3976a2: Add workflow serialization support to all provider models.
613
+
614
+ **`@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.
615
+
616
+ **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.
617
+
618
+ All provider model classes now include `WORKFLOW_SERIALIZE` and `WORKFLOW_DESERIALIZE` static methods, enabling them to cross workflow step boundaries without serialization errors.
619
+
620
+ - Updated dependencies [b3976a2]
621
+ - Updated dependencies [ff5eba1]
622
+ - @ai-sdk/provider-utils@5.0.0-beta.20
623
+ - @ai-sdk/anthropic@4.0.0-beta.28
624
+ - @ai-sdk/google@4.0.0-beta.38
625
+ - @ai-sdk/openai-compatible@3.0.0-beta.25
626
+ - @ai-sdk/provider@4.0.0-beta.12
627
+
628
+ ## 5.0.0-beta.47
629
+
630
+ ### Major Changes
631
+
632
+ - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
633
+
634
+ ### Patch Changes
635
+
636
+ - Updated dependencies [ef992f8]
637
+ - @ai-sdk/anthropic@4.0.0-beta.27
638
+ - @ai-sdk/google@4.0.0-beta.37
639
+ - @ai-sdk/openai-compatible@3.0.0-beta.24
640
+ - @ai-sdk/provider@4.0.0-beta.11
641
+ - @ai-sdk/provider-utils@5.0.0-beta.19
642
+
643
+ ## 5.0.0-beta.46
644
+
645
+ ### Patch Changes
646
+
647
+ - Updated dependencies [9a0a618]
648
+ - @ai-sdk/google@4.0.0-beta.36
649
+
650
+ ## 5.0.0-beta.45
651
+
652
+ ### Patch Changes
653
+
654
+ - 90e2d8a: chore: fix unused vars not being flagged by our lint tooling
655
+ - Updated dependencies [90e2d8a]
656
+ - @ai-sdk/openai-compatible@3.0.0-beta.23
657
+ - @ai-sdk/provider-utils@5.0.0-beta.18
658
+ - @ai-sdk/anthropic@4.0.0-beta.26
659
+ - @ai-sdk/google@4.0.0-beta.35
660
+
661
+ ## 5.0.0-beta.44
662
+
663
+ ### Patch Changes
664
+
665
+ - Updated dependencies [5b7e7c2]
666
+ - @ai-sdk/google@4.0.0-beta.34
667
+
668
+ ## 5.0.0-beta.43
669
+
670
+ ### Patch Changes
671
+
672
+ - Updated dependencies [09bd27b]
673
+ - @ai-sdk/anthropic@4.0.0-beta.25
674
+
675
+ ## 5.0.0-beta.42
676
+
677
+ ### Patch Changes
678
+
679
+ - Updated dependencies [3ae1786]
680
+ - @ai-sdk/provider-utils@5.0.0-beta.17
681
+ - @ai-sdk/anthropic@4.0.0-beta.24
682
+ - @ai-sdk/google@4.0.0-beta.33
683
+ - @ai-sdk/openai-compatible@3.0.0-beta.22
684
+
685
+ ## 5.0.0-beta.41
686
+
687
+ ### Patch Changes
688
+
689
+ - Updated dependencies [5036db8]
690
+ - @ai-sdk/google@4.0.0-beta.32
691
+
692
+ ## 5.0.0-beta.40
693
+
694
+ ### Patch Changes
695
+
696
+ - Updated dependencies [176466a]
697
+ - @ai-sdk/provider@4.0.0-beta.10
698
+ - @ai-sdk/anthropic@4.0.0-beta.23
699
+ - @ai-sdk/google@4.0.0-beta.31
700
+ - @ai-sdk/openai-compatible@3.0.0-beta.21
701
+ - @ai-sdk/provider-utils@5.0.0-beta.16
702
+
703
+ ## 5.0.0-beta.39
704
+
705
+ ### Patch Changes
706
+
707
+ - Updated dependencies [e311194]
708
+ - @ai-sdk/provider@4.0.0-beta.9
709
+ - @ai-sdk/anthropic@4.0.0-beta.22
710
+ - @ai-sdk/google@4.0.0-beta.30
711
+ - @ai-sdk/openai-compatible@3.0.0-beta.20
712
+ - @ai-sdk/provider-utils@5.0.0-beta.15
713
+
714
+ ## 5.0.0-beta.38
715
+
716
+ ### Patch Changes
717
+
718
+ - Updated dependencies [34bd95d]
719
+ - Updated dependencies [008271d]
720
+ - @ai-sdk/anthropic@4.0.0-beta.21
721
+ - @ai-sdk/provider@4.0.0-beta.8
722
+ - @ai-sdk/openai-compatible@3.0.0-beta.19
723
+ - @ai-sdk/google@4.0.0-beta.29
724
+ - @ai-sdk/provider-utils@5.0.0-beta.14
725
+
726
+ ## 5.0.0-beta.37
727
+
728
+ ### Patch Changes
729
+
730
+ - Updated dependencies [b0c2869]
731
+ - Updated dependencies [7e26e81]
732
+ - @ai-sdk/provider-utils@5.0.0-beta.13
733
+ - @ai-sdk/anthropic@4.0.0-beta.20
734
+ - @ai-sdk/google@4.0.0-beta.28
735
+ - @ai-sdk/openai-compatible@3.0.0-beta.18
736
+
737
+ ## 5.0.0-beta.36
738
+
739
+ ### Patch Changes
740
+
741
+ - Updated dependencies [816ff67]
742
+ - @ai-sdk/openai-compatible@3.0.0-beta.17
743
+
744
+ ## 5.0.0-beta.35
745
+
746
+ ### Patch Changes
747
+
748
+ - Updated dependencies [46d1149]
749
+ - @ai-sdk/provider-utils@5.0.0-beta.12
750
+ - @ai-sdk/google@4.0.0-beta.27
751
+ - @ai-sdk/anthropic@4.0.0-beta.19
752
+ - @ai-sdk/openai-compatible@3.0.0-beta.16
753
+
754
+ ## 5.0.0-beta.34
755
+
756
+ ### Patch Changes
757
+
758
+ - Updated dependencies [a05109d]
759
+ - @ai-sdk/google@4.0.0-beta.26
760
+
761
+ ## 5.0.0-beta.33
762
+
763
+ ### Patch Changes
764
+
765
+ - Updated dependencies [6fd51c0]
766
+ - @ai-sdk/provider-utils@5.0.0-beta.11
767
+ - @ai-sdk/provider@4.0.0-beta.7
768
+ - @ai-sdk/openai-compatible@3.0.0-beta.15
769
+ - @ai-sdk/anthropic@4.0.0-beta.18
770
+ - @ai-sdk/google@4.0.0-beta.25
771
+
772
+ ## 5.0.0-beta.32
773
+
774
+ ### Patch Changes
775
+
776
+ - Updated dependencies [55db546]
777
+ - @ai-sdk/google@4.0.0-beta.24
778
+
779
+ ## 5.0.0-beta.31
780
+
781
+ ### Patch Changes
782
+
783
+ - Updated dependencies [c29a26f]
784
+ - @ai-sdk/openai-compatible@3.0.0-beta.14
785
+ - @ai-sdk/provider-utils@5.0.0-beta.10
786
+ - @ai-sdk/anthropic@4.0.0-beta.17
787
+ - @ai-sdk/provider@4.0.0-beta.6
788
+ - @ai-sdk/google@4.0.0-beta.23
789
+
790
+ ## 5.0.0-beta.30
791
+
792
+ ### Patch Changes
793
+
794
+ - 38fc777: Add AI Gateway hint to provider READMEs
795
+ - Updated dependencies [38fc777]
796
+ - @ai-sdk/anthropic@4.0.0-beta.16
797
+ - @ai-sdk/google@4.0.0-beta.22
798
+ - @ai-sdk/openai-compatible@3.0.0-beta.13
799
+
800
+ ## 5.0.0-beta.29
801
+
802
+ ### Patch Changes
803
+
804
+ - Updated dependencies [f57c702]
805
+ - @ai-sdk/anthropic@4.0.0-beta.15
806
+
807
+ ## 5.0.0-beta.28
808
+
809
+ ### Patch Changes
810
+
811
+ - Updated dependencies [2e17091]
812
+ - @ai-sdk/provider-utils@5.0.0-beta.9
813
+ - @ai-sdk/anthropic@4.0.0-beta.14
814
+ - @ai-sdk/google@4.0.0-beta.21
815
+ - @ai-sdk/openai-compatible@3.0.0-beta.12
816
+
817
+ ## 5.0.0-beta.27
818
+
819
+ ### Patch Changes
820
+
821
+ - Updated dependencies [986c6fd]
822
+ - Updated dependencies [493295c]
823
+ - @ai-sdk/provider-utils@5.0.0-beta.8
824
+ - @ai-sdk/anthropic@4.0.0-beta.13
825
+ - @ai-sdk/google@4.0.0-beta.20
826
+ - @ai-sdk/openai-compatible@3.0.0-beta.11
827
+
828
+ ## 5.0.0-beta.26
829
+
830
+ ### Patch Changes
831
+
832
+ - Updated dependencies [01fa606]
833
+ - @ai-sdk/google@4.0.0-beta.19
834
+
835
+ ## 5.0.0-beta.25
836
+
837
+ ### Patch Changes
838
+
839
+ - a34b997: feat (provider/google-vertex): add support for maas models
840
+
841
+ ## 5.0.0-beta.24
842
+
843
+ ### Patch Changes
844
+
845
+ - Updated dependencies [9715ec7]
846
+ - @ai-sdk/google@4.0.0-beta.18
847
+
848
+ ## 5.0.0-beta.23
849
+
850
+ ### Patch Changes
851
+
852
+ - Updated dependencies [1f509d4]
853
+ - @ai-sdk/provider-utils@5.0.0-beta.7
854
+ - @ai-sdk/provider@4.0.0-beta.5
855
+ - @ai-sdk/anthropic@4.0.0-beta.12
856
+ - @ai-sdk/google@4.0.0-beta.17
857
+
858
+ ## 5.0.0-beta.22
859
+
860
+ ### Patch Changes
861
+
862
+ - Updated dependencies [0ee8aec]
863
+ - @ai-sdk/anthropic@4.0.0-beta.11
864
+
865
+ ## 5.0.0-beta.21
866
+
867
+ ### Patch Changes
868
+
869
+ - Updated dependencies [6190649]
870
+ - @ai-sdk/google@4.0.0-beta.16
871
+
872
+ ## 5.0.0-beta.20
873
+
874
+ ### Patch Changes
875
+
876
+ - Updated dependencies [18c1970]
877
+ - @ai-sdk/google@4.0.0-beta.15
878
+
879
+ ## 5.0.0-beta.19
880
+
881
+ ### Patch Changes
882
+
883
+ - Updated dependencies [3887c70]
884
+ - @ai-sdk/provider-utils@5.0.0-beta.6
885
+ - @ai-sdk/anthropic@4.0.0-beta.10
886
+ - @ai-sdk/provider@4.0.0-beta.4
887
+ - @ai-sdk/google@4.0.0-beta.14
888
+
889
+ ## 5.0.0-beta.18
890
+
891
+ ### Patch Changes
892
+
893
+ - Updated dependencies [776b617]
894
+ - @ai-sdk/provider-utils@5.0.0-beta.5
895
+ - @ai-sdk/provider@4.0.0-beta.3
896
+ - @ai-sdk/anthropic@4.0.0-beta.9
897
+ - @ai-sdk/google@4.0.0-beta.13
898
+
899
+ ## 5.0.0-beta.17
900
+
901
+ ### Patch Changes
902
+
903
+ - Updated dependencies [61753c3]
904
+ - @ai-sdk/provider-utils@5.0.0-beta.4
905
+ - @ai-sdk/anthropic@4.0.0-beta.8
906
+ - @ai-sdk/google@4.0.0-beta.12
907
+
908
+ ## 5.0.0-beta.16
909
+
910
+ ### Patch Changes
911
+
912
+ - ebb02ea: feat(google-vertex): add the anthropic tool search tools
913
+
914
+ ## 5.0.0-beta.15
915
+
916
+ ### Patch Changes
917
+
918
+ - Updated dependencies [f7d4f01]
919
+ - @ai-sdk/provider-utils@5.0.0-beta.3
920
+ - @ai-sdk/provider@4.0.0-beta.2
921
+ - @ai-sdk/google@4.0.0-beta.11
922
+ - @ai-sdk/anthropic@4.0.0-beta.7
923
+
924
+ ## 5.0.0-beta.14
925
+
926
+ ### Patch Changes
927
+
928
+ - Updated dependencies [21d1ee3]
929
+ - @ai-sdk/anthropic@4.0.0-beta.6
930
+
931
+ ## 5.0.0-beta.13
932
+
933
+ ### Patch Changes
934
+
935
+ - Updated dependencies [5c2a5a2]
936
+ - @ai-sdk/provider@4.0.0-beta.1
937
+ - @ai-sdk/anthropic@4.0.0-beta.5
938
+ - @ai-sdk/google@4.0.0-beta.10
939
+ - @ai-sdk/provider-utils@5.0.0-beta.2
940
+
941
+ ## 5.0.0-beta.12
942
+
943
+ ### Patch Changes
944
+
945
+ - f05a40d: fix(vertex): throw warning when strict: true for vertexAnthropic
946
+ - Updated dependencies [f05a40d]
947
+ - @ai-sdk/anthropic@4.0.0-beta.4
948
+
3
949
  ## 5.0.0-beta.11
4
950
 
5
951
  ### Patch Changes
@@ -740,13 +1686,13 @@
740
1686
  Before
741
1687
 
742
1688
  ```ts
743
- model.textEmbeddingModel('my-model-id');
1689
+ model.textEmbeddingModel("my-model-id");
744
1690
  ```
745
1691
 
746
1692
  After
747
1693
 
748
1694
  ```ts
749
- model.embeddingModel('my-model-id');
1695
+ model.embeddingModel("my-model-id");
750
1696
  ```
751
1697
 
752
1698
  - 32a6c13: Add Google Maps grounding tool support for location-aware Gemini responses
@@ -1230,13 +2176,13 @@
1230
2176
  Before
1231
2177
 
1232
2178
  ```ts
1233
- model.textEmbeddingModel('my-model-id');
2179
+ model.textEmbeddingModel("my-model-id");
1234
2180
  ```
1235
2181
 
1236
2182
  After
1237
2183
 
1238
2184
  ```ts
1239
- model.embeddingModel('my-model-id');
2185
+ model.embeddingModel("my-model-id");
1240
2186
  ```
1241
2187
 
1242
2188
  - Updated dependencies [8d9e8ad]
@@ -2191,7 +3137,7 @@
2191
3137
 
2192
3138
  ```js
2193
3139
  await generateImage({
2194
- model: luma.image('photon-flash-1', {
3140
+ model: luma.image("photon-flash-1", {
2195
3141
  maxImagesPerCall: 5,
2196
3142
  pollIntervalMillis: 500,
2197
3143
  }),
@@ -2204,7 +3150,7 @@
2204
3150
 
2205
3151
  ```js
2206
3152
  await generateImage({
2207
- model: luma.image('photon-flash-1'),
3153
+ model: luma.image("photon-flash-1"),
2208
3154
  prompt,
2209
3155
  n: 10,
2210
3156
  maxImagesPerCall: 5,
@@ -2594,7 +3540,7 @@
2594
3540
 
2595
3541
  ```js
2596
3542
  await generateImage({
2597
- model: luma.image('photon-flash-1', {
3543
+ model: luma.image("photon-flash-1", {
2598
3544
  maxImagesPerCall: 5,
2599
3545
  pollIntervalMillis: 500,
2600
3546
  }),
@@ -2607,7 +3553,7 @@
2607
3553
 
2608
3554
  ```js
2609
3555
  await generateImage({
2610
- model: luma.image('photon-flash-1'),
3556
+ model: luma.image("photon-flash-1"),
2611
3557
  prompt,
2612
3558
  n: 10,
2613
3559
  maxImagesPerCall: 5,