@ai-sdk/provider-utils 3.0.0-canary.9 → 3.0.1

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