v4.16 Release Notes
email@example.com release (June 2022 #1)
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.
Speed Improvements for Image Processing
gatsby-plugin-sharp, you should see a considerate amount of time saved during image processing as two improvements were shipped. In PR #35791 the image metadata to calculcate things like dominant color was moved to a cache that persists between builds leading to increased speed on subsequent builds. In PR #35814 the image is getting resized before calculating the dominant color as this can get slow for really large images. This may be a less accurate representation, but for a placeholder it is good enough. Thanks to ascorbic for contributing both PRs.
useContentfulImage and the URL to the image on the Contentful Image API you can create dynamic images on the fly:
Learn more in the
Node 18 Compatibility
In a series of PRs we’ve ensured that Gatsby and its dependencies are compatible with Node 18:
- In PR #35585
lmdbwas updated as in never versions it ships with prebuilt binaries for Node 18.
- In PR #35621 we migrated from
source-mapin incompatible with Node 18.
- In PR #35782 we updated Parcel to 2.6.0 to update its internal
Notable bugfixes & improvements
gatsby-plugin-preload-fonts: Disable Puppeteer cache, via PR #34633
gatsby-source-drupal: Allow sites to configure the request timeout, via PR #35794
gatsby-plugin-utils: Add new
setRequestHeadersAPI, via PR #35655
contentDigestto image cdn args, via PR #35816
gatsby-plugin-mdx: Don’t allow JS frontmatter by default, via PR #35830
A big Thank You to our community who contributed to this release 💜
- trevorblades: fix(docs): Lowercase typename PR #35821
- Danishkhurshid: fix(gatsby-source-drupal): Add a check for data prop PR #35719
- rutterjt: chore(docs): Fix
videoSourceURLmarkdown key mismatch PR #35755
- benogle: chore(docs): Add articles to awesome gatsby resources PR #35738
- Apprentice76: fix(gatsby-source-filesystem): Update
createRemoteFileNodeargs PR #35422
- tsdexter: fix(gatsby-source-wordpress): bug patch for issue 35460 PR #35817
- AbdallahAbis: chore(docs): Remove typo in Script guide PR #35826
- tordans: chore(docs): Update using-web-fonts for fontsource PR #35579
- just-boris: fix(gatsby): Remove
removeOffCanvasPathssvgo option PR #35788
- varunsh-coder: chore(stale-action): Add GitHub token permissions PR #35713
- Foo-x: fix(gatsby-plugin-preload-fonts): disable cache PR #34633
- joshuacox: chore(docs): Update outdated building a theme tutorial snippets PR #35792