Open source changelog

Follow the evolution of Gatsby.

Subscribe to updates

Implementing ui changes from Preview UI 2.90 Figma <!-- Is this a blog post? Check out the docs at https://www.gatsbyjs.com/contributing/blog-contributions/, and please mention if the blog post is pre-approved by someone from Gatsby. -->

Description:

  1. Rearrange icons
  2. Move functionality for the info button (from the Gatsby icon button)
  3. Include "notification icon" and red dot for existing contifications
  4. Minor code rearrangements

Images

Documentation

Description

Typo fix GatbsyImage -> GatsbyImage <!-- Write a brief description of the changes introduced by this PR -->

Documentation

https://www.gatsbyjs.com/docs/conceptual/image-plugin-architecture/ <!-- Where is this feature or API documented?

Walking nodes to track inline objects is very expensive. Caching this across instances of the graphql query sped up subsequent queries by ~10-15% (depending on complexity of nodes).

[sc-41666]

Minor updates

Description

Fixes a typo in a log message

Documentation

Related Issues

This updates strip-ansi to version ^6.0.1 to fix this vulnerability issue: https://www.npmjs.com/advisories/1004946.

I don't know how to test this, but would gladly help, if I can get a bit of guidance.

  • According to https://github.com/chalk/strip-ansi/releases/tag/v6.0.0, upgrading to version 6 requires changing import stripAnsi from 'strip-ansi'; to import stripAnsi = require('strip-ansi');. I did not make this change because VSCode only accepted the current syntax, and my experience is that VSC…

Description

The URL for the gatsby-plugin-segment-js docs was wrong - it was missing the leading /, so it was taking people to a 404. Current: https://www.gatsbyjs.com/docs/plugins/gatsby-plugin-segment-js This PR updates to:

Documentation

Minor updates

Description

Removes all lifecycles except the ones we care about for queryEngine.

Drops from 45mb to 37,8mb for .com. Speed wise it was more or less these same as before. A few seconds got shaved.

Description

Upgrade Jest to v27. Some code changes are necessary to make this possible. Should solve some problems we have with some ancient dependencies like fsevents.

Documentation

Related Issues

The aspect ratio is calculated wrong for a while, this fixes it and rewrites the tests to reflect this change without requiring any network calls.

This is based on #33528 and was part of #32782

Description

Update mini-css-extract-plugin to fix a weird cache/recompilation issue. css-loader also needed to be updated due to https://github.com/webpack-contrib/css-loader/issues/1384 bug (hash was different in client-side/SSR)

Failing test assertion was added in https://github.com/gatsbyjs/gatsby/pull/33982 and this PR should fix this.

Related Issues

Fixes https://github.com/gatsbyjs/gatsby/issues/33450

[ch40612]

Minor updates