-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[chore] Gatsby 5 migration, deps upgrade and minor fixes #818
Conversation
✅ Deploy Preview for codingtrain ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
Wow, this is incredible! I'm very excited to check through this and merge. @runemadsen, if you have a few minutes to glance over too let me know! |
@shiffman Glad you like it! Quick update, the ESM work previously mentioned seem to have already been merged and will be rolled out this month in Gatsby 5.3 per https://github.com/gatsbyjs/gatsby/pull/37221/files |
This looks good to me! I haven't done a full user test of the deploy preview, but if everything seems to work, I'm all for the merge. |
Thank you @runemadsen and @fturmel! |
Per #750, this upgrades Gatsby to v5 and most deps to their latest major versions. It should allow us to explore the new Slices API and keep improving build times.
Here's the official migration guide for reference: https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v4-to-v5/
Overview
sort
syntaxreact-youtube
v10 - some props were renamed@mdx-js/mdx
,html-react-parser
andgatsby-plugin-meta-redirect
And a few extras things:
trailingSlash: 'never'
in Gatsby config to get rid of 301s on initial page loadsp
tags, missingtbody
in table, missing React keys in listRelated work to consider?
Up for discussion imo, they could be done in separate PRs.
react-helmet
to Gatsby Headremark-gfm
v3. See https://www.gatsbyjs.com/plugins/gatsby-plugin-mdx/#mdxoptionspostcss-custom-media
andpostcss-custom-properties
? TheimportFrom
option has been removed. See replacement for `importFrom` and `exportTo` csstools/postcss-plugins#192