Skip to main content

47 docs tagged with "breaking changes"

View All Tags

Breaking changes

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

helper-plugin deprecated

In Strapi 5, the `helper-plugin` is deprecated. A whole migration reference is available for plugin developers.

injectContentManagerComponent() removed

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

Migrating from Strapi v4 to v5

The latest major version of Strapi is Strapi 5. The upgrade tool and its codemods should automate some parts of the migration from v4 to Strapi 5. Additional information is also given below about breaking changes and dedicated migration resources for specific topics.

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.

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.

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.