v5.6 Release Notes
Welcome to gatsby@5.6.0
release (February 2023 #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.
Gatsby is joining Netlify
In case you have missed the news, Gatsby is joining Netlify 🎉
Gatsby as a framework will continue to evolve and grow. We’ve always shared with Netlify a mutual commitment to open-source and have never been more excited about Gatsby’s future. Many of Gatsby’s core contributors will join Netlify and continue to maintain the Gatsby framework.
Be sure to join our Discord, follow Gatsby and Netlify on Twitter or continue to read these release notes to know when we share our plans for the future.
Head API supports context providers from wrapRootElement
Head
now has access to React context provided by wrapRootElement
API. Example setup:
If wrapRootElement
API is used to wrap templates with UI components those will be skipped and you will see warnings in browser console about invalid head elements. In this case it’s recommended to move UI elements to wrapPageElement
API.
Notable bugfixes & improvements
gatsby
:gatsby-plugin-utils
: Export twoIRemoteFile
utility types, via PR #37532
Contributors
A big Thank You to our community who contributed to this release 💜
- IvanKiral: chore(docs): Update “Sourcing from Kontent.ai” PR #37484
- Khaledgarbaya: chore(docs): Update gatsby-slice.md to reference styled components non-support PR #37525
- MEddarhri: chore(docs): Fix typo in adding common features PR #37611
- OddDev: chore: Update using-remark example PR #37546
- marvinjude
- feat(gatsby): Safely wrap
Head
withwrapRootElement
PR #37439
- feat(gatsby): Safely wrap
- panzacoder: fix(gatsby): Render to pipeable stream in dev SSR PR #37534
- robations: chore(gatsby-source-wordpress): Fix apostrophe typos PR #37486
- tqureshi-uog: fix(gatsby-source-drupal): Make Image CDN error only
panicOnBuild
PR #37601