Packages

gatsby

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

Your version

2.0.0

major17 Sep 2018Where it was published

2.32.13 is the newest release of 2.x.

In short

31 new9 fixed1 internal

Security

1 advisory affects 2.0.0; 4.25.7 fixes them

Release note

The section about gatsby of a note shared by several packages.

Added

  • Improve Gatsby's routing accessibility by integrating @reach/router

  • Add new onPreRenderHTML SSR API to manage head components in html.js

  • Improve build speeds on larger sites (HulkSmash!)

  • Add multi-process HTML rendering support

  • Add babel-plugin-macros for custom babel config

  • Upgrade webpack to v3, improve webpack utils

  • Add gatsby-remark-graphviz plugin to render dot (graphviz) code blocks to SVG

  • Improve support for non-latin language content in gatsby-transformer-remark

  • Improve support for Drupal relationships in gatsby-source-drupal

  • Add support for extra connection string params in gatsby-source-mongodb

  • Add support for additional options supplied to gatsby-plugin-styled-components

  • Add guide on debugging the Gatsby build process

  • Add docs on unit testing, Cypress, react-testing-library and testing CSS-in-JS (#6678, #6708)

  • Redesigned docs navigation and expanded docs topics (#6245, #6610)

  • Allow plugins to override core prefetching behavior

  • Add gatsby-codemods package to assist v1 -> v2 transition

  • Add gatsby-plugin-layout package to allow use of v1 layout components in v2

  • Add support for service worker caching of prefetched resources in gatsby-plugin-offline

  • Add critical scripts and links to static file globs in service worker in gatsby-plugin-offline

  • Add snapshot testing for gatsby-link

  • Introduce REPL command to gatsby-cli

  • Add support for webpackPrefetch

  • Explicitly export graphql tag from Gatsby

  • Add eslint-loader and eslint configuration

  • Improve loading graphql query results ("ludicrous mode!")

  • Improve error messaging when Gatsby is not installed

  • Improve modifyWebpackConfig error messaging

  • Add support for open tracing with zipkin

  • Improve error messaging when plugin can't be loaded

  • Display formatted message for graphql resolver errors

  • Improve error formatting on HTML build errors

Fixed

  • Fix out of memory error by saving state to after bootstrap is complete

  • Fix out of memory error by flattening entry values

  • Fix code syntax formatting bug which highlighted keywords in plaintext

  • Remove dependency on react-lifecycles-compat

  • Prevent both preloading and inlining css in head

  • Fix service worker bug originating from inlining webpack-runtime

  • Fix bug producing duplicates when naming GraphQL queries

  • Fix showing 404 page in development

  • Tighten externals matching to prevent code imports from causing build errors

Note: Version bump only for package gatsby