Packages

@ai-sdk/google-vertex

5.0.144 · 20 Nov 2026Apache-2.06.4M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.234

17 Nov 2026Where it was published

In short

2 fixed1 internal

Release note

Patch Changes

  • Limit the size of Google Vertex tool result file downloads with toolResultDownloads.maxBytes, which defaults to 7 MiB. This is lower than the previous 2 GiB default for these downloads; raise toolResultDownloads.maxBytes for larger files.

  • Keep Google Vertex tool result downloads on the built-in validated transport and stop using the provider fetch option for them. Set toolResultDownloads.fetch to choose another transport for those downloads.

    The built-in transport resolves every hostname through a validating lookup hook and pins the connection to the resolved address on Node.js. Reusing the provider fetch option for downloads would adopt a logging, tracing, or proxy wrapper that does not validate DNS results, so tool result URLs whose hostnames resolve to private addresses could reach internal hosts. A transport set with toolResultDownloads.fetch must perform equivalent connect-time DNS validation, for example a guarded fetch on Bun or Deno.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.