Skip to content

Conversation

@dev-docs-github-app-dev
Copy link

This pull request updates the Strapi documentation to reflect the changes in how content is accessed in Strapi 5.

The key changes include:

  • Updated the documentation to explain that in Strapi 5, content is accessed using the documentId field instead of the previous id field.
  • Added examples to demonstrate the differences between the Strapi 4 and Strapi 5 data structures and API responses.
  • Provided guidance on migrating from Strapi 4 to Strapi 5, including recommendations on using documentId instead of id going forward.

These documentation updates will help users understand and navigate the breaking changes related to the use of document IDs when upgrading from Strapi 4 to Strapi 5.

@dev-docs-github-app-dev
Copy link
Author

This pull request was created by AI Agent. Please review the changes and provide feedback. Context used:

{
  "docsToCreate": [
    {
      "filePath": "docusaurus/docs/cms/migration/v4-to-v5/breaking-changes/use-document-id.md",
      "branch": "main"
    }
  ],
  "docsToUpdate": [],
  "relevantCodeFiles": [
    {
      "filePath": "packages/core/admin/ee/admin/src/pages/SettingsPage/pages/AuditLogs/ListPage.tsx",
      "branch": "develop"
    },
    {
      "filePath": "packages/core/admin/ee/admin/src/pages/SettingsPage/pages/AuditLogs/components/Modal.tsx",
      "branch": "develop"
    }
  ],
  "relevantCodeRepo": "strapi/strapi",
  "relevantDocsFiles": [
    {
      "filePath": "docusaurus/docs/cms/migration/v4-to-v5/breaking-changes/use-document-id.md",
      "branch": "main"
    }
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant