Skip to content

Upgrade Gatsby 3->5, React 17->19, and all plugin dependencies - #11

Merged
nofutur3 merged 1 commit into
mainfrom
upgrade-gatsby-5
Aug 21, 2026
Merged

Upgrade Gatsby 3->5, React 17->19, and all plugin dependencies#11
nofutur3 merged 1 commit into
mainfrom
upgrade-gatsby-5

Conversation

@nofutur3

Copy link
Copy Markdown
Owner

Summary

  • Bumps gatsby, all gatsby-* plugins, react/react-dom, react-bootstrap, bootstrap, prismjs, sass, typeface-* packages, and prettier to their latest majors
  • Fixes required by the upgrade: gatsby-plugin-feed v5 needs a title on the feed entry; deprecated sort: { fields, order } GraphQL syntax replaced with the new nested syntax in gatsby-node.js, gatsby-config.js, src/pages/index.js
  • Reformatted with prettier 3

Test plan

  • npm ci clean install (Node 22)
  • gatsby build succeeds, generates all expected pages (index, posts, category, tag, 404, using-typescript)
  • gatsby serve smoke test: index/rss/post/tag routes all return 200, Bio component (StaticImage + useStaticQuery) renders
  • gatsby develop starts cleanly
  • make lint / make test pass
  • CI passes

Bumps every gatsby-* plugin, react, react-dom, react-bootstrap, bootstrap,
prismjs, sass, and the typeface-* packages to their current latest majors,
and prettier 2->3.

Fixes needed for the upgrade:
- gatsby-plugin-feed v5 now requires a `title` on each feed entry
- Deprecated `sort: { fields: [...], order }` GraphQL syntax replaced with
  the new nested field syntax across gatsby-node.js, gatsby-config.js, and
  src/pages/index.js
- Reformatted with prettier 3 (mostly trailing-comma changes)

Verified locally (Node 22): npm ci, gatsby build, gatsby serve smoke test
(index/rss/post/tag routes all 200), and gatsby develop all succeed.
gatsby-plugin-categories/tags stay pinned at 2.3.7 (no newer release
exists) but build fine against Gatsby 5 in practice.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112G95j6F54axcBJwRLEpHg

@nofutur3 nofutur3 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@nofutur3
nofutur3 merged commit 01409a5 into main Aug 21, 2026
4 checks passed
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