ai
7.0.176 · 17 Nov 2026Apache-2.048.6M / weekRepositoryHomepagenpmAtom feed
Upgrading ai From 7.0.173 to 7.0.174
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
ai: Support
outputinstartBatchand parse it ingetBatchResults - New
Add extraction model support to provider registries, custom providers and string model ids
- Fixed
Fix
streamTextpassingtools: undefinedtoexperimental_transformfactories when notoolsare provided. Transforms now receive an empty tool set, matching theStreamTextTransformtype. - 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 inproviderMetadata,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.
- New
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.