Skip to content

Commit

Permalink
Version Packages (#499)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
gatsby-uc-bot and github-actions[bot] authored Dec 16, 2024
1 parent 10ed235 commit ce74ac3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
13 changes: 0 additions & 13 deletions .changeset/three-walls-perform.md

This file was deleted.

14 changes: 14 additions & 0 deletions packages/gatsby-source-strapi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# gatsby-source-strapi

## 5.0.0

### Major Changes

- [#498](https://github.com/gatsby-uc/plugins/pull/498) [`10ed235`](https://github.com/gatsby-uc/plugins/commit/10ed235b1b1dd6501122f78f1ef40a192e8e6793) Thanks [@laurenskling](https://github.com/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](https://github.com/gatsby-uc/plugins/tree/main/packages/gatsby-source-strapi)
- 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](https://github.com/gatsby-uc/plugins/pull/498)

## 4.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-source-strapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-source-strapi",
"version": "4.0.1",
"version": "5.0.0",
"description": "Gatsby source plugin for building websites using Strapi as a data source",
"keywords": [
"gatsby",
Expand Down

0 comments on commit ce74ac3

Please sign in to comment.