gatsby
5.16.1 · 10 Feb 2026MIT252.9k / weekRepositoryHomepagenpmAtom feed
Upgrading gatsby from 0.2.4 to 0.12.48
91 releases in betweennotes for 45
Reading releases, release notes and advisories…
- 10+
- changes to make
- 0
- advisories fixed
- 13+
- new
- 6+
- fixes
Counted from 45 of 91 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking0.11.0
- breaking0.11.0
- breaking0.11.0
- breaking0.11.0
- breaking0.11.0
- breaking0.11.0
- breaking0.11.0
- breaking0.11.0
- breaking0.9.0
- breaking0.8.3
Security
1 advisory still affects 0.12.48
- Gatsby develop server has Local File Inclusion vulnerabilitymoderate · GHSA-c6f8-8r25-c4gc
Upgrading to 4.25.7 clears it.
Release by release
0.12.13 – 0.12.4834 releases, nothing new or fixed; 17 without a note
0.12.0 – 0.12.1111 releases, nothing new or fixed; 7 without a note
- new
@jakubrohleder added support for CSS Modules, a very long-standing request. Thanks Jakub! CSS Module support is enabled for all files with
.module.(css|less|scss|sass)extension. #295 - new
Some css module types (Less/Sass) weren't being minimized 0a667e0
- new
@adjohnson916 noticed we were using a private API of React Router #343
- new
Added check for processes listening to the port requested by
gatsby serve-buildsimilar to what we do forgatsby listen#345 - new
Set the
NODE_ENVtoproductionfor node code (we were already doing this for Webpack modules but some Webpack loaders don't behave correctly without this fix #348
- new
0.9.2 – 0.11.612 releases, nothing new or fixed; 5 without a note
- new
@michaeljdeeb added a check that hard-coded paths in pages have a path prefix. This is a problem that's bit several people as it's easy to miss #223. Invariants are awesome!
- new
@alehlopeh added a new cli command
gatsby serve-buildso you can easily check that your built site is working as expected. #237 - fixed
@BerkeleyTrue fixed route => template matching which was broken for some edge cases #230
- fixed
@BerkeleyTrue pointed out that errors in
gatsby-node.jswere being swallowed. @kyleamathews fixed that in 859e412 - fixed
The Autoprefixer plugin was being added to the Postcss multiple times which @kyleamathews fixed in dd2e960
- new
0.8.6 – 0.9.07 releases, nothing new or fixed; 2 without a note
48 other lines we could not sort, mostly version bumps
- 0.12.45
@0x80 noticed that source maps weren't working in Chrome in development and asked about it. That, combined with a serendipitous tweet by @gaearon, led to #812 where we swapped out using the
evalsource-maps technique forcheap-module-source-maps. - 0.12.45
@donysukardi got us React 16 ready by removing our uses of React.createClass and the built-in proptypes #809
- 0.12.45
@danperkins fixed a logic bug in our router generation where nested templates weren't being tied to their parent templates correctly #808
- 0.12.45
@kyleamathews replaced the old default starter with a much simpler one to make it simpler to understand Gatsby when new plus easier to use the starter as a base for building new sites #806
- 0.12.40
@donysukardi added support for using Yarn over NPM when creating a new Gatsby site using
gatsby new#782 - 0.12.40
@Tom-Bonnike extended our JavaScript frontmatter code to support array values. #784 So now the parsing code can extract values in this form:
- 0.12.39
@ahonn noticed we were doing a full clone of Gatsby starters when running
gatsby newwhich is wasteful as we just throw away the git repo. So in #730 he fixed that to just do a shallow clone. - 0.12.39
@dbismut fixed the default markdown loader to add in a site's prefix/basename to links within markdown. #710
- 0.12.37
@mtt87 needed to support rendering translations correctly for his site during the static HTML build so added support for SSR APIs through a new
gatsby-ssr.jsfile which can be added to your site similar togatsby-browser.jsandgatsby-node.js. He added awrapRootComponentAPI similar to what was recently added to the browser but the method is now available if we need to add additional SSR APIs. - 0.12.37
@mjesuele added support for extracting data from JS frontmatter when using template literal strings in additional to normal strings
12 internal lines (docs, tests, tooling) left out.