Sourced from @ai-sdk/anthropic's releases.
@ai-sdk/google@3.0.82Patch Changes
3258f22: fix(google): prevent prototype pollution when streaming tool args
bfa5864: fix: only send provider credentials to same-origin response-supplied URLs
Several provider clients followed a URL taken from the provider's API response (a polling/status URL or a final media URL such as
polling_url,urls.get,result_url,result.sample, orvideo.uri) and reused the authenticated headers — or appended?key=<API_KEY>— on that request. Because the host of the response-supplied URL was never validated, the long-lived API key was sent to whatever host the response named (a CDN in the benign case, or an attacker-chosen host if the provider response was tampered with), allowing credential exfiltration.A new
isSameOriginhelper is added to@ai-sdk/provider-utils, and the affected fetches in@ai-sdk/black-forest-labs,@ai-sdk/fireworks,@ai-sdk/replicate,@ai-sdk/gladia,@ai-sdk/fal, and@ai-sdk/googlenow attach credentials only when the followed URL is same-origin with the provider's configured API origin. Requests to a foreign origin are made without the credential.Updated dependencies [bfa5864]
Updated dependencies [f42aa79]
@ai-sdk/provider-utils@4.0.29
Sourced from @ai-sdk/anthropic's changelog.
3.0.84
Patch Changes
- Updated dependencies [bfa5864]
- Updated dependencies [f42aa79]
@ai-sdk/provider-utils@4.0.293.0.83
Patch Changes
- Updated dependencies [942f2f8]
@ai-sdk/provider-utils@4.0.283.0.82
Patch Changes
- 2a91a17: feat(provider/anthropic): add support for
claude-fable-5and thefallbacksAPI parameter3.0.81
Patch Changes
- 4084fcd: feat(provider/anthropic): add support for
claude-opus-4-83.0.80
Patch Changes
- 263d3e6: fix(provider/anthropic): fix remaining errors with Anthropic
code_executiontool dynamic calls from latestweb_fetchorweb_search3.0.79
Patch Changes
- d61a788: Handle errors from anthropic websearch tool
3.0.78
Patch Changes
- 6e28d25: fix(anthropic): propagate toModelOutput providerOption to anthropic tool results
3.0.77
Patch Changes
- d53314d: feat(anthropic): add the new advisor tool
... (truncated)
bae9bab
Version Packages (#16026)9ef2c3c
Version Packages (#15998)f6e5881
Version Packages (#15902)2a91a17
backport: feat(provider/anthropic): add support for
claude-fable-5 and the ...7aca1fc
backport: chore: update TypeScript references and fix `pnpm
update-references...974e161
Version Packages (#15677)4084fcd
backport: feat(provider/anthropic): add support for
claude-opus-4-8 (#15675)097c1cd
Version Packages (#15612)263d3e6
Backport: fix(provider/anthropic): fix remaining errors with Anthropic
`code_...7ebba33
Version Packages (#15557)