releases.shpreview

onObjectStepFinish renamed to onObjectStepEnd; step timeout now enforced

ai@7.0.0-canary.167

June 9, 2026AI SDKView original ↗
1 enhancement2 fixesThis release1 enhancementImprovements to existing features2 fixesBug fixesAI-tallied from the release notes

Patch Changes

  • 4757690: feat(ai): rename onObjectStepFinish to onObjectStepEnd

  • eeefc3f: fix(ai): enforce timeout.stepMs for the whole step in streamText

    Previously streamText's step timer was cleared synchronously right after the step's stream was registered, before the stream produced anything, so stepMs never aborted a step that stalled before emitting content. The step timer now survives until the step's stream finishes or aborts, matching generateText. chunkMs/totalMs and normal step-finish cleanup are unchanged.

  • b79b6a8: fix(ai): add approval guard for denied tool outputs

  • Updated dependencies [6b4d325]

    • @ai-sdk/gateway@4.0.0-canary.101

Fetched June 9, 2026

onObjectStepFinish renamed to onObjectStepEnd; step… — releases.sh