跳到主要内容

helper-plugin deprecated

In Strapi 5, the helper-plugin is removed. A whole migration reference is available for plugin developers, and codemods will automatically handle some changes.

This page is part of the breaking changes database and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.

🔌 Is this breaking change affecting plugins?Yes
🤖 Is this breaking change automatically handled by a codemod?Partly

Breaking change description

In Strapi v4

The helper-plugin could be used for Strapi plugins development.

In Strapi 5

The helper-plugin is deprecated.

Migration

Codemods handles some but not all of the changes. The following changes are handled:

ActionNow handled in Strapi 5 by…
Change AnErrorOccurred import@strapi/strapi/admin
Replace AnErrorOccurred with Page.Error@strapi/strapi/admin
Change ConfirmDialog import@strapi/strapi/admin
Change getFetchClient import@strapi/strapi/admin
Change LoadingIndicatorPage import@strapi/strapi/admin
Replace LoadingIndicatorPage with Page.Loading@strapi/strapi/admin
Change NoPermissions import@strapi/strapi/admin
Replace NoPermissions with Page.NoPermissions@strapi/strapi/admin
Change translatedErrors import@strapi/strapi/admin
Change useFetchClient import@strapi/strapi/admin
Change useQueryParams import@strapi/strapi/admin
Change SearchURLQuery import@strapi/strapi/admin
Change DateTimePicker import@strapi/design-system
Change Status import@strapi/design-system
Change useCallbackRef import@strapi/design-system
Change useCollator import@strapi/design-system
Change useFilter import@strapi/design-system

Users should refer to additional information found in the extensive migration guide to ensure a smooth migration.