ai 5.0.0-alpha.1 → 5.0.0-alpha.10

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,151 @@
1
1
  # ai
2
2
 
3
+ ## 5.0.0-alpha.10
4
+
5
+ ### Major Changes
6
+
7
+ - 98f25e5: chore (ui): remove managed chat inputs
8
+ - 7bb58d4: chore (ai): restructure prepareRequest
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [c4df419]
13
+ - @ai-sdk/provider@2.0.0-alpha.10
14
+ - @ai-sdk/gateway@1.0.0-alpha.10
15
+ - @ai-sdk/provider-utils@3.0.0-alpha.10
16
+
17
+ ## 5.0.0-alpha.9
18
+
19
+ ### Major Changes
20
+
21
+ - 9ae327d: chore (ui): replace chat store concept with chat instances
22
+
23
+ ### Patch Changes
24
+
25
+ - 8255639: ### Fix use with Google APIs + zod v4's `.literal()` schema
26
+
27
+ Before [zod@3.25.49](https://github.com/colinhacks/zod/releases/tag/v3.25.49), requests to Google's APIs failed due to a missing `type` in the provided schema. The problem has been resolved for the `ai` SDK by bumping our `zod` peer dependencies to `^3.25.49`.
28
+
29
+ pull request: https://github.com/vercel/ai/pull/6609
30
+
31
+ - Updated dependencies [26b6dd0]
32
+ - Updated dependencies [811dff3]
33
+ - @ai-sdk/gateway@1.0.0-alpha.9
34
+ - @ai-sdk/provider@2.0.0-alpha.9
35
+ - @ai-sdk/provider-utils@3.0.0-alpha.9
36
+
37
+ ## 5.0.0-alpha.8
38
+
39
+ ### Major Changes
40
+
41
+ - c25cbce: feat (ai): use console.error as default error handler for streamText and streamObject
42
+
43
+ ### Patch Changes
44
+
45
+ - 4fef487: feat: support for zod v4 for schema validation
46
+
47
+ All these methods now accept both a zod v4 and zod v3 schemas for validation:
48
+
49
+ - `generateObject()`
50
+ - `streamObject()`
51
+ - `generateText()`
52
+ - `experimental_useObject()` from `@ai-sdk/react`
53
+ - `streamUI()` from `@ai-sdk/rsc`
54
+
55
+ - 6b1c55c: feat (ai): introduce GLOBAL_DEFAULT_PROVIDER
56
+ - 2e4f9e4: feat (ai): improved error messages when using gateway
57
+ - Updated dependencies [4fef487]
58
+ - Updated dependencies [9222aeb]
59
+ - Updated dependencies [3cbcbb7]
60
+ - Updated dependencies [989ac75]
61
+ - Updated dependencies [7742ba3]
62
+ - @ai-sdk/provider-utils@3.0.0-alpha.8
63
+ - @ai-sdk/provider@2.0.0-alpha.8
64
+ - @ai-sdk/gateway@1.0.0-alpha.8
65
+
66
+ ## 5.0.0-alpha.7
67
+
68
+ ### Major Changes
69
+
70
+ - db345da: chore (ai): remove exports of internal ui functions
71
+ - 247ee0c: chore (ai): remove steps from tool invocation ui parts
72
+
73
+ ### Patch Changes
74
+
75
+ - 9b0da33: fix (ai): do not send id with start unless specified
76
+ - Updated dependencies [5c56081]
77
+ - @ai-sdk/provider@2.0.0-alpha.7
78
+ - @ai-sdk/gateway@1.0.0-alpha.7
79
+ - @ai-sdk/provider-utils@3.0.0-alpha.7
80
+
81
+ ## 5.0.0-alpha.6
82
+
83
+ ### Patch Changes
84
+
85
+ - 0d2c085: feat (ai): support string model ids through gateway
86
+ - 48a7606: feat (ai): support changing the system prompt in prepareSteps
87
+ - Updated dependencies [0d2c085]
88
+ - Updated dependencies [6c2c708]
89
+ - @ai-sdk/provider@2.0.0-alpha.6
90
+ - @ai-sdk/gateway@1.0.0-alpha.6
91
+ - @ai-sdk/provider-utils@3.0.0-alpha.6
92
+
93
+ ## 5.0.0-alpha.5
94
+
95
+ ### Major Changes
96
+
97
+ - ef256ed: chore (ai): refactor and use chatstore in svelte
98
+ - 1ed0287: chore (ai): stable sendStart/sendFinish options
99
+
100
+ ### Patch Changes
101
+
102
+ - 655cf3c: feat (ui): add onFinish to createUIMessageStream
103
+ - 1675396: fix: avoid job executor deadlock when adding tool result
104
+ - cf9af6e: feat (ai): allow sync prepareStep
105
+ - 825e8d7: release alpha.5
106
+ - 7324c21: fix (ai/telemetry): Avoid JSON.stringify on Uint8Arrays for telemetry
107
+
108
+ ## 5.0.0-alpha.4
109
+
110
+ ### Major Changes
111
+
112
+ - 72d7d72: chore (ai): stable activeTools
113
+ - 9315076: chore (ai): rename continueUntil to stopWhen. Rename maxSteps stop condition to stepCountIs.
114
+
115
+ ### Patch Changes
116
+
117
+ - b32c141: feat (ai): add array support to stopWhen
118
+ - 7d97ab6: release alpha.4
119
+ - 37a916d: feat (ai): add prepareSteps to streamText
120
+ - 5f2b3d4: chore (ai): stable prepareStep
121
+ - Updated dependencies [dc714f3]
122
+ - @ai-sdk/provider@2.0.0-alpha.4
123
+ - @ai-sdk/provider-utils@3.0.0-alpha.4
124
+
125
+ ## 5.0.0-alpha.3
126
+
127
+ ### Major Changes
128
+
129
+ - ab7ccef: chore (ai): change source ui message parts to source-url
130
+ - 257224b: chore (ai): separate TextStreamChatTransport
131
+ - 0463011: fix (ai): update source url stream part
132
+ - d306260: feat (ai): replace maxSteps with continueUntil (streamText)
133
+
134
+ ### Patch Changes
135
+
136
+ - Updated dependencies [6b98118]
137
+ - @ai-sdk/provider@2.0.0-alpha.3
138
+ - @ai-sdk/provider-utils@3.0.0-alpha.3
139
+
140
+ ## 5.0.0-alpha.2
141
+
142
+ ### Patch Changes
143
+
144
+ - 82aa95d: fix (ai): merge data ui stream parts correctly
145
+ - Updated dependencies [26535e0]
146
+ - @ai-sdk/provider@2.0.0-alpha.2
147
+ - @ai-sdk/provider-utils@3.0.0-alpha.2
148
+
3
149
  ## 5.0.0-alpha.1
4
150
 
5
151
  ### Major Changes