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
|[Users & Permissions `register.allowedFields` defaults to `[]`](/dev-docs/migration/v4-to-v5/breaking-changes/register-allowed-fields)| No | ✅ Yes |
80
-
|[The `helper-plugin` is deprecated](/dev-docs/migration/v4-to-v5/breaking-changes/helper-plugin-deprecated)| Yes |No|
80
+
|[The `helper-plugin` is removed](/dev-docs/migration/v4-to-v5/breaking-changes/helper-plugin-deprecated)| Yes |👷 Partly|
81
81
|[`injectContentManagerComponent()` is removed in favor of `getPlugin('content-manager').injectComponent()`](/dev-docs/migration/v4-to-v5/breaking-changes/inject-content-manager-component)| Yes | No |
82
82
|[Some Mailgun provider legacy variables are not supported](/dev-docs/migration/v4-to-v5/breaking-changes/mailgun-provider-variables)| Yes | No |
83
83
|[The `lockIcon` property has been replaced by `licenseOnly`](/dev-docs/migration/v4-to-v5/breaking-changes/license-only)| Yes | No |
Copy file name to clipboardExpand all lines: docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes/helper-plugin-deprecated.md
+29-7Lines changed: 29 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: helper-plugin deprecated
3
-
description: In Strapi 5, the `helper-plugin` is deprecated. A whole migration reference is available for plugin developers.
4
-
sidebar_label: helper-plugin deprecated
2
+
title: helper-plugin removed
3
+
description: In Strapi 5, the `helper-plugin` is removed. A whole migration reference is available for plugin developers, and codemods will automatically handle some changes.
4
+
sidebar_label: helper-plugin removed
5
5
displayed_sidebar: devDocsMigrationV5Sidebar
6
6
tags:
7
7
- breaking changes
@@ -12,16 +12,16 @@ tags:
12
12
import Intro from '/docs/snippets/breaking-change-page-intro.md'
13
13
import MigrationIntro from '/docs/snippets/breaking-change-page-migration-intro.md'
14
14
import YesPlugins from '/docs/snippets/breaking-change-affecting-plugins.md'
15
-
import NoCodemods from '/docs/snippets/breaking-change-not-handled-by-codemod.md'
15
+
import PartialCodemods from '/docs/snippets/breaking-change-partially-handled-by-codemod.md'
16
16
17
17
# `helper-plugin` deprecated
18
18
19
-
In Strapi 5, the `helper-plugin` is deprecated. A whole migration guide is available for plugin developers.
19
+
In Strapi 5, the `helper-plugin` is removed. A whole migration reference is available for plugin developers, and codemods will automatically handle some changes.
20
20
21
21
<Intro />
22
22
23
23
<YesPlugins />
24
-
<NoCodemods />
24
+
<PartialCodemods />
25
25
26
26
## Breaking change description
27
27
@@ -47,4 +47,26 @@ The `helper-plugin` is deprecated.
47
47
48
48
## Migration
49
49
50
-
Users should follow information found in the extensive [migration guide](/dev-docs/migration/v4-to-v5/additional-resources/helper-plugin).
50
+
Codemods handles some but not all of the changes. The following changes are handled:
Users should refer to additional information found in the extensive [migration guide](/dev-docs/migration/v4-to-v5/additional-resources/helper-plugin) to ensure a smooth migration.
Copy file name to clipboardExpand all lines: docusaurus/docs/dev-docs/migration/v4-to-v5/step-by-step.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,10 @@ Strapi provides a tool to automate some parts of the upgrade to Strapi 5: the [u
72
72
|[use-uid-for-config-namespace](https://github.com/strapi/strapi/blob/v5/main/packages/utils/upgrade/resources/codemods/5.0.0/use-uid-for-config-namespace.code.ts)| Replace string dot format for config get/set/has with uid format for 'plugin' and 'api' namespace where possible |
73
73
|[utils-public-interface](https://github.com/strapi/strapi/blob/v5/main/packages/utils/upgrade/resources/codemods/5.0.0/utils-public-interface.code.ts)| Update utils to use the new public interface |
74
74
75
+
:::tip
76
+
If you develop Strapi plugins, other codemods handle some aspects of the helper-plugin deprecation. See the [related breaking change](/dev-docs/migration/v4-to-v5/breaking-changes/helper-plugin-deprecated) for more information.
77
+
:::
78
+
75
79
2. Go over the changes made by the upgrade tool to **check if you have to manually complete some code updates**:
76
80
77
81
Look for `__TODO__` automatically added to your code by the codemods. Some of them might have been added while migrating from the Entity Service API to the new Document Service API introduced in Strapi 5.
0 commit comments