Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
---
title: Migrate from 4.3.6 to 4.3.7 - Strapi Developer Docs
description: Learn how you can migrate your Strapi application from 4.3.6 to 4.3.7.
canonicalUrl: https://docs.strapi.io/developer-docs/latest/update-migration-guides/migration-guides/v4/migration-guide-4.3.6-to-4.3.7.html
title: Migrate from 4.3.6 to 4.3.8 - Strapi Developer Docs
description: Learn how you can migrate your Strapi application from 4.3.6 to 4.3.8.
canonicalUrl: https://docs.strapi.io/developer-docs/latest/update-migration-guides/migration-guides/v4/migration-guide-4.3.6-to-4.3.8.html
---

# v4.3.6 to v4.3.7 migration guide
# v4.3.6 to v4.3.8 migration guide

The Strapi v4.3.6 to v4.3.7 migration guide upgrades v4.3.6 to v4.3.7. The migration changes the SQLite database package from `sqlite3` to `better-sqlite3`. The migration guide consists of:
The Strapi v4.3.6 to v4.3.8 migration guide upgrades v4.3.6 to v4.3.8. The migration changes the SQLite database package from `sqlite3` to `better-sqlite3`. The migration guide consists of:

- upgrading the application dependencies,
- changing the `sqlite3` package to `better-sqlite3`,
- reinitializing the application.

:::caution
[Plugins extension](/developer-docs/latest/plugins/users-permissions.md) that create custom code or modify existing code, will need to be updated and compared to the changes in the repository. Not updating the plugin extensions could break the application.
- This migration guide skips v4.3.7, which introduced an error in the SQLite database.

- [Plugins extension](/developer-docs/latest/plugins/users-permissions.md) that create custom code or modify existing code, will need to be updated and compared to the changes in the repository. Not updating the plugin extensions could break the application.
:::

## Upgrading the application dependencies
Expand All @@ -22,17 +24,17 @@ The Strapi v4.3.6 to v4.3.7 migration guide upgrades v4.3.6 to v4.3.7. The migra
Stop the server before starting the upgrade.
:::

1. Upgrade all of the Strapi packages in `package.json` to `4.3.7`:
1. Upgrade all of the Strapi packages in `package.json` to `4.3.8`:

```json
// path: package.json

{
// ...
"dependencies": {
"@strapi/strapi": "4.3.7",
"@strapi/plugin-users-permissions": "4.3.7",
"@strapi/plugin-i18n": "4.3.7",
"@strapi/strapi": "4.3.8",
"@strapi/plugin-users-permissions": "4.3.8",
"@strapi/plugin-i18n": "4.3.8",
// ...
}
}
Expand All @@ -46,9 +48,9 @@ Stop the server before starting the upgrade.
{
// ...
"dependencies": {
"@strapi/strapi": "4.3.7",
"@strapi/plugin-users-permissions": "4.3.7",
"@strapi/plugin-i18n": "4.3.7",
"@strapi/strapi": "4.3.8",
"@strapi/plugin-users-permissions": "4.3.8",
"@strapi/plugin-i18n": "4.3.8",
"better-sqlite3": "7.4.6"
// ...
}
Expand Down