You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!WARNING] Community plugins may not have been updated yet to support React 19, so please check their repository for the current status. All plugins managed by the Gatsby team (in the gatsbyjs/gatsby repository) have been updated.
To upgrade to React 19, first upgrade gatsby and all your dependencies that start with gatsby- to the latest version. (Check out this guide if you need help with that.)
[!TIP]
If you use npm 7 or higher you’ll want to use the --legacy-peer-deps option. For example, if you use gatsby and gatsby-plugin-postcss:
Gatsby Partial Hydration, an experimental feature for three years now, is known to be incompatible with React 19 at this time. If you rely on this feature, do not upgrade to React 19.
Users can export onCaughtError and onUncaughtError from their gatsby-browser.js to handle errors caught by error boundaries and uncaught errors respectively:
// gatsby-browser.jsexportconstonCaughtError=({ error, errorInfo })=>{// e.g. send to an error tracking servicemyErrorTracker.reportError(error,{extra: errorInfo})}exportconstonUncaughtError=({ error, errorInfo })=>{// e.g. send to an error tracking servicemyErrorTracker.captureException(error,{extra: errorInfo})}
In development, these errors also appear in Gatsby's Fast Refresh error overlay. These callbacks are only invoked in React 19.
fix(gatsby): update socket.io to address vulnerable subdeps by @serhalp in #39352
Node.js 22
This release formally introduces Node.js 22 support, which is officially tested and supported going forward.
If you wish to use Node.js 22 with Gatsby, we highly recommend using the latest 22.x release, as there are known issues with some older 22.x versions that Gatsby is unable to work around at this time.
⚠️ Known Issue: gatsby develop fails with Node.js 22.7.0, 22.8.0, and 22.9.0
There is a critical bug in Node.js (nodejs/node#55145?) affecting versions 22.7.0, 22.8.0, and 22.9.0 that causes gatsby develop to fail with the error reported in #39068.
👉🏼 To avoid this, use Node.js 22.10.0 or later. (You can also use 22.6.0 or earlier.)
⚠️ Known Issue: Page loads may hang in dev with experimental DEV_SSR enabled and Node.js ≥22.14.0 (or ≥20.19.0)
This will not affect most users.
A change landed in Node.js 20.19.0 and 22.14.0 results in requests to the gatsby develop dev server to occasionally hang for 15 seconds. This can only occur if you have opted in to the experimental DEV_SSR flag.
👉🏼 To avoid this, disable the experimental DEV_SSR flag. (You can also downgrade to Node.js 22.13.1 or earlier, 20.18.3 or earlier, or 18.x.)
fix: use forked devcert to avoid pulling transitive deps from its @types/* deps (#39343) by @gatsbybot in #39345
This fixes npm install errors/warnings with Node.js 18 that look like error [email protected]: The engine "node" is incompatible with this module. Expected version "20 || >=22". Got "18.6.0"
perf: use must-revalidate cache-control header as common and only create header routes for routes with different cache-control (#38820) by @gatsbybot in #38824
fix: add missing fs method rewrites to handle fetchRemoteFile in dsg/ssr engine (#38822) by @gatsbybot in #38823
The whole team took time off for a much deserved winter break and we hope you had relaxing holidays, too! Before the break we spent time doing maintenance work such as updating internal dependencies or fixing some smaller bugs here and there. In case you missed it, we shipped ES Modules (ESM) in Gatsby files in the last release.
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign quaid for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Details
Needs approval from an approver in each of these files:
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.0.0 || ^0.0.0" from [email protected]
npm ERR! node_modules/gatsby
npm ERR! gatsby@"5.13.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-05-09T06_46_23_984Z-debug-0.log
renovatebot
changed the title
Update gatsby monorepo (major)
fix(deps): update gatsby monorepo (major)
Nov 6, 2023
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.0.0 || ^19.0.0 || ^0.0.0" from [email protected]
npm ERR! node_modules/gatsby
npm ERR! gatsby@"5.16.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /runner/cache/others/npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /runner/cache/others/npm/_logs/2026-02-05T04_56_12_770Z-debug-0.log
renovatebot
changed the title
fix(deps): update gatsby monorepo (major)
fix(deps): update gatsby monorepo to v5 (major)
Dec 8, 2024
renovatebot
changed the title
fix(deps): update gatsby monorepo to v5 (major)
fix(deps): update gatsby monorepo (major)
Dec 8, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size/SDenotes a PR that changes 10-29 lines, ignoring generated files.
0 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.25.8→5.16.04.25.0→5.16.04.25.0→5.16.04.25.0→5.16.05.25.0→6.16.06.25.0→7.16.0Release Notes
gatsbyjs/gatsby (gatsby)
v5.16.0Compare Source
What's Changed
body-parserto resolveqsvulnerability warning by @serhalp in #39396React 19
🚀 React 19 is here!
React 19 is now officially supported by Gatsby and all
gatsby-packages maintained by the Gatsby team.This is not a breaking change. You can safely upgrade to this release while staying on React 18.
All packages' peer dependencies on
reactandreact-domhave been extended from^18.0.0to^18.0.0 || ^19.0.0.All existing stable Gatsby functionality is intended to now work with React 19.
PR: #39306
Upgrade Guide
To upgrade to React 19, first upgrade
gatsbyand all your dependencies that start withgatsby-to the latest version. (Check out this guide if you need help with that.)Then, follow the React 19 upgrade guide. No other changes are required.
Please note:
New features
Gatsby now supports React 19's new root error callbacks.
Users can export
onCaughtErrorandonUncaughtErrorfrom theirgatsby-browser.jsto handle errors caught by error boundaries and uncaught errors respectively:In development, these errors also appear in Gatsby's Fast Refresh error overlay. These callbacks are only invoked in React 19.
Node.js 24
Node.js 24 is now officially supported by Gatsby.
PR: #39380 and #39398
Notable bugfixes & improvements
gatsby,gatsby-source-drupal:body-parserto resolveqsvulnerability warning by @serhalp in #39396Full Changelog: https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.16.0
v5.15.0Compare Source
What's Changed
Node.js 22
This release formally introduces Node.js 22 support, which is officially tested and supported going forward.
If you wish to use Node.js 22 with Gatsby, we highly recommend using the latest 22.x release, as there are known issues with some older 22.x versions that Gatsby is unable to work around at this time.
gatsby developfails with Node.js 22.7.0, 22.8.0, and 22.9.0There is a critical bug in Node.js (nodejs/node#55145?) affecting versions 22.7.0, 22.8.0, and 22.9.0 that causes
gatsby developto fail with the error reported in #39068.👉🏼 To avoid this, use Node.js 22.10.0 or later. (You can also use 22.6.0 or earlier.)
DEV_SSRenabled and Node.js ≥22.14.0 (or ≥20.19.0)This will not affect most users.
A change landed in Node.js 20.19.0 and 22.14.0 results in requests to the
gatsby developdev server to occasionally hang for 15 seconds. This can only occur if you have opted in to the experimentalDEV_SSRflag.👉🏼 To avoid this, disable the experimental
DEV_SSRflag. (You can also downgrade to Node.js 22.13.1 or earlier, 20.18.3 or earlier, or 18.x.)New Contributors
Thank you!
Full Changelog: https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.15.0
v5.14.6Compare Source
2025-08-06
What's Changed
error [email protected]: The engine "node" is incompatible with this module. Expected version "20 || >=22". Got "18.6.0"Full Changelog: https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.14.6
v5.14.5Compare Source
2025-06-19
What's Changed
Full Changelog: https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.14.5
v5.14.4Compare Source
2025-06-06
What's Changed
Full Changelog: https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.14.4
v5.14.3Compare Source
2025-04-09
What's Changed
Full Changelog: https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.14.3
v5.14.2Compare Source
2025-04-07
What's Changed
isNonNullType is not definedwithwebpack>=5.99.0(#39264) by @gatsbybot in #39265Full Changelog: https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.14.2
v5.14.1Compare Source
v5.14.0: v5.14.0Compare Source
This release focused on performance improvements and security fixes.
What's Changed
gatsby,create-gatsby,gatsby-cli,gatsby-dev-cli,gatsby-plugin-gatsby-cloud,gatsby-plugin-page-creator] perf: disable telemetry reporting #39137See full release notes
v5.13.7: v5.13.7Compare Source
2024-07-12
What's Changed
See full release notes: #39046
v5.13.6: v5.13.6Compare Source
2024-05-29
What's Changed
See full release notes: #39004
v5.13.5: v5.13.5Compare Source
2024-05-17
What's Changed
See full release notes: #38984
v5.13.4: v5.13.4Compare Source
2024-04-10
What's Changed
See full release notes: #38969
v5.13.3: v5.13.3Compare Source
2024-01-24
What's Changed
See full release notes: #38834
v5.13.2: v5.13.2Compare Source
2024-01-23
What's Changed
node:onbuild-html(#38516) by @gatsbybot in #38818See full release notes: #38821
v5.13.1: v5.13.1Compare Source
2013-12-22
What's Changed
See full release notes: #38796.
v5.13.0: v5.13.0Compare Source
Welcome to
[email protected]release (December 2023 #1)Key highlight of this release:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
v5.12.12Compare Source
v5.12.11Compare Source
v5.12.10Compare Source
v5.12.9Compare Source
v5.12.8Compare Source
v5.12.7Compare Source
v5.12.6Compare Source
v5.12.5Compare Source
v5.12.4Compare Source
v5.12.3Compare Source
v5.12.2Compare Source
v5.12.1Compare Source
v5.12.0: v5.12.0Compare Source
Welcome to
[email protected]release (August 2023 #1)Key highlight of this release:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
v5.11.0: v5.11.0Compare Source
Welcome to
[email protected]release (June 2023 #1)Key highlights of this release:
gatsby-source-wordpress: Support for multiple instancesBleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v5.10.0: v5.10.0Compare Source
Welcome to
[email protected]release (May 2023 #1)This release focused on bug fixes and perf improvements. Check out notable bugfixes and improvements.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v5.9.1Compare Source
v5.9.0: v5.9.0Compare Source
Welcome to
[email protected]release (April 2023 #1)Key highlights of this release:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v5.8.1Compare Source
v5.8.0Compare Source
v5.7.0: v5.7.0Compare Source
Welcome to
[email protected]release (February 2023 #2)This release focused on bug fixes and perf improvements. Check out notable bugfixes and improvements.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v5.6.1Compare Source
v5.6.0: v5.6.0Compare Source
Welcome to
[email protected]release (February 2023 #1)Key highlights of this release:
wrapRootElementBleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v5.5.0: v5.5.0Compare Source
Welcome to
[email protected]release (January 2023 #2)Key highlights of this release:
gatsby-source-filesytem<html>and<body>attributesBleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v5.4.2Compare Source
v5.4.1Compare Source
v5.4.0: v5.4.0Compare Source
Welcome to
[email protected]release (January 2023 #1)The whole team took time off for a much deserved winter break and we hope you had relaxing holidays, too! Before the break we spent time doing maintenance work such as updating internal dependencies or fixing some smaller bugs here and there. In case you missed it, we shipped ES Modules (ESM) in Gatsby files in the last release.
So check out the notable bugfixes section to learn more.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v5.3.3Compare Source
v5.3.2Compare Source
v5.3.1Compare Source
v5.3.0: v5.3.0Compare Source
Welcome to
[email protected]release (December 2022 #1)Key highlights of this release:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v5.2.0: v5.2.0Compare Source
Welcome to
[email protected]release (November 2022 #3)This is an out of band release due to the removal of the Potrace library in Gatsby. We'll continue with our biweekly schedule as normal.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.v5.1.0: v5.1.0Compare Source
Welcome to
[email protected]release (November 2022 #2)This is the first minor release after the recent major release of Gatsby 5! We are focused on your feedback and implementing fixes as needed.
If you haven’t migrated yet, please refer to the migration guide. We’ve done our best to make the transition smooth!
Some brief notes about what Gatsby 5 brings to the table:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.v5.0.1Compare Source
v5.0.0: v5.0.0Compare Source
Welcome to
[email protected]release (November 2022 #1)Key highlights of this release:
Major dependency updates:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.v4.25.9Compare Source
gatsbyjs/gatsby (gatsby-plugin-catch-links)
v5.16.0Compare Source
🧾 Release notes
Bug Fixes
Other Changes
v5.15.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.14.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
5.13.1 (2024-01-23)
Note: Version bump only for package gatsby-plugin-catch-links
v5.13.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
5.13.1 (2024-01-23)
Note: Version bump only for package gatsby-plugin-catch-links
v5.13.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.12.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.11.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.10.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.9.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.8.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.7.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.6.0Compare Source
🧾 Release notes
Bug Fixes
v5.5.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.4.0Compare Source
🧾 Release notes
Chores
v5.3.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.2.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.1.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-catch-links
v5.0.0Compare Source
🧾 Release notes
Chores
gatsbyjs/gatsby (gatsby-plugin-google-gtag)
v5.16.0Compare Source
🧾 Release notes
Features
Bug Fixes
Other Changes
v5.15.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-google-gtag
v5.14.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-google-gtag
5.13.1 (2024-01-23)
Note: Version bump only for package gatsby-plugin-google-gtag
v5.13.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-google-gtag
5.13.1 (2024-01-23)
Note: Version bump only for package gatsby-plugin-google-gtag
v5.13.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.3 (2023-10-26)
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.2 (2023-10-20)
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.1 (2023-10-09)
Note: Version bump only for package gatsby-plugin-google-gtag
v5.12.3Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.3 (2023-10-26)
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.2 (2023-10-20)
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.1 (2023-10-09)
Note: Version bump only for package gatsby-plugin-google-gtag
v5.12.2Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.3 (2023-10-26)
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.2 (2023-10-20)
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.1 (2023-10-09)
Note: Version bump only for package gatsby-plugin-google-gtag
v5.12.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.3 (2023-10-26)
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.2 (2023-10-20)
Note: Version bump only for package gatsby-plugin-google-gtag
5.12.1 (2023-10-09)
Note: Version bump only for package gatsby-plugin-google-gtag
v5.12.0Compare Source
🧾 Release notes
**Note
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.