-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: vercel/ai
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @ai-sdk/react@2.0.140
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: vercel/ai
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @ai-sdk/react@2.0.141
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 47 files changed
- 6 contributors
Commits on Feb 24, 2026
-
Backport: Add automatic caching for Anthropic (#12743) (#12833)
## Summary Backport of #12743 to `release-v5.0`. - Passes the `cacheControl` provider option as a top-level `cache_control` field in the Anthropic API request body to support [automatic caching](https://platform.claude.com/docs/en/docs/build-with-claude/prompt-caching#automatic-caching) - Includes tests for both `{ type: 'ephemeral' }` and `{ type: 'ephemeral', ttl: '1h' }` - Includes patch changeset for `@ai-sdk/anthropic` --------- Co-authored-by: Jade River Stokes <jaderiverstokes@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for e1b08a6 - Browse repository at this point
Copy the full SHA e1b08a6View commit details -
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v5.0, this PR will be updated. # Releases ## @ai-sdk/amazon-bedrock@3.0.84 ### Patch Changes - Updated dependencies [e1b08a6] - @ai-sdk/anthropic@2.0.67 ## @ai-sdk/anthropic@2.0.67 ### Patch Changes - e1b08a6: Pass `cacheControl` provider option as top-level `cache_control` in Anthropic API request body to support automatic caching. ## @ai-sdk/google-vertex@3.0.108 ### Patch Changes - Updated dependencies [e1b08a6] - @ai-sdk/anthropic@2.0.67 Co-authored-by: vercel-ai-sdk[bot] <225926702+vercel-ai-sdk[bot]@users.noreply.github.com>
vercel-ai-sdk[bot] authoredFeb 24, 2026 Configuration menu - View commit details
-
Copy full SHA for 92f9ba1 - Browse repository at this point
Copy the full SHA 92f9ba1View commit details
Commits on Feb 26, 2026
-
Backport: feat(togetherai): use TOGETHER_API_KEY, deprecate TOGETHER_…
Configuration menu - View commit details
-
Copy full SHA for a0e97f0 - Browse repository at this point
Copy the full SHA a0e97f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f8a26e - Browse repository at this point
Copy the full SHA 4f8a26eView commit details -
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v5.0, this PR will be updated. # Releases ## @ai-sdk/togetherai@1.0.36 ### Patch Changes - a0e97f0: Use `TOGETHER_API_KEY` as the default environment variable for the Together.ai provider, matching Together.ai's own convention. `TOGETHER_AI_API_KEY` is still supported but deprecated and will emit a console warning. Co-authored-by: vercel-ai-sdk[bot] <225926702+vercel-ai-sdk[bot]@users.noreply.github.com>
vercel-ai-sdk[bot] authoredFeb 26, 2026 Configuration menu - View commit details
-
Copy full SHA for bfb22fc - Browse repository at this point
Copy the full SHA bfb22fcView commit details -
Backport: feat (provider/gateway): pass through project id when avail…
Configuration menu - View commit details
-
Copy full SHA for 9212b2d - Browse repository at this point
Copy the full SHA 9212b2dView commit details -
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v5.0, this PR will be updated. # Releases ## ai@5.0.139 ### Patch Changes - Updated dependencies [9212b2d] - @ai-sdk/gateway@2.0.45 ## @ai-sdk/angular@1.0.139 ### Patch Changes - ai@5.0.139 ## @ai-sdk/gateway@2.0.45 ### Patch Changes - 9212b2d: feat (provider/gateway): pass through project id when available for o11y ## @ai-sdk/langchain@1.0.139 ### Patch Changes - ai@5.0.139 ## @ai-sdk/llamaindex@1.0.139 ### Patch Changes - ai@5.0.139 ## @ai-sdk/react@2.0.141 ### Patch Changes - ai@5.0.139 ## @ai-sdk/rsc@1.0.141 ### Patch Changes - ai@5.0.139 ## @ai-sdk/svelte@3.0.139 ### Patch Changes - ai@5.0.139 ## @ai-sdk/vue@2.0.139 ### Patch Changes - ai@5.0.139 Co-authored-by: vercel-ai-sdk[bot] <225926702+vercel-ai-sdk[bot]@users.noreply.github.com>
vercel-ai-sdk[bot] authoredFeb 26, 2026 Configuration menu - View commit details
-
Copy full SHA for 7858599 - Browse repository at this point
Copy the full SHA 7858599View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff @ai-sdk/react@2.0.140...@ai-sdk/react@2.0.141