Skip to content

Commit 5fac530

Browse files
committed
Merge remote-tracking branch 'origin/v5' into v5-raw-source
* origin/v5: fix(providers/openai): logprobs for stream alongside completion model (#6091) chore (ai): move maxSteps into UseChatOptions (#6113) docs (ai): add notes on schema .optional() (#6111) chore: update references to use ai-sdk.dev (#6076) (#6107) Version Packages (canary) (#6069) chore (provider-utils): rename TestServerCall.requestBody to requestBodyJson (#6106) chore (ai): rename CoreMessage to ModelMessage (#6105) feat (ai): add filename to file ui parts (#6104) feat (docs): add Dify community provider (#4084) (#6067) (#6103) feat (docs): add Sarvam community provider (#6079) (#6096) fix(providers/openai): zod parse error with function (#6074) (#6095) feat(docs): add Weave observability provider (#6029) (#6094) core (ai/mcp): update experimental MCP client documentation for Streamable HTTP transport usage (#5972) (#6093) fix (docs): update formatting in useChat reference docs (#6100) chore (ai): replace useChat attachments with file ui parts (#6071) feat (ui/react): support resuming an ongoing stream (#6053) test (openai): update snapshot (#6086)
2 parents 16d3e84 + 928fadf commit 5fac530

File tree

316 files changed

+4198
-2005
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+4198
-2005
lines changed

.changeset/great-mangos-scream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'ai': patch
3+
---
4+
5+
chore (ai): move maxSteps into UseChatOptions

.changeset/lemon-actors-invite.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'ai': major
3+
---
4+
5+
chore (ai): replace useChat attachments with file ui parts

.changeset/nervous-maps-fix.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ai-sdk/provider-utils': major
3+
---
4+
5+
chore (provider-utils): rename TestServerCall.requestBody to requestBodyJson

.changeset/nine-pillows-hug.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ai-sdk/react': patch
3+
---
4+
5+
feat (ui/react): support resuming an ongoing stream

.changeset/pre.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@
152152
"late-brooms-suffer",
153153
"late-foxes-battle",
154154
"lazy-ducks-cheat",
155+
"lemon-actors-invite",
155156
"lemon-terms-hug",
156157
"light-rules-film",
157158
"little-zebras-suffer",
@@ -162,22 +163,28 @@
162163
"modern-kings-smoke",
163164
"moody-rings-remember",
164165
"moody-yaks-love",
166+
"nasty-lobsters-shave",
165167
"nasty-spiders-sparkle",
166168
"nasty-trains-beg",
167169
"neat-pillows-occur",
170+
"nervous-maps-fix",
168171
"new-vans-obey",
169172
"nice-tips-walk",
170173
"nine-jars-hammer",
174+
"nine-pillows-hug",
171175
"nine-rivers-compete",
172176
"odd-vans-suffer",
173177
"old-moons-kiss",
174178
"olive-candles-compare",
175179
"olive-ducks-carry",
176180
"pink-deers-switch",
181+
"pink-mangos-tickle",
177182
"pretty-bikes-appear",
178183
"pretty-jars-reflect",
184+
"proud-cows-bathe",
179185
"quick-toys-help",
180186
"quiet-glasses-double",
187+
"real-apes-lick",
181188
"rich-days-call",
182189
"rotten-peaches-doubt",
183190
"rotten-walls-provide",
@@ -194,6 +201,7 @@
194201
"slow-pants-buy",
195202
"smart-swans-drive",
196203
"smooth-mirrors-kneel",
204+
"sour-bananas-remain",
197205
"sour-mails-cheer",
198206
"spicy-mangos-brush",
199207
"spicy-shoes-matter",
@@ -218,6 +226,7 @@
218226
"twelve-kids-travel",
219227
"twelve-pianos-destroy",
220228
"unlucky-bobcats-wash",
229+
"unlucky-cherries-rescue",
221230
"unlucky-kiwis-build",
222231
"violet-taxis-work",
223232
"wet-toys-burn",
@@ -226,6 +235,7 @@
226235
"wild-cats-work",
227236
"witty-candles-pretend",
228237
"yellow-chefs-kick",
229-
"yellow-ligers-brake"
238+
"yellow-ligers-brake",
239+
"young-dingos-march"
230240
]
231241
}

.changeset/real-apes-lick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'ai': minor
3+
---
4+
5+
feat (ai): add filename to file ui parts

.changeset/swift-geckos-joke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ai-sdk/openai': patch
3+
---
4+
5+
fix(providers/openai): logprobs for stream alongside completion model
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ai-sdk/openai': patch
3+
---
4+
5+
fix(providers/openai): zod parse error with function

.changeset/young-dingos-march.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'ai': major
3+
---
4+
5+
chore (ai): rename CoreMessage to ModelMessage

.github/workflows/actions/verify-changesets/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export async function verifyChangesets(
127127
if (invalidVersionBumps.length > 0) {
128128
throw Object.assign(
129129
new Error(
130-
`Invalid .changeset file - invalid version bump (only "patch" is allowed, see https://sdk.vercel.ai/docs/migration-guides/versioning). To bypass, add one of the following labels: ${BYPASS_LABELS.join(', ')}`,
130+
`Invalid .changeset file - invalid version bump (only "patch" is allowed, see https://ai-sdk.dev/docs/migration-guides/versioning). To bypass, add one of the following labels: ${BYPASS_LABELS.join(', ')}`,
131131
),
132132

133133
{ path, content },

0 commit comments

Comments
 (0)