ai 5.0.0-beta.2 → 5.0.0-beta.21

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,155 @@
1
1
  # ai
2
2
 
3
+ ## 5.0.0-beta.21
4
+
5
+ ### Patch Changes
6
+
7
+ - 38ae5cc: feat (ai): export InferUIMessageChunk type
8
+ - faea29f: fix (provider/openai): multi-step reasoning with text
9
+ - 90ac328: fix (ui): tool part metadata support in ui messages
10
+ - 4a1e0c8: fix(ai-cli): fix bundling and improve authentication error handling
11
+ - 30ac566: fix (ui): text message metadata support in ui messages
12
+
13
+ ## 5.0.0-beta.20
14
+
15
+ ### Patch Changes
16
+
17
+ - 4c8f834: feat: automatically respect rate limit headers in retry logic
18
+
19
+ Added automatic support for respecting rate limit headers (`retry-after-ms` and `retry-after`) in the SDK's retry logic. When these headers are present and contain reasonable values (0-60 seconds), the retry mechanism will use the server-specified delay instead of exponential backoff. This matches the behavior of Anthropic and OpenAI client SDKs and improves rate limit handling without requiring any API changes.
20
+
21
+ ## 5.0.0-beta.19
22
+
23
+ ### Patch Changes
24
+
25
+ - 10b21eb: feat(cli): add ai command line interface
26
+ - 75c3396: fix (ai): handle errors in 2nd streamText doStream call
27
+ - 05d2819: feat: allow zod 4.x as peer dependency
28
+ - db64cbe: fix (provider/openai): multi-step reasoning with tool calls
29
+ - Updated dependencies [05d2819]
30
+ - @ai-sdk/provider-utils@3.0.0-beta.3
31
+ - @ai-sdk/gateway@1.0.0-beta.8
32
+
33
+ ## 5.0.0-beta.18
34
+
35
+ ### Patch Changes
36
+
37
+ - d3960e3: selectTelemetryAttributes more robustness
38
+ - 9338f3e: fix (ai): throw error for v1 models
39
+
40
+ ## 5.0.0-beta.17
41
+
42
+ ### Patch Changes
43
+
44
+ - Updated dependencies [c190907]
45
+ - @ai-sdk/gateway@1.0.0-beta.7
46
+
47
+ ## 5.0.0-beta.16
48
+
49
+ ### Patch Changes
50
+
51
+ - Updated dependencies [9e16bfd]
52
+ - @ai-sdk/gateway@1.0.0-beta.6
53
+
54
+ ## 5.0.0-beta.15
55
+
56
+ ### Patch Changes
57
+
58
+ - 8e31d46: feat (ai): export SourceDocumentUIPart
59
+
60
+ ## 5.0.0-beta.14
61
+
62
+ ### Patch Changes
63
+
64
+ - Updated dependencies [30ab1de]
65
+ - @ai-sdk/gateway@1.0.0-beta.5
66
+
67
+ ## 5.0.0-beta.13
68
+
69
+ ### Patch Changes
70
+
71
+ - 377bbcf: fix (ui): tool input can be undefined during input-streaming
72
+ - ce1d1f3: feat (ai): export mock image, speech, and transcription models
73
+ - c040e2f: fix (ui): inject generated response message id
74
+ - c808e4d: fix (ui): do not send changing assistant message ids when onFinish is provided
75
+
76
+ ## 5.0.0-beta.12
77
+
78
+ ### Patch Changes
79
+
80
+ - fc0380b: feat (ui): resolvable header, body, credentials in http chat transport
81
+ - 51f497d: feat (ai): step input message modification in prepareStep
82
+ - 4f3776c: feat (ai): add InferUITools helper
83
+
84
+ ## 5.0.0-beta.11
85
+
86
+ ### Patch Changes
87
+
88
+ - 9e40cbe: Allow destructuring output and errorText on `ToolUIPart` type
89
+
90
+ ## 5.0.0-beta.10
91
+
92
+ ### Major Changes
93
+
94
+ - 2b637d6: chore (ai): rename UIMessageStreamPart to UIMessageChunk
95
+
96
+ ### Patch Changes
97
+
98
+ - 16ccfb2: feat (ai): add readUIMessageStream helper
99
+ - 90ca2b9: feat(ai): Record tool call errors on tool call spans recorded in `generateText` and `streamText`.
100
+ - af1d5a5: fix(ai): Unexpected reasoning-start event in extract reasoning middleware
101
+
102
+ ## 5.0.0-beta.9
103
+
104
+ ### Patch Changes
105
+
106
+ - 86cfc72: feat (ai): add ignoreIncompleteToolCalls option to convertToModelMessages
107
+
108
+ ## 5.0.0-beta.8
109
+
110
+ ### Patch Changes
111
+
112
+ - 6909543: feat (ai): support system parameter in Agent constructor
113
+ - c8fce91: feat (ai): add experimental Agent abstraction
114
+ - 9121250: Expose provider metadata as an attribute on exported OTEL spans
115
+ - Updated dependencies [97fedf9]
116
+ - @ai-sdk/gateway@1.0.0-beta.4
117
+
118
+ ## 5.0.0-beta.7
119
+
120
+ ### Patch Changes
121
+
122
+ - 60132dd: fixed date formatting for updated mcp protocol version
123
+
124
+ ## 5.0.0-beta.6
125
+
126
+ ### Patch Changes
127
+
128
+ - 143c55b: feat (ai): export Chat callback types
129
+ - f04ffe4: feat (ui): add onData callback to Chat
130
+ - 97c35c0: feat (ui): transient data parts
131
+ - fccf75c: update mcp protocol version
132
+
133
+ ## 5.0.0-beta.5
134
+
135
+ ### Patch Changes
136
+
137
+ - 4f3e637: fix (ui): avoid caching globalThis.fetch in case it is patched by other libraries
138
+
139
+ ## 5.0.0-beta.4
140
+
141
+ ### Patch Changes
142
+
143
+ - 09f41ac: fix (ui): add message metadata in Chat.sendMessage
144
+
145
+ ## 5.0.0-beta.3
146
+
147
+ ### Patch Changes
148
+
149
+ - Updated dependencies [f3639fa]
150
+ - Updated dependencies [d454e4b]
151
+ - @ai-sdk/gateway@1.0.0-beta.3
152
+
3
153
  ## 5.0.0-beta.2
4
154
 
5
155
  ### Patch Changes