Packages

gatsby

5.16.1 · 10 Feb 2026MIT252.9k / weekRepositoryHomepagenpmAtom feed

Upgrading gatsby from 4.25.9 to 5.9.1

19 releases in betweenevery note read

Other targets from 4.25.9Latest5.16.1
The note of 5.0.0 lists no breaking change or deprecation; the migration guide below lists them.
?
changes to make
0
advisories fixed
0
new
17
fixes

Start here

Release by release

  1. 5.9.1

    9 May 20232 fixes
    • fixed

      Handle cyclic chunkgroup children #38052 #38061

    • fixed

      Don't serve codeframes for files outside of compilation #38059 #38062

  2. 5.9.0nothing new or fixed in the note

  3. 5.8.1

    29 Mar 20231 fix
  4. 5.8.0

    21 Mar 20237 fixes
    • fixed

      Correctly cache gatsby-node.mjs in webpack #37750

    • fixed

      Track changes to lazy components #37712

    • fixed

      Setup base flags when config file doesn't exist #37714

    • fixed

      Pass pluginName to reporter.activityTimer & reporter.createProgress #37710

    • fixed

      Change backdrop position to fixed #37698

    • fixed

      Hide absolute path of __contentFilePath in component chunk name #37687

    • fixed

      Use optional chaining in onHeadRendered #37669

  5. 5.7.0nothing new or fixed in the note

  6. 5.6.1

    16 Feb 20231 fix
  7. 5.5.0 – 5.6.02 releases, nothing new or fixed in the notes

  8. 5.4.2

    17 Jan 20231 fix
    • fixed

      nodeModel.findAll supports v5 sort argument structure #37477 #37479

5 other lines we could not sort, mostly version bumps
  • Slices API unlocks up to 90% reduction in build duration for content changes in highly shared components

    5.1.0
  • Partial Hydration allows you to ship only the necessary JavaScript to the browser

    5.1.0
  • Slice API - Only re-build individual slices of your page

    5.0.0
  • Partial Hydration (Beta) - Improve frontend performance by shipping less JavaScript

    5.0.0
  • GraphiQL v2 - An all new UI with features like dark mode, tabs, and persisted state

    5.0.0

13 internal lines (docs, tests, tooling) left out.