Skip to content

chore(deps): update dependency ai to v5.0.253 - #369

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ai-5.x-lockfile
Open

chore(deps): update dependency ai to v5.0.253#369
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ai-5.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
ai (source) 5.0.1055.0.253 age confidence

Release Notes

vercel/ai (ai)

v5.0.253

Compare Source

Patch Changes
  • 5643ec9: fix(ai): allow manual continuations to reuse JSON tool outputs with undefined object properties
  • Updated dependencies [b436246]

v5.0.252

Compare Source

Patch Changes

v5.0.251

Compare Source

Patch Changes

v5.0.250

Compare Source

Patch Changes
  • 4e3f54b: Validate persisted typed tool calls against current input and output schemas.
    Schema-incompatible empty or error inputs and completed or failed history from
    unavailable tools remain loadable as dynamic tool parts instead of exposing
    unvalidated values under current static tool types.
  • 26165ee: Mark transient network errors that occur while reading successful response bodies as retryable, including AI Gateway responses.
  • Updated dependencies [810dc70]
  • Updated dependencies [7a926ba]
  • Updated dependencies [25c1956]
  • Updated dependencies [26165ee]

v5.0.249

Compare Source

Patch Changes
  • 989be6f: add operation-level outcomes to UI message stream end callbacks

v5.0.248

Compare Source

Patch Changes

v5.0.245

Compare Source

Patch Changes
  • 9e8e087: Stop re-exporting createTestServer and TestResponseController from @ai-sdk/provider-utils/test so ai/test can load without msw or vitest. Import these APIs from @ai-sdk/test-server/with-vitest instead.
  • Updated dependencies [9e8e087]
  • Updated dependencies [3505af4]

v5.0.244

Compare Source

Patch Changes

v5.0.243

Compare Source

Patch Changes
  • 9e8a754: Prevent exceptions in streaming onChunk and onError callbacks from terminating the stream or masking provider errors.
  • Updated dependencies [1a04ece]
  • Updated dependencies [ed2f035]

v5.0.242

Compare Source

Patch Changes
  • e88bc9f: Fix array-backed language model mocks to return configured results in order from the first call.

v5.0.241

Compare Source

Patch Changes
  • 9d0b84c: fix: reject streamObject result promises and report failed completion when the provider stream errors
  • 05df123: Filter preliminary tool outputs when ignoreIncompleteToolCalls is enabled.
  • e532644: Prevent automatic tool execution when a model call ends with an unsafe finish reason.

v5.0.240

Compare Source

Patch Changes

v5.0.239

Compare Source

Patch Changes

v5.0.238

Compare Source

Patch Changes

v5.0.237

Compare Source

Patch Changes
  • bf11412: Avoid repeatedly cloning accumulated text in readUIMessageStream while
    preserving independent snapshots for mutable nested values.
  • 7ec6b69: Fix declaration emit for exported values that infer an Output type.

v5.0.236

Compare Source

Patch Changes
  • c425210: Propagate errors thrown by chat onFinish callbacks.
  • eb7f2ac: Keep chat status submitted until response content begins streaming.
  • Updated dependencies [df0cbe9]

v5.0.235

Compare Source

Patch Changes

v5.0.234

Compare Source

Patch Changes

v5.0.233

Compare Source

Patch Changes
  • 2604cb6: Prevent resumeStream from copying the previous assistant message into the resumed response.

v5.0.232

Compare Source

Patch Changes

v5.0.231

Compare Source

Patch Changes
  • 2709314: Stop pending and active resumed chat streams after cancellation, and prevent overlapping resumptions from applying stale updates.
  • Updated dependencies [b474448]

v5.0.230

Compare Source

Patch Changes

v5.0.229

Compare Source

Patch Changes

v5.0.228

Compare Source

Patch Changes

v5.0.227

Compare Source

Patch Changes

v5.0.226

Compare Source

Patch Changes

v5.0.225

Patch Changes

v5.0.224

Patch Changes

v5.0.223

Patch Changes
  • 7a6bdbc: Prevent validated downloads on Node.js from reaching private or internal services through DNS aliases or DNS rebinding by validating and pinning every resolved address at connection time.
  • c5e11c6: Preserve provider metadata from empty text deltas in streamText.
  • Updated dependencies [7a6bdbc]
  • Updated dependencies [5bd6d2c]

v5.0.222

Patch Changes
  • d38a1d5: Route the warning system information banner to stderr so it does not corrupt application output written to stdout.
  • Updated dependencies [b408f1d]

v5.0.221

Patch Changes

v5.0.220

Patch Changes

v5.0.219

Patch Changes
  • 649bd0f: fix(ai): bound media-type sniffing decode for ID3-prefixed input

    Media-type detection stripped ID3 tags before the ~18-byte prefix cap, decoding the entire base64 attachment (plus a full-size copy) whenever the data began with ID3/SUQz. This turned the intended O(1) sniff into an O(N) decode of the whole attachment. Detection now decodes at most a bounded prefix and skips the ID3 tag within that bound, keeping cost O(1) in input size on both image and audio paths.

  • 965545b: Return response piping promises so callers can catch stream read and write errors.

  • Updated dependencies [fb4c0d7]

v5.0.217

Compare Source

Patch Changes
  • dcbdf32: Fix chat onFinish handling when overlapping requests clear the active response before a resume stream finishes.
  • d7d22d3: Allow UI message chunks to include fields added by newer server versions.
  • 01edf75: Propagate abort reasons when generation is cancelled during tool execution.
  • 473d770: Prevent tools excluded by activeTools from being parsed or executed.
  • Updated dependencies [1fec2e5]
  • Updated dependencies [d8e8477]

v5.0.216

Compare Source

Patch Changes

v5.0.215

Compare Source

Patch Changes

v5.0.214

Compare Source

Patch Changes

v5.0.213

Compare Source

Patch Changes

v5.0.212

Compare Source

Patch Changes

v5.0.211

Compare Source

Patch Changes

v5.0.210

Compare Source

Patch Changes

v5.0.209

Compare Source

Patch Changes

v5.0.208

Compare Source

Patch Changes

v5.0.207

Compare Source

Patch Changes

v5.0.206

Compare Source

Patch Changes

v5.0.205

Compare Source

Patch Changes

v5.0.204

Compare Source

Patch Changes
  • 9169261: fix(provider-utils): cancel response body on download rejection to prevent socket leak

    When a download was rejected early — because the Content-Length header exceeded the size limit, the response status was not ok, or a redirect resolved to a blocked URL — the fetch response body was left unconsumed and uncancelled. With WHATWG Fetch/undici this leaves the underlying TCP socket open instead of returning it to the connection pool, allowing an attacker-controlled origin to exhaust file descriptors and cause a denial of service. The body is now cancelled on all early-rejection paths in readResponseWithSizeLimit and download, and fetchWithValidatedRedirects cancels each redirect hop's body before following or rejecting the next hop.

  • Updated dependencies [dd9349d]

  • Updated dependencies [9169261]

v5.0.203

Compare Source

Patch Changes

v5.0.202

Patch Changes

v5.0.200

Compare Source

Patch Changes
  • eea9166: fix: harden download URL SSRF guard against hostname and redirect bypasses

    validateDownloadUrl and the file download helpers (downloadBlob, download) could be bypassed in several ways when handling untrusted URLs:

    • A fully-qualified hostname with a trailing dot (e.g. localhost., myhost.local.) skipped the localhost/.local blocklist.
    • IPv6 addresses that embed an IPv4 address in their last 32 bits — IPv4-compatible (::127.0.0.1), IPv4-translated (::ffff:0:127.0.0.1), and NAT64 (64:ff9b::127.0.0.1, including the 64:ff9b:1::/48 local-use prefix) — were not decoded and checked against the private IPv4 ranges.
    • Redirects were validated only after fetch had already followed them, so the request to a redirect target (e.g. an internal/metadata address) had already been issued before the check ran.
    • Several reserved/internal address ranges were not blocked: CGNAT (100.64.0.0/10, used by some cloud providers for internal traffic), benchmarking (198.18.0.0/15), IETF protocol assignments (192.0.0.0/24), the reserved 240.0.0.0/4 block (including the 255.255.255.255 broadcast address), and IPv6 site-local (fec0::/10) and multicast (ff00::/8).

    The validator now strips trailing dots before the hostname checks and fully expands IPv6 addresses to detect embedded private IPv4 targets. The download helpers now follow redirects manually (redirect: 'manual'), re-validating each hop before requesting it, so an unsafe redirect target is never fetched. When a redirect cannot be inspected because the runtime returns an opaque response, the helpers fail closed (reject the redirect) on the server; only in a real browser — where SSRF is not reachable (fetch is constrained by CORS and cannot reach a server's internal network or cloud-metadata endpoints) — is the redirect followed natively so legitimate redirected downloads keep working.

  • 15cf74f: Harden stream text processing and middleware against prototype pollution from stream part IDs.

  • 8ad6f80: fix: redact server error details from UI message streams by default

    streamText(...).toUIMessageStream() and createUIMessageStream defaulted their onError callback to getErrorMessage, which serializes the raw error (error.toString() / JSON.stringify(error)) into the client-facing { type: 'error', errorText } chunk — and also into tool-output-error parts. The documented default was () => 'An error occurred.', so applications relying on the documented behavior were unknowingly streaming server exception details (internal hostnames, paths, provider request data, validation inputs) to end users.

    The default onError now returns the documented generic 'An error occurred.'. Raw error details are only emitted when the developer explicitly supplies an onError handler. This also redacts tool-output-error and invalid-tool-input error text by default; pass an onError to surface richer messages.

  • Updated dependencies [9f67efe]

  • Updated dependencies [eea9166]

v5.0.199

Compare Source

Patch Changes
  • 040dc83: fix(ai): return schema-transformed elements in array output mode

    Previously final array output validation checked each element against the schema but returned the raw model output. Array output now returns the validated values so Zod transforms, coercions, defaults, and pipes are applied consistently with object output.

v5.0.198

Compare Source

Patch Changes
  • b02267c: Harden UI message stream processing against prototype pollution from chunk IDs.

v5.0.197

Compare Source

Patch Changes

v5.0.196

Patch Changes

v5.0.194

Compare Source

Patch Changes

v5.0.193

Compare Source

Patch Changes

v5.0.192

Compare Source

Patch Changes

v5.0.190

Compare Source

Patch Changes

v5.0.188

Compare Source

Patch Changes
  • 1760d76: fix URL of hero animation in README

v5.0.187

Compare Source

Patch Changes

v5.0.186

Compare Source

Patch Changes

v5.0.185

Compare Source

Patch Changes

v5.0.184

Compare Source

Patch Changes
  • cb911d2: fix(ai): add allowSystemInMessages option and warn by default when system messages are found in prompt or messages

v5.0.183

Compare Source

Patch Changes

v5.0.182

Compare Source

Patch Changes

v5.0.181

Compare Source

Patch Changes

v5.0.180

Compare Source

Patch Changes

v5.0.179

Compare Source

Patch Changes
  • 5543cd1: Add AI Gateway hint to provider READMEs

v5.0.178

Compare Source

Patch Changes

v5.0.176

Compare Source

Patch Changes

v5.0.175

Compare Source

Patch Changes

v5.0.174

Compare Source

Patch Changes

v5.0.173

Compare Source

Patch Changes

v5.0.172

Compare Source

Patch Changes

v5.0.171

Compare Source

Patch Changes

v5.0.170

Compare Source

Patch Changes

v5.0.169

Compare Source

Patch Changes

v5.0.168

Compare Source

Patch Changes

v5.0.167

Compare Source

Patch Changes

v5.0.166

Compare Source

Patch Changes

v5.0.165

Compare Source

Patch Changes

v5.0.164

Compare Source

Patch Changes

v5.0.163

Compare Source

Patch Changes

v5.0.162

Compare Source

Patch Changes

v5.0.161

Patch Changes

v5.0.160

Patch Changes

v5.0.159

Patch Changes

v5.0.158

Patch Changes

v5.0.157

Patch Changes

v5.0.156

Patch Changes

v5.0.155

Patch Changes

v5.0.154

Patch Changes

v5.0.153

Patch Changes
  • c59a31c: Remove custom User-Agent header from HttpChatTransport to fix CORS preflight failures in Safari and Firefox

v5.0.152

Patch Changes

v5.0.151

Patch Changes

v5.0.150

Patch Changes

v5.0.149

Patch Changes
  • c66afc5: fix(security): validate redirect targets in download functions to prevent SSRF bypass

    download now validates the final URL after following HTTP redirects, preventing attackers from bypassing SSRF protections via open redirects to internal/private addresses.

v5.0.148

Patch Changes

v5.0.147

Patch Changes

v5.0.146

Patch Changes

v5.0.145

Patch Changes

v5.0.144

Patch Changes

v5.0.143

Patch Changes

v5.0.142

Patch Changes

v5.0.141

Patch Changes

v5.0.140

Patch Changes

v5.0.139

Patch Changes

v5.0.138

Patch Changes

v5.0.137

Patch Changes

v5.0.136

Patch Changes

v5.0.135

Patch Changes

v5.0.134

Patch Changes

v5.0.133

Patch Changes

v5.0.132

Patch Changes

v5.0.131

Patch Changes

v5.0.130

Patch Changes
  • 20565b8: security: prevent unbounded memory growth in download functions

    The download() and downloadBlob() functions now enforce a default 2 GiB size limit when downloading from user-provided URLs. Downloads that exceed this limit are aborted with a DownloadError instead of consuming unbounded memory and crashing the process. The abortSignal parameter is now passed through to fetch() in all download call sites.

    Added download option to transcribe() and experimental_generateVideo() for providing a custom download function. Use the new createDownload({ maxBytes }) factory to configure download size limits.

  • Updated dependencies [20565b8]

v5.0.129

Patch Changes

v5.0.128

Patch Changes

v5.0.127

Patch Changes

v5.0.126

Patch Changes

v5.0.125

Patch Changes

v5.0.124

Patch Changes

v5.0.123

Patch Changes
  • Updated dependencies [[5253b83](https

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sandbox-voice-assistant Ready Ready Preview Sep 4, 2026 10:34pm UTC

Request Review

@renovate
renovate Bot force-pushed the renovate/ai-5.x-lockfile branch from 4b8a4cd to 10bdddc Compare September 3, 2026 22:59
@renovate renovate Bot changed the title chore(deps): update dependency ai to v5.0.251 chore(deps): update dependency ai to v5.0.252 Sep 3, 2026
@renovate
renovate Bot force-pushed the renovate/ai-5.x-lockfile branch from 10bdddc to 20e89ac Compare September 4, 2026 19:47
@renovate
renovate Bot force-pushed the renovate/ai-5.x-lockfile branch from 20e89ac to 70da457 Compare September 4, 2026 22:33
@renovate renovate Bot changed the title chore(deps): update dependency ai to v5.0.252 chore(deps): update dependency ai to v5.0.253 Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants