-
Notifications
You must be signed in to change notification settings - Fork 130
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
Migrate Project to latest Gatsby release #334
Comments
Interested in this. Do you have an anti regression strategy ? |
Unfortunately no. will make sure to test the new implementation manually when every you have the chance to open a new PR |
Thanks, I'll look into it. But just a heads up : I tried to upgrade just now, and it looks like some packages need to be upgraded too. For example, node-sass 4.13.0 didn't support node v16. Following this, I downgraded my node install to v13 (nvm is a lifesaver here). But then I ran into
I downgraded it further to v12 and got :
So it looks like breaking changes might be inevitable. |
Yeah please try to updates all deps to latest versions |
I briefly tested the deployed version and it looks OK Just to be safe, I recommend that we try to deploy an episode using the upgraded code |
Quick update : still working on this. The gatsby-plugin-mdx 4.0.0 upgrade brought a bunch of breaking changes that I'm still trying to wrap my head around. The main problem I have is that it doesn't recognize frontmatter : ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Field "frontmatter" is not defined by type "MdxFilterInput".
File: gatsby-node.js:73:24
GraphQLError: Field "frontmatter" is not defined by type "MdxFilterInput". Right now gatsby-plugin-mdx is still in RC, but I remember reading that a stable version will be released this week. I'll look into it again once the stable version is out. |
Right now the project is using Gatsby v2 and we want to upgrade it to latest version
The text was updated successfully, but these errors were encountered: