Skip to content

chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.16 - #36

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7
Open

chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.16#36
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 2, 2026

Copy link
Copy Markdown

Bumps @ai-sdk/anthropic from 2.0.89 to 4.0.16.

Release notes

Sourced from @​ai-sdk/anthropic's releases.

@​ai-sdk/react@​3.0.259

Patch Changes

  • Updated dependencies [31205a4]
    • @​ai-sdk/provider-utils@​4.0.46
    • ai@6.0.256

@​ai-sdk/react@​3.0.258

Patch Changes

  • Updated dependencies [35a94b0]
  • Updated dependencies [93d24c6]
  • Updated dependencies [1bd1caf]
    • ai@6.0.255

@​ai-sdk/vue@​3.0.256

Patch Changes

  • Updated dependencies [31205a4]
    • @​ai-sdk/provider-utils@​4.0.46
    • ai@6.0.256

@​ai-sdk/vue@​3.0.255

Patch Changes

  • Updated dependencies [35a94b0]
  • Updated dependencies [93d24c6]
  • Updated dependencies [1bd1caf]
    • ai@6.0.255

@​ai-sdk/svelte@​3.0.237

Patch Changes

  • Updated dependencies [bf11412]
  • Updated dependencies [7ec6b69]
    • ai@5.0.237

@​ai-sdk/gateway@​3.0.174

Patch Changes

  • Updated dependencies [31205a4]
    • @​ai-sdk/provider-utils@​4.0.46

@​ai-sdk/gateway@​3.0.173

Patch Changes

  • 71e94ad: feat(google): add gemini-3.7-flash model

@​ai-sdk/xai@​3.0.122

Patch Changes

... (truncated)

Changelog

Sourced from @​ai-sdk/anthropic's changelog.

4.0.16

Patch Changes

  • afcf19c: fix(provider/anthropic): preserve web search citations when replaying assistant messages
  • Updated dependencies [cd06458]
    • @​ai-sdk/provider-utils@​5.0.11

4.0.15

Patch Changes

  • Updated dependencies [31c7be8]
    • @​ai-sdk/provider-utils@​5.0.10

4.0.14

Patch Changes

  • 4be62c1: fix(provider-utils): validate provider-response URLs in getFromApi

    getFromApi now has a validateUrl flag. It is optional so existing callers keep compiling (omitting it behaves like false, i.e. no validation), but all AI SDK provider packages set it explicitly at every call site so each one makes a visible trust decision. When true, the URL is routed through fetchWithValidatedRedirects — the same guard used by downloadBlob — which rejects private/loopback/link-local targets, re-validates every redirect hop, strips proxy/metadata/cookie request headers, and drops all caller headers except the user-agent on cross-origin redirects (custom API-key headers must not follow a redirect off-origin any more than Authorization may); blocked URLs throw DownloadError. It is enabled at the image/video/audio download and polling call sites where the URL comes from a provider response body; URLs built from developer-configured endpoints pass validateUrl: false and are unaffected.

    A new optional credentialedOrigin withholds caller headers unless the URL is same-origin with it, so the API key is not sent to a response-supplied host on a different origin.

    A new optional trustedOrigin exempts URLs (and redirect hops) that are same-origin with the developer-configured provider endpoint from target validation, so self-hosted and localhost deployments whose response URLs point back at the configured host keep working; all other hops are still validated.

    Also closes range gaps in validateDownloadUrl (IPv4 224.0.0.0/4 multicast and the TEST-NET documentation ranges 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24; IPv6 documentation ranges 2001:db8::/32 and 3fff::/20), and follows only the fetch-spec redirect status codes (301/302/303/307/308) — a Location header on any other status is not followed. This guard performs string/literal checks only and does not resolve DNS; hostnames that resolve to private addresses and DNS rebinding remain out of scope and must be constrained at the network layer (or by injecting a Node fetch that pins the resolved IP at connect time) for server deployments handling untrusted URLs. See contributing/secure-url-handling.md.

  • cd12954: Reject empty OpenAI, Anthropic, and Replicate base URLs with a helpful AI SDK invalid argument error.

  • Updated dependencies [4be62c1]

  • Updated dependencies [7805e4a]

  • Updated dependencies [cd12954]

    • @​ai-sdk/provider-utils@​5.0.9

4.0.13

Patch Changes

  • Updated dependencies [e193290]
    • @​ai-sdk/provider-utils@​5.0.8

4.0.12

Patch Changes

  • 308a519: chore: enforce consistent imports from zod/v4 instead of zod

4.0.11

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 2, 2026
@dependabot
dependabot Bot requested a review from xiaoland as a code owner August 2, 2026 08:26
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 2, 2026
@dependabot dependabot Bot changed the title chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.7 chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.10 Aug 8, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7 branch 3 times, most recently from 17f73cf to 3b4f444 Compare August 8, 2026 11:46
@dependabot dependabot Bot changed the title chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.10 chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.12 Aug 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7 branch from 3b4f444 to 8b4c552 Compare August 9, 2026 21:21
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7 branch from 8b4c552 to 96bb44d Compare August 9, 2026 23:15
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7 branch from 96bb44d to 61c71ee Compare August 11, 2026 08:20
@dependabot dependabot Bot changed the title chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.12 chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.15 Aug 16, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7 branch from 61c71ee to 88cbebf Compare August 16, 2026 06:34
@dependabot dependabot Bot changed the title chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.15 chore(deps): bump @ai-sdk/anthropic from 2.0.89 to 4.0.16 Aug 17, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7 branch from 88cbebf to 36e31fd Compare August 17, 2026 09:46
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7 branch from 36e31fd to 286f4f3 Compare August 17, 2026 09:49
Bumps [@ai-sdk/anthropic](https://github.com/vercel/ai/tree/HEAD/packages/anthropic) from 2.0.89 to 4.0.16.
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/anthropic/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/anthropic@4.0.16/packages/anthropic)

---
updated-dependencies:
- dependency-name: "@ai-sdk/anthropic"
  dependency-version: 4.0.7
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/main/ai-sdk/anthropic-4.0.7 branch from 286f4f3 to ee0f078 Compare August 17, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants