@ai-sdk/provider-utils 3.0.0-canary.8 → 3.0.0

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 CHANGED
@@ -1,5 +1,411 @@
1
1
  # @ai-sdk/provider-utils
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 5d142ab: remove deprecated `CoreToolCall` and `CoreToolResult` types
8
+ - d5f588f: AI SDK 5
9
+ - e025824: refactoring (ai): restructure provider-defined tools
10
+ - 40acf9b: feat (ui): introduce ChatStore and ChatTransport
11
+ - 957b739: chore (provider-utils): rename TestServerCall.requestBody to requestBodyJson
12
+ - ea7a7c9: feat (ui): UI message metadata
13
+ - 41fa418: chore (provider-utils): return IdGenerator interface
14
+ - 71f938d: feat (ai): add output schema for tools
15
+
16
+ ### Patch Changes
17
+
18
+ - a571d6e: chore(provider-utils): move ToolResultContent to provider-utils
19
+ - e7fcc86: feat (ai): introduce dynamic tools
20
+ - 45c1ea2: refactoring: introduce FlexibleSchema
21
+ - 060370c: feat(provider-utils): add TestServerCall#requestCredentials
22
+ - 0571b98: chore (provider-utils): update eventsource-parser to 3.0.3
23
+ - 4fef487: feat: support for zod v4 for schema validation
24
+
25
+ All these methods now accept both a zod v4 and zod v3 schemas for validation:
26
+
27
+ - `generateObject()`
28
+ - `streamObject()`
29
+ - `generateText()`
30
+ - `experimental_useObject()` from `@ai-sdk/react`
31
+ - `streamUI()` from `@ai-sdk/rsc`
32
+
33
+ - 0c0c0b3: refactor (provider-utils): move `customAlphabet()` method from `nanoid` into codebase
34
+ - 8ba77a7: chore (provider-utils): use eventsource-parser library
35
+ - a166433: feat: add transcription with experimental_transcribe
36
+ - 9f95b35: refactor (provider-utils): copy relevant code from `secure-json-parse` into codebase
37
+ - 66962ed: fix(packages): export node10 compatible types
38
+ - 05d2819: feat: allow zod 4.x as peer dependency
39
+ - ac34802: Add clear object function to StructuredObject
40
+ - 63d791d: chore (utils): remove unused test helpers
41
+ - 87b828f: fix(provider-utils): fix SSE parser bug (CRLF)
42
+ - bfdca8d: feat (ai): add InferToolInput and InferToolOutput helpers
43
+ - 0ff02bb: chore(provider-utils): move over jsonSchema
44
+ - 39a4fab: fix (provider-utils): detect failed fetch in browser environments
45
+ - 57edfcb: Adds support for async zod validators
46
+ - faf8446: chore (provider-utils): switch to standard-schema
47
+ - d1a034f: feature: using Zod 4 for internal stuff
48
+ - 88a8ee5: fix (ai): support abort during retry waits
49
+ - 205077b: fix: improve Zod compatibility
50
+ - 28a5ed5: refactoring: move tools helper into provider-utils
51
+ - dd5fd43: feat (ai): support dynamic tools in Chat onToolCall
52
+ - 383cbfa: feat (ai): add isAborted to onFinish callback for ui message streams
53
+ - Updated dependencies [742b7be]
54
+ - Updated dependencies [7cddb72]
55
+ - Updated dependencies [ccce59b]
56
+ - Updated dependencies [e2b9e4b]
57
+ - Updated dependencies [95857aa]
58
+ - Updated dependencies [6f6bb89]
59
+ - Updated dependencies [dc714f3]
60
+ - Updated dependencies [b5da06a]
61
+ - Updated dependencies [d1a1aa1]
62
+ - Updated dependencies [63f9e9b]
63
+ - Updated dependencies [d5f588f]
64
+ - Updated dependencies [b6b43c7]
65
+ - Updated dependencies [48d257a]
66
+ - Updated dependencies [0d2c085]
67
+ - Updated dependencies [9222aeb]
68
+ - Updated dependencies [e2aceaf]
69
+ - Updated dependencies [411e483]
70
+ - Updated dependencies [7b3ae3f]
71
+ - Updated dependencies [a166433]
72
+ - Updated dependencies [26735b5]
73
+ - Updated dependencies [443d8ec]
74
+ - Updated dependencies [a8c8bd5]
75
+ - Updated dependencies [abf9a79]
76
+ - Updated dependencies [14c9410]
77
+ - Updated dependencies [e86be6f]
78
+ - Updated dependencies [9bf7291]
79
+ - Updated dependencies [2e13791]
80
+ - Updated dependencies [0d06df6]
81
+ - Updated dependencies [472524a]
82
+ - Updated dependencies [dd3ff01]
83
+ - Updated dependencies [d9c98f4]
84
+ - Updated dependencies [9301f86]
85
+ - Updated dependencies [0a87932]
86
+ - Updated dependencies [c4a2fec]
87
+ - Updated dependencies [79457bd]
88
+ - Updated dependencies [a3f768e]
89
+ - Updated dependencies [7435eb5]
90
+ - Updated dependencies [8aa9e20]
91
+ - Updated dependencies [4617fab]
92
+ - Updated dependencies [0054544]
93
+ - Updated dependencies [cb68df0]
94
+ - Updated dependencies [ad80501]
95
+ - Updated dependencies [68ecf2f]
96
+ - Updated dependencies [9e9c809]
97
+ - Updated dependencies [32831c6]
98
+ - Updated dependencies [6dc848c]
99
+ - Updated dependencies [6b98118]
100
+ - Updated dependencies [d0f9495]
101
+ - Updated dependencies [3f2f00c]
102
+ - Updated dependencies [7979f7f]
103
+ - Updated dependencies [44f4aba]
104
+ - Updated dependencies [9bd5ab5]
105
+ - Updated dependencies [7ea4132]
106
+ - Updated dependencies [5c56081]
107
+ - Updated dependencies [fd65bc6]
108
+ - Updated dependencies [023ba40]
109
+ - Updated dependencies [26535e0]
110
+ - Updated dependencies [e030615]
111
+ - Updated dependencies [5e57fae]
112
+ - Updated dependencies [393138b]
113
+ - Updated dependencies [c57e248]
114
+ - Updated dependencies [3795467]
115
+ - Updated dependencies [7182d14]
116
+ - Updated dependencies [c1e6647]
117
+ - Updated dependencies [1766ede]
118
+ - Updated dependencies [811dff3]
119
+ - Updated dependencies [f10304b]
120
+ - Updated dependencies [33f4a6a]
121
+ - Updated dependencies [27deb4d]
122
+ - Updated dependencies [c4df419]
123
+ - @ai-sdk/provider@2.0.0
124
+
125
+ ## 3.0.0-beta.10
126
+
127
+ ### Patch Changes
128
+
129
+ - 88a8ee5: fix (ai): support abort during retry waits
130
+
131
+ ## 3.0.0-beta.9
132
+
133
+ ### Patch Changes
134
+
135
+ - Updated dependencies [27deb4d]
136
+ - @ai-sdk/provider@2.0.0-beta.2
137
+
138
+ ## 3.0.0-beta.8
139
+
140
+ ### Patch Changes
141
+
142
+ - dd5fd43: feat (ai): support dynamic tools in Chat onToolCall
143
+
144
+ ## 3.0.0-beta.7
145
+
146
+ ### Patch Changes
147
+
148
+ - e7fcc86: feat (ai): introduce dynamic tools
149
+
150
+ ## 3.0.0-beta.6
151
+
152
+ ### Patch Changes
153
+
154
+ - ac34802: Add clear object function to StructuredObject
155
+
156
+ ## 3.0.0-beta.5
157
+
158
+ ### Patch Changes
159
+
160
+ - 57edfcb: Adds support for async zod validators
161
+ - 383cbfa: feat (ai): add isAborted to onFinish callback for ui message streams
162
+
163
+ ## 3.0.0-beta.4
164
+
165
+ ### Patch Changes
166
+
167
+ - 205077b: fix: improve Zod compatibility
168
+
169
+ ## 3.0.0-beta.3
170
+
171
+ ### Patch Changes
172
+
173
+ - 05d2819: feat: allow zod 4.x as peer dependency
174
+
175
+ ## 3.0.0-beta.2
176
+
177
+ ### Patch Changes
178
+
179
+ - 0571b98: chore (provider-utils): update eventsource-parser to 3.0.3
180
+ - 39a4fab: fix (provider-utils): detect failed fetch in browser environments
181
+ - d1a034f: feature: using Zod 4 for internal stuff
182
+
183
+ ## 3.0.0-beta.1
184
+
185
+ ### Major Changes
186
+
187
+ - e025824: refactoring (ai): restructure provider-defined tools
188
+ - 71f938d: feat (ai): add output schema for tools
189
+
190
+ ### Patch Changes
191
+
192
+ - 45c1ea2: refactoring: introduce FlexibleSchema
193
+ - bfdca8d: feat (ai): add InferToolInput and InferToolOutput helpers
194
+ - 28a5ed5: refactoring: move tools helper into provider-utils
195
+ - Updated dependencies [742b7be]
196
+ - Updated dependencies [7cddb72]
197
+ - Updated dependencies [ccce59b]
198
+ - Updated dependencies [e2b9e4b]
199
+ - Updated dependencies [0d06df6]
200
+ - Updated dependencies [472524a]
201
+ - Updated dependencies [dd3ff01]
202
+ - Updated dependencies [7435eb5]
203
+ - Updated dependencies [cb68df0]
204
+ - Updated dependencies [44f4aba]
205
+ - Updated dependencies [023ba40]
206
+ - Updated dependencies [5e57fae]
207
+ - @ai-sdk/provider@2.0.0-beta.1
208
+
209
+ ## 3.0.0-alpha.15
210
+
211
+ ### Patch Changes
212
+
213
+ - 8ba77a7: chore (provider-utils): use eventsource-parser library
214
+ - Updated dependencies [48d257a]
215
+ - @ai-sdk/provider@2.0.0-alpha.15
216
+
217
+ ## 3.0.0-alpha.14
218
+
219
+ ### Patch Changes
220
+
221
+ - Updated dependencies [b5da06a]
222
+ - Updated dependencies [63f9e9b]
223
+ - Updated dependencies [2e13791]
224
+ - @ai-sdk/provider@2.0.0-alpha.14
225
+
226
+ ## 3.0.0-alpha.13
227
+
228
+ ### Patch Changes
229
+
230
+ - Updated dependencies [68ecf2f]
231
+ - @ai-sdk/provider@2.0.0-alpha.13
232
+
233
+ ## 3.0.0-alpha.12
234
+
235
+ ### Patch Changes
236
+
237
+ - Updated dependencies [e2aceaf]
238
+ - @ai-sdk/provider@2.0.0-alpha.12
239
+
240
+ ## 3.0.0-alpha.11
241
+
242
+ ### Patch Changes
243
+
244
+ - Updated dependencies [c1e6647]
245
+ - @ai-sdk/provider@2.0.0-alpha.11
246
+
247
+ ## 3.0.0-alpha.10
248
+
249
+ ### Patch Changes
250
+
251
+ - Updated dependencies [c4df419]
252
+ - @ai-sdk/provider@2.0.0-alpha.10
253
+
254
+ ## 3.0.0-alpha.9
255
+
256
+ ### Patch Changes
257
+
258
+ - Updated dependencies [811dff3]
259
+ - @ai-sdk/provider@2.0.0-alpha.9
260
+
261
+ ## 3.0.0-alpha.8
262
+
263
+ ### Patch Changes
264
+
265
+ - 4fef487: feat: support for zod v4 for schema validation
266
+
267
+ All these methods now accept both a zod v4 and zod v3 schemas for validation:
268
+
269
+ - `generateObject()`
270
+ - `streamObject()`
271
+ - `generateText()`
272
+ - `experimental_useObject()` from `@ai-sdk/react`
273
+ - `streamUI()` from `@ai-sdk/rsc`
274
+
275
+ - Updated dependencies [9222aeb]
276
+ - @ai-sdk/provider@2.0.0-alpha.8
277
+
278
+ ## 3.0.0-alpha.7
279
+
280
+ ### Patch Changes
281
+
282
+ - Updated dependencies [5c56081]
283
+ - @ai-sdk/provider@2.0.0-alpha.7
284
+
285
+ ## 3.0.0-alpha.6
286
+
287
+ ### Patch Changes
288
+
289
+ - Updated dependencies [0d2c085]
290
+ - @ai-sdk/provider@2.0.0-alpha.6
291
+
292
+ ## 3.0.0-alpha.4
293
+
294
+ ### Patch Changes
295
+
296
+ - Updated dependencies [dc714f3]
297
+ - @ai-sdk/provider@2.0.0-alpha.4
298
+
299
+ ## 3.0.0-alpha.3
300
+
301
+ ### Patch Changes
302
+
303
+ - Updated dependencies [6b98118]
304
+ - @ai-sdk/provider@2.0.0-alpha.3
305
+
306
+ ## 3.0.0-alpha.2
307
+
308
+ ### Patch Changes
309
+
310
+ - Updated dependencies [26535e0]
311
+ - @ai-sdk/provider@2.0.0-alpha.2
312
+
313
+ ## 3.0.0-alpha.1
314
+
315
+ ### Patch Changes
316
+
317
+ - Updated dependencies [3f2f00c]
318
+ - @ai-sdk/provider@2.0.0-alpha.1
319
+
320
+ ## 3.0.0-canary.19
321
+
322
+ ### Patch Changes
323
+
324
+ - faf8446: chore (provider-utils): switch to standard-schema
325
+
326
+ ## 3.0.0-canary.18
327
+
328
+ ### Major Changes
329
+
330
+ - 40acf9b: feat (ui): introduce ChatStore and ChatTransport
331
+
332
+ ## 3.0.0-canary.17
333
+
334
+ ### Major Changes
335
+
336
+ - ea7a7c9: feat (ui): UI message metadata
337
+
338
+ ## 3.0.0-canary.16
339
+
340
+ ### Patch Changes
341
+
342
+ - 87b828f: fix(provider-utils): fix SSE parser bug (CRLF)
343
+
344
+ ## 3.0.0-canary.15
345
+
346
+ ### Major Changes
347
+
348
+ - 41fa418: chore (provider-utils): return IdGenerator interface
349
+
350
+ ### Patch Changes
351
+
352
+ - a571d6e: chore(provider-utils): move ToolResultContent to provider-utils
353
+ - Updated dependencies [a8c8bd5]
354
+ - Updated dependencies [7979f7f]
355
+ - @ai-sdk/provider@2.0.0-canary.14
356
+
357
+ ## 3.0.0-canary.14
358
+
359
+ ### Major Changes
360
+
361
+ - 957b739: chore (provider-utils): rename TestServerCall.requestBody to requestBodyJson
362
+
363
+ ### Patch Changes
364
+
365
+ - Updated dependencies [9bd5ab5]
366
+ - @ai-sdk/provider@2.0.0-canary.13
367
+
368
+ ## 3.0.0-canary.13
369
+
370
+ ### Patch Changes
371
+
372
+ - 0ff02bb: chore(provider-utils): move over jsonSchema
373
+ - Updated dependencies [7b3ae3f]
374
+ - @ai-sdk/provider@2.0.0-canary.12
375
+
376
+ ## 3.0.0-canary.12
377
+
378
+ ### Patch Changes
379
+
380
+ - Updated dependencies [9bf7291]
381
+ - Updated dependencies [4617fab]
382
+ - Updated dependencies [e030615]
383
+ - @ai-sdk/provider@2.0.0-canary.11
384
+
385
+ ## 3.0.0-canary.11
386
+
387
+ ### Patch Changes
388
+
389
+ - 66962ed: fix(packages): export node10 compatible types
390
+ - Updated dependencies [9301f86]
391
+ - Updated dependencies [a3f768e]
392
+ - @ai-sdk/provider@2.0.0-canary.10
393
+
394
+ ## 3.0.0-canary.10
395
+
396
+ ### Patch Changes
397
+
398
+ - Updated dependencies [e86be6f]
399
+ - @ai-sdk/provider@2.0.0-canary.9
400
+
401
+ ## 3.0.0-canary.9
402
+
403
+ ### Patch Changes
404
+
405
+ - Updated dependencies [95857aa]
406
+ - Updated dependencies [7ea4132]
407
+ - @ai-sdk/provider@2.0.0-canary.8
408
+
3
409
  ## 3.0.0-canary.8
4
410
 
5
411
  ### Major Changes