hasura / gatsby-gitbook-starter

Generate GitBook style modern docs/tutorial websites using Gatsby + MDX
https://hasura.io/learn/graphql/react/introduction/
MIT License
981 stars 382 forks source link

From GatsbyJS: upgrading to Gatsby V4 stable release #129

Closed rmatambo8 closed 2 years ago

rmatambo8 commented 2 years ago

Hi! In case you didn’t know, Gatsby is planning its next major version for Q4 of this year! In preparation, the Gatsby team is reaching out to maintainers for our most popular Starters to help make the upgrade to Gatsby 4 as smooth as possible.

This PR updates your Gatsby Starter to the alpha version of this next release, as well as some related plugins. It’s just in draft form for now, since the 4.0.0 version of Gatsby isn’t quite ready for release yet. We’re mainly testing updating Gatsby and the other official plugins to ensure that the Starter builds without errors. You may see some warnings from packages that list gatsby: ^3.0.0 as a peer dependency. Don’t worry, we’ll come back and fix those before we take this PR out of draft mode when it’s ready to be merged.

Once version 4.0.0 is ready, we'll come back to update the dependencies and convert this draft to a PR for review. Until then, no action is required on your end. If you have any questions / concerns, let us know in the comments.

Thanks again for all your work as a Gatsby maintainer. We’re so grateful to have you as part of our community. 💜

For more information on what’s coming with Gatsby v4, check out the GitHub Discussion.

Changes:

rmatambo8 commented 2 years ago

I just upgraded to gatsby 4 beta and things seem to be working well.

there were some warnings in the console(before and after update) about using emotion and specific pseudo classes but nothing that is major - it would be something to look into later though.

rmatambo8 commented 2 years ago

Hi! Good news! Gatsby is almost ready for the stable release of version 4.0.0.

We reached out to you when we were updating to alpha. Now, we have successfully launched a beta version of your site which you can find at this link and the changes can be found in this pull request

We are planning on having a major launch day this month and we would like to merge all of these changes, we would like to feature your starter from day 1 of Gatsby 4 GA. Would you be up for merging on the launch day?

As always, thanks again for being awesome as a Gatsby maintainer. We’re so grateful to have you as part of our community. 💜

Feel free to jump into the discussion on quality starters for Gatsby v4 in the GitHub Discussion

rmatambo8 commented 2 years ago

Gatsby 4 is now GA! I've updated the gatsby dependencies to 4.0.0. Take a look, and if everything looks good, feel free to merge!

rmatambo8 commented 2 years ago

Hey @praveenweb,

I just wanted to let you know that we are planning on removing all starters that are not on Gatsby v. 4 from our starters library within the next 24 hours.

We like your starter and would like to keep featuring it so let me know when it is on V4, if you update it later then you can send me a message and we can put it back onto the starters library.

praveenweb commented 2 years ago

@rmatambo8 - I have tested this upgrade and it seems to work fine. Thanks for the efforts :)