Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

v4.11 Release Notes

Welcome to gatsby@4.11.0 release (March 2022 #3)

Key highlights of this release:

Also check out notable bugfixes.

Bleeding Edge: Want to try new features as soon as possible? Install gatsby@next and let us know if you have any issues.

Previous release notes

Full changelog


gatsby-source-shopify v7

We released a new major version of gatsby-source-shopify 🎉 Thanks to the work of our community member Byron Hill the new version features a bunch of improvements:

  • You can now query product videos or 3D models, in addition to product images.
  • Variants, Images, etc. now keep the order in which you define them in the Shopify backend.
  • Multiple metafield types were merged to one single metafield type (more alignment with Shopify’s admin API schema).
  • You can now query presentment prices.
  • Explicit type definitions with disabled type inference. Or in other words: You can have no products in your store or a bunch of fields that are null without breaking your schema or builds.
  • The API schema nearly matches the Shopify admin API schema which means that for the most part you can refer to Shopify’s documentation.

Check out the V6 to V7 Migration Guide to learn more. Interested in contributing to Gatsby? Our contributing section has all the information you need.

React 18

The latest RC of React 18 introduced a breaking change in the SSR API. In this release we’re at 100% compatibility again. Right on time for the official React 18 release. Make sure to read How to Try React 18 in Gatsby to get started.

With React 18, you can start using Suspense, React.lazy and get your hands on the new concurrent mode to speed up your Gatsby website. More information can be found on the React blog

Notable bugfixes & improvements

  • gatsby
    • Fix eperm issue on windows when clearing cache, via PR #35154
    • Improve functions compilation error, via PR #35196
  • gatsby-plugin-utils: Support aspect ratio for Image Service, via PR #35087
  • gatsby-source-mongodb: Add optional typePrefix option to override dbName, via PR #33820
  • gatsby-cli: Resolve babel preset ts explicitly, via PR #35153
  • gatsby-plugin-preact: Fix preact alias via PR #35196

Contributors

A big Thank You to our community who contributed to this release 💜

Start building today on Netlify!
Edit this page on GitHub
© 2023 Gatsby, Inc.