Skip to content

Commit

Permalink
feat (docs): improve 4.0 migration process (#3738)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel authored Nov 18, 2024
1 parent dabb101 commit b60af3a
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions content/docs/08-migration-guides/01-migration-guide-4-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,16 @@ description: Learn how to upgrade AI SDK 3.4 to 4.0.

# Migrate AI SDK 3.4 to 4.0

<Note type="warning">
AI SDK 4.0 has not been released yet. It is currently a canary version and
there will be more breaking changes. We will update this guide as we make
progress.
</Note>

## Recommended Process
## Recommended Migration Process

1. [Migrate to AI SDK 3.4](/docs/migration-guides/migration-guide-3-4).
2. Upgrade to AI SDK 4.0.
3. Automatically migrate your code using [codemods](#codemods).
1. Backup your project. If you use a versioning control system, make sure all previous versions are committed.
1. [Migrate to AI SDK 3.4](/docs/troubleshooting/migration-guide/migration-guide-3-4).
1. Upgrade to AI SDK 4.0.
1. Automatically migrate your code using [codemods](#codemods).
> If you don't want to use codemods, we recommend resolving all deprecation warnings before upgrading to AI SDK 4.0.
4. Follow the breaking changes guide below.
1. Follow the breaking changes guide below.
1. Verify your project is working as expected.
1. Commit your changes.

## AI SDK 4.0 package versions

Expand Down

0 comments on commit b60af3a

Please sign in to comment.