Skip to content

ai-sdk: v3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Aug 01:56
5df502b

3.0.0 (2026-08-04)

⚠ BREAKING CHANGES

  • response and config types no longer match 2.x. See MIGRATING.md for the field-by-field migration. deferDataRetrieval, contents_total_cost, ResultContent.format, TakoCardSourceIndexSegment and TakoCardSourcePrivateIndex are removed; TakoKnowledgeCardSource and TakoCardSourceIndex remain as deprecated aliases.

Features

  • contents: expose contentFormat, maxRows, maxChars and quoteOnly (43ba7c3)
  • expose the 16 unreachable Tako request options (e2b59ac)
  • realign types with Tako's current API and gate drift in CI (10ee2d4)
  • rename "tako" source key to "data" (keep "tako" as deprecated alias) (f2c3e2b)
  • rename "tako" source key to "data" (keep "tako" as deprecated alias) (1b138b1)
  • request: compose per-section builders and add location (a0420ac)
  • request: map every data source option and guard strict without nodeIds (a4d81c1)
  • request: map every web source option to the wire (13bd752)
  • types: add the data, web, contents and location option types (581d74d)

Bug Fixes

  • close two holes in the drift gate, plus review corrections (e85ba81)
  • gate nested types for key drift, correct remaining docs and fixtures (d194830)
  • gate OutputSettings and Sources for key drift, correct option docs (997f7c3)
  • validate config at construction, drop three mirrored defaults, describe quote-only mode (6665f40)