gatsby-source-strapi@5.0.0
·
14 commits
to main
since this release
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 thedocumentId
, nowstrapi_id
will be the regularid
.
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 adocumentId
(for example media or components).If you use
strapi_id
in your code assuming it is a Strapi 5documentId
, you have to rewrite that code to use thedocumentId
field. More info why in the PR - This plugin now assumes Strapi 5 by default. If you are on Strapi 4, set