Packages

ai

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

Upgrading ai From 6.0.188 to 6.0.333

139 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.0.188Latest7.0.176
  1. 6.0.188yours
  2. 11 releases
  3. 6.0.200security
  4. 2 releases
  5. 6.0.203security
  6. 123 releases
  7. 6.0.333target
0
changes to make
0
advisories fixed
9
new
115
fixes

Security

  • Harden download URL SSRF guard against hostname and redirect bypasses

    6.0.203
  • Harden stream text processing and middleware against prototype pollution from stream part IDs.

    6.0.203
  • Harden UI message stream processing against prototype pollution from chunk IDs.

    6.0.200

Release by release

  1. 6.0.333

    17 Nov 20261 fix
    • Fixed

      Reduce memory and CPU usage when validating UI messages with deeply nested provider or tool metadata. validateUIMessages and safeValidateUIMessages, which the agent UI stream helpers also use, validated JSON values in providerMetadata, callProviderMetadata, resultProviderMetadata, and toolMetadata with a recursive union schema that needed several times the memory of the value. These values are now validated in a single pass and are no longer copied, except to remove __proto__ keys.

  2. 6.0.332nothing new or fixed in the note

  3. 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.

  4. 6.0.330

    11 Nov 20261 fix
    • Fixed

      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.

  5. 6.0.329nothing new or fixed in the note

  6. 6.0.328

    10 Nov 20261 fix
    • Fixed

      Redact OpenAI MCP authorization and header values, and Code Interpreter and shell domain-secret values, from tool definitions recorded in generateText and streamText telemetry. Preserve the original application and provider arguments.

  7. 6.0.326nothing new or fixed in the note

  8. 6.0.325

    7 Nov 20261 fix
    • Fixed

      Hide provider metadata from telemetry when recordOutputs is false

117 internal lines (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.