Packages

ai

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

Upgrading ai From 7.0.171 to 7.0.176

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.0.171Newest 7.x7.0.179
0
changes to make
0
advisories fixed
3
new
8
fixes

Release by release

  1. 7.0.175 – 7.0.1762 releases, nothing new or fixed in the notes

  2. 7.0.174

    17 Nov 20262 new · 4 fixes
    • New

      ai: Support output in startBatch and parse it in getBatchResults

    • New

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

    • Fixed

      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.

    • Fixed

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

    • Fixed

      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.

    • Fixed

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

  3. 7.0.173

    13 Nov 20261 new · 3 fixes
    • New

      workflow: Support toolApproval in WorkflowAgent

    • Fixed

      Prevent in-place schema validation or input refinement from changing approved tool arguments during approval replay.

    • Fixed

      workflow: Log provider warnings in WorkflowAgent

    • Fixed

      workflow: Align the prepareStep results of WorkflowAgent with ToolLoopAgent. Returned instructions (or the deprecated system) replace the instructions of the step and carry forward to later steps, returned providerOptions are merged with the agent options, and returned headers are merged over the headers of the call.

  4. 7.0.172

    13 Nov 20261 fix
    • Fixed

      Require an explicit experimental_download hook for remote file URLs in experimental_extract and experimental_decide instead of silently downloading through global fetch. Callers can use createDownload({ fetch }) with a DNS-protected transport for untrusted URLs; inline file data continues to work without a hook.

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