You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docusaurus/docs/dev-docs/migration/v4-to-v5/additional-resources/plugins-migration.md
+2-17Lines changed: 2 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ tags:
9
9
10
10
# Plugins upgrade summary
11
11
12
-
The present page is intended to be used as a short summary of everything to consider if you are a plugin developer intending to upgrade your plugin from Strapi v4 to Strapi 5. The page quickly describes the changes affecting plugins and links to additional resources where necessary.
12
+
The present page is intended to be used as a short summary of everything to consider if you are a plugin developer upgrading your plugin from Strapi v4 to Strapi 5. The page quickly describes the changes affecting plugins and links to additional resources where necessary.
13
13
14
14
Upgrading a Strapi v4 plugin to Strapi 5 consists in:
15
15
@@ -26,26 +26,11 @@ Upgrading a Strapi v4 plugin to Strapi 5 consists in:
26
26
27
27
- The Design System is upgraded to v2 in Strapi 5:
28
28
- 👉 A dedicated migration guide is [available in the Design System documentation](https://design-system-git-main-strapijs.vercel.app/?path=/docs/getting-started-migration-guides-v1-to-v2--docs).
29
-
- There are no big visual changes, except for [icons](https://design-system-git-main-strapijs.vercel.app/?path=/docs/foundations-icons-icons--docs).
29
+
- There are no big visual changes, except for [icons](https://design-system-git-main-strapijs.vercel.app/?path=/docs/foundations-icons-overview--docs).
30
30
- General Strapi v4 to Strapi 5 [breaking changes](/dev-docs/migration/v4-to-v5/breaking-changes) might apply.
31
31
- The `helper-plugin` is deprecated. A [migration reference](/dev-docs/migration/v4-to-v5/additional-resources/helper-plugin) is available to help you transition away from the `helper-plugin`.
32
32
- Strapi does not alias dependencies any longer. The 4 dependencies that are expected to be used by all client facing code are declared at the project level (`react`, `react-dom`, `styled-components`, and `react-router-dom`). If you do not declare the dependencies that you use (e.g. `axios`), there is a likelihood users could face unforeseen issues with your plugin.
33
33
34
-
<!-- TODO: clarify these 👇-->
35
-
<!-- ## General changes
36
-
37
-
- Building and packaging?
38
-
- They don’t have to do it (not tested)
39
-
- Recommended as a best practices (from npm)
40
-
- Pack up?
41
-
- Not required
42
-
- Is pack up specific to our packages or is it universal
43
-
- More for libraries
44
-
- Does the plugin need to be a TS one to use pack up (honestly no idea what pack up does)
45
-
- peerDepend requirement?
46
-
- Yes probably (ask emilie)
47
-
- As a peerDepend -->
48
-
49
34
## Custom providers
50
35
51
36
Custom [providers](/dev-docs/providers) for the Email and Upload plugins need conversion only if they were using the Entity Service API (please refer to the [Entity Service API to Document Service API migration guide](/dev-docs/migration/v4-to-v5/additional-resources/from-entity-service-to-document-service)).
0 commit comments