Skip to main content

55 docs tagged with "upgrade to Strapi 5"

View all tags

Additional resources for migrating to Strapi 5

Additional resources provide dedicated guidance on specific Strapi 5 migration topics, including transitioning from the Entity Service API to Document Service API, upgrading plugins, and handling Design System v2 breaking changes.

Breaking changes

View the list of all breaking changes introduced between Strapi v4 and v5.

defaultIndex removed

In Strapi 5, it's not recommended to update repeatable components with the Document Service API

helper-plugin removed

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

injectContentManagerComponent() removed

In Strapi 5, the Content Manager is a plugin, which affects the injectContentManagerComponent() method, replaced by getPlugin('content-manager').injectComponent().

lockIcon replaced by licenseOnly

In Strapi 5, the lockIcon property is replaced by licenseOnly, which affects how the addMenuLink(), addSettingsLink(), and addSettingsLinks() methods from the Admin Panel API work.

No findPage() in Document Service API

In Strapi 5, the Entity Service API is deprecated, and for the findPage() method you should use the Document Service API's findMany() method instead.

Plugins upgrade summary

Plugin developers upgrading from Strapi v4 to Strapi 5 must migrate to the Plugin SDK, transition from the Entity Service API to the Document Service API, update front-end code to use Design System v2 and remove helper-plugin dependencies.

Reserved attributes and content-types names

In Strapi 5, some attributes and content types names are reserved, and all fields or content types using the reserved names should be renamed before migrating to prevent data loss.

Server proxy configuration

In Strapi 5, all proxy configuration options are now configured through the 'server.proxy' object in the '/config/server.js|ts' instead of having various option names such as 'globalProxy' and 'proxy' in Strapi v4.

strapi-utils is refactored

In Strapi 5, the 'strapi-utils' core package has been refactored. This page lists the additions, removals, and other updates.

The GraphQL API has been updated

In Strapi 5, the GraphQL API has been updated. It handles the new, flattened response format, and can also now accept Relay-style queries.