Packages

ai

7.0.176 · 17 Nov 2026Apache-2.048.6M / weekRepositoryHomepagenpmAtom feed

Upgrading ai From 6.0.330 to 6.0.331

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.0.330Newest 6.x6.0.333Latest7.0.176
  1. 6.0.330yours
  2. 6.0.331target
0
changes to make
0
advisories fixed
0
new
2
fixes

Release by release

  1. 6.0.331

    12 Nov 20262 fixes
    • Fixed

      Keep failed tool call error text consistent with the model's message history by default. Set redactToolErrors: true to replace it with the result of onError.

    • Fixed

      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.

1 internal line (docs, tests, tooling) left out.

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.