title: "Migrating from v1"
This section contains guides for migrating from Vendure v1 to v2.
There are a number of breaking changes between the two versions, which are due to a few major factors:
Migration will consist of these main steps:
Update your Vendure dependencies to the latest versions
{
// ...
"dependencies": {
- "@vendure/common": "1.9.7",
- "@vendure/core": "1.9.7",
+ "@vendure/common": "2.0.0",
+ "@vendure/core": "2.0.0",
// etc.
},
"devDependencies": {
- "typescript": "4.3.5",
+ "typescript": "4.9.5",
// etc.
}
}
Migrate your database. This is covered in detail in the database migration section.
Update your custom code (configuration, plugins, admin ui extensions) to handle the breaking changes. Details of these changes are covered in the breaking API changes section.
Update your storefront to handle some small breaking changes in the Shop GraphQL API. See the storefront migration section for details.