Packages

ai

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

Upgrading ai From 6.0.6 to 6.0.333

318 releases in betweennotes for 317

Reading releases, release notes and advisories…

Other targets from 6.0.6Latest7.0.176
  1. 6.0.6yours
  2. 109 releases
  3. 6.0.116security
  4. 1 release
  5. 6.0.118security
  6. 52 releases
  7. 6.0.171security
  8. 25 releases
  9. 6.0.200security
  10. 2 releases
  11. 6.0.203security
  12. 123 releases
  13. 6.0.333target
?
changes to make
0
advisories fixed
39+
new
160+
fixes

Counted from 317 of 318 release notes. Advisories are counted from the advisory database, in full.

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
  • mcp: Prevent prototype pollution by using secureJsonParse

    6.0.171
  • security: Validate redirect targets in download functions to prevent SSRF bypass

    6.0.118
  • Add URL validation to downloadBlob and download to prevent blind SSRF attacks. Private/internal IP addresses, localhost, and non-HTTP protocols are now rejected before fetching.

    6.0.116

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

1 other line we could not sort, mostly version bumps
  • Revert "feat(ai): expose token usage in useChat onFinish callback#11871

    6.0.41

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