Skip to content

gatsby-source-strapi@5.0.0

Compare
Choose a tag to compare
@gatsby-uc-bot gatsby-uc-bot released this 16 Dec 08:30
· 14 commits to main since this release
ce74ac3

Major Changes

  • #498 10ed235 Thanks @laurenskling! - BREAKING CHANGES:

    • This plugin now assumes Strapi 5 by default. If you are on Strapi 4, set version: 4 in your plugin options, see the readme
    • Previously strapi_id was filled with the documentId, now strapi_id will be the regular id.

    documentId is now added as a field.
    strapi_document_id_or_regular_id contains a mixture of the both. documentId's when they are available, id's for content without a documentId (for example media or components).

    If you use strapi_id in your code assuming it is a Strapi 5 documentId, you have to rewrite that code to use the documentId field. More info why in the PR