Skip to content

deps: bump ai from 7.0.164 to 7.0.171 in the ai-sdk group - #79

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

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ai-sdk-aa4f61068b

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps the ai-sdk group with 1 update: ai.

Updates ai from 7.0.164 to 7.0.171

Changelog

Sourced from ai's changelog.

7.0.171

Patch Changes

  • 11323f9: Prevent excessive memory and CPU usage when validating malformed UI messages. validateUIMessages, safeValidateUIMessages, and the agent UI stream helpers reported the issues of every part schema for every invalid part, so a small request with many malformed parts could exhaust memory. Each part is now validated against the schemas for its type only, validation stops at the first invalid message or part, and an invalid JSON value in provider or tool metadata is reported as a single issue.

  • 2ebc78b: Forward the provider's configured fetch transport when downloading file inputs. Add a fetch option to createDownload so core downloads can also use guarded-fetch for opt-in DNS validation on Node.js. The function returned by createDownload can now also be passed as experimental_download to generateText and streamText, and experimental_download now also handles generated file URLs returned by the model, so one hook covers all core downloads. Document that the default URL checks do not resolve DNS and recommend the guarded transport or network egress controls for untrusted URLs.

    Keep Azure image and Vertex tool-result downloads separate from provider authentication wrappers so file hosts never receive Azure bearer tokens or Vertex Express Mode API keys.

    Pass the call's abort signal to custom download requests, including prompt assets and generated files, so experimental_download: createDownload({ fetch }) preserves cancellation and timeouts.

  • cb4fa52: add experimental extract api and extraction model spec

  • ceeee29: Warn when a UI message stream sends a tool error text that differs from the text the model received and then sends reasoning from a later step. By default, toUIMessageStream sends "An error occurred." to the client for a failed tool call, while the model receives the full error text during a multi-step call. Converting the stored UI messages back with convertToModelMessages then changes the tool result, and models that bind reasoning to the preceding messages (for example Anthropic models with preserved thinking) reject the request. The request still fails after this change; the warning and the updated documentation explain the cause and the available options.

  • 1a94af3: Send the error text of failed tool calls to the client as the model received it.

    toUIMessageStream and toUIMessageChunk replaced the error text of failed tool calls with "An error occurred." by default. The model had already received the full text during a multi-step call, so UI messages that were converted back with convertToModelMessages contained a different tool result. Models that bind reasoning to the preceding messages rejected that history (for example Anthropic models with preserved thinking, with HTTP 400 "The block is bound to a different conversation"), and other models continued from an error they never received.

    UI messages now keep the model's error text for tool execution errors and invalid tool calls. This text reaches the client. To keep details away from the model and the client, throw an error with a safe message from the tool's execute function. The error text of an invalid tool call contains the generated input, the validation messages of the input schema, or the names of the available tools; execute does not run for it. To restore the previous behavior, set the new redactToolErrors: true option. A provided onError keeps handling failed tool calls unless you set redactToolErrors: false. Stream errors are still masked by default.

  • Updated dependencies [640569d]

  • Updated dependencies [4e43721]

  • Updated dependencies [2ebc78b]

  • Updated dependencies [cb4fa52]

    • @​ai-sdk/gateway@​4.0.144
    • @​ai-sdk/provider-utils@​5.0.80
    • @​ai-sdk/provider@​4.0.38

7.0.170

Patch Changes

  • 91a67c2: Fix excessive CPU usage when streaming long arrays with Output.array or streamObject. Parse and validate completed elements incrementally instead of repeatedly processing the entire accumulated array on every text chunk.
  • 84b1cb0: Cancel pending send-now operations when a later stop or dispose occurs, preventing an abandoned chat's queued messages and history from being sent through a replacement transport.
  • Updated dependencies [eaeb37e]
    • @​ai-sdk/gateway@​4.0.143

7.0.169

Patch Changes

  • 4311fa1: Use Zod Mini for internal validation schemas to reduce bundle size while preserving the public message schemas' classic Zod methods, error messages, and compatibility with supported Zod 3 and Zod 4 versions.
  • d9dd2b7: keep the request options when the useChat queue sends a tool approval first, and hold the queue while an async sendAutomaticallyWhen decides
  • Updated dependencies [4311fa1]
  • Updated dependencies [c160b74]
  • Updated dependencies [4311fa1]
  • Updated dependencies [838dd53]
    • @​ai-sdk/provider-utils@​5.0.79
    • @​ai-sdk/gateway@​4.0.142

7.0.168

... (truncated)

Commits
  • 75036a5 Version Packages (#24947)
  • 1a94af3 fix(ai): keep the model's tool error text in UI messages by default (#24980)
  • cb4fa52 feat(ai): add experimental extract api and extraction model spec (#24952)
  • ceeee29 fix(ai): warn when a masked tool error precedes reasoning in UI message strea...
  • 2ebc78b Make DNS protection opt-in with guarded-fetch (#24046)
  • 11323f9 fix(ai): bound validation errors for malformed UI messages (#24946)
  • e9e44bb Version Packages (#24878)
  • 5a645e9 fix(openai): preserve response formats with positioned updates (#24841)
  • 84b1cb0 fix(ai): cancel pending send-now after a later stop (#24893)
  • 91a67c2 fix(ai): parse streamed array elements incrementally (#24873)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the ai-sdk group with 1 update: [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai).


Updates `ai` from 7.0.164 to 7.0.171
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/ai/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/ai@7.0.171/packages/ai)

---
updated-dependencies:
- dependency-name: ai
  dependency-version: 7.0.171
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ai-sdk
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026

This branch has not been deployed

No deployments
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