Packages

ai

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

Your version

7.0.174

17 Nov 2026Where it was published

7.0.179 is the newest release of 7.x.

In short

2 new3 fixed9 internal

Release note

Patch Changes

  • ai: Support output in startBatch and parse it in getBatchResults

  • Fix streamText passing tools: undefined to experimental_transform factories when no tools are provided. Transforms now receive an empty tool set, matching the StreamTextTransform type.

  • Fix locked stream errors when telemetry subscribers or integrations replace a model stream whose request or response metadata requires credential redaction.

  • Add extraction model support to provider registries, custom providers and string model ids

  • Prevent excessive memory and CPU usage when validating UI messages with deeply nested provider or tool metadata. validateUIMessages, safeValidateUIMessages, and the agent UI stream helpers validated JSON values in providerMetadata, callProviderMetadata, resultProviderMetadata, toolMetadata, and citation metadata with a recursive union schema that needed several times the memory of the value, so a valid request could exhaust the memory of a worker before the model was called. These values are now validated in a single pass and are no longer copied, except to remove __proto__ keys.

  • Centralize empty extraction value normalization in experimental_extract, preserving missing-value behavior while removing duplicated conversion from extraction providers.

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.