generated: '2026-10-22' method: searched generator: extract-docs-artifacts.py (local) source: https://ai-sdk.dev/docs/migration-guides sources: - https://ai-sdk.dev/docs/migration-guides - https://ai-sdk.dev/docs/migration-guides/versioning - https://ai-sdk.dev/docs/migration-guides/migration-guide-7-0 - https://ai-sdk.dev/docs/migration-guides/migration-guide-6-0 entries: - breaking: true highlights: - AI SDK 7.0 requires Node.js 22 or later. - All AI SDK packages are now ESM‑only. The require() function is no longer supported. - 'Provider Management: Remove Deprecated experimental_customProvider – replace it with customProvider.' - Remove Deprecated experimental_generateImage Export – replace it with generateImage. version: '7.0' - breaking: true highlights: - AI SDK 6.0 Package Versions – update ai to ^6.0.0 and related @ai-sdk packages to ^3.0.0 / ^4.0.0. - Experimental_Agent class has been replaced with the ToolLoopAgent class. - CoreMessage type and related functions have been removed – replace convertToCoreMessages with convertToModelMessages. - generateObject and streamObject have been deprecated and will be removed in a future version. version: '6.0' scheme: 'MAJOR.MINOR.PATCH – Major: Breaking API updates that require code changes; Minor: New features and improvements; Patch: New features and bug fixes.' current_version: '7.0' docs: https://ai-sdk.dev/docs/migration-guides