v4.9 Release Notes
firstname.lastname@example.org release (March 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.
In the last release we added support for TypeScript in
gatsby-ssr and as a follow-up we’re introducing a much requested feature: Support for TypeScript in
When you try it out in your project, please give us feedback in the accompanying RFC on what you like, what doesn’t work, and what you like to see in the future. Note: There are currently some limitations that you’ll need to be aware of. In the RFC you can also read why we chose Parcel for this feature and how we did it.
You can learn everything about this new feature on the TypeScript and Gatsby documentation page but here are two small examples of
gatsby-node with TypeScript:
This list is probably incomplete. If you’ve used another workaround in the past, add it to this document by using the “Edit on GitHub” button at the bottom.
ts-node: By having both a
ts-node) you were able to use TypeScript. You’ll need to remove the
ts-nodedependency, and address any of the current limitations. When both a
.tsfile will now always take precedence.
A big Thank You to our community who contributed to this release 💜
- jamatz: docs(gatsby): GatbsyImage -> GatsbyImage PR #34914
- brherr: Update gatsby-config.js PR #34924
- benackles: chore(docs): Update link to “How to create a Gatsby Starter” PR #34937