Skip to content
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

Gatsby v3 upgrade [Closes #2528] #2646

Closed
wants to merge 2 commits into from
Closed

Gatsby v3 upgrade [Closes #2528] #2646

wants to merge 2 commits into from

Conversation

wackerow
Copy link
Member

Description

https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/
Followed through documentation to upgrade to Gatsby v3. There are several breaking changes, but fortunately the repo is well prepared for this version upgrade and I didn't encounter a single breaking change that affected the codebase.

Ran yarn add gatsby@latest followed by yarn upgrade-interactive --latest

  • gatsby-image [2.7.0] ❯ 3.0.0
  • gatsby-plugin-lodash [3.6.0] ❯ 4.0.0
  • gatsby-plugin-manifest [2.8.0] ❯ 3.0.0
  • gatsby-plugin-matomo [0.8.3] ❯ 0.9.0
  • gatsby-plugin-mdx [1.6.0] ❯ 2.0.1
  • gatsby-plugin-react-helmet [3.6.0] ❯ 4.0.0
  • gatsby-plugin-sharp [2.10.1] ❯ 3.0.1
  • gatsby-plugin-sitemap [2.8.0] ❯ 3.0.0
  • gatsby-plugin-styled-components [3.6.0] ❯ 4.0.0
  • gatsby-remark-autolink-headers [2.7.0] ❯ 3.0.0
  • gatsby-remark-copy-linked-files [2.6.0] ❯ 3.0.0
  • gatsby-remark-images [3.7.0] ❯ 4.0.0
  • gatsby-source-filesystem [2.7.0] ❯ 3.0.0
  • gatsby-source-graphql [2.13.0] ❯ 3.0.0
  • gatsby-transformer-csv [2.6.0] ❯ 3.0.0
  • gatsby-transformer-remark [2.12.0] ❯ 3.0.0
  • gatsby-transformer-sharp [2.8.0] ❯ 3.0.0

These are all the Gatsby libraries maintained by gatsbyjs/gatsby (plus the Matomo plugin).

Note on gatsby-plugin-image

From the docs: "While fluid, fixed, and gatsby-image will continue to work in v3, we highly recommend migrating to the new gatsby-plugin-image. Read the Migrating from gatsby-image to gatsby-plugin-image guide to learn more about its benefits and how to use it."
This does seem to include some syntax changes that we can implement, but are not requirements to the Gatsby v3 package upgrades. Can address this in separate issue.

Related Issue

#2528

@github-actions github-actions bot added the dependencies 📦 Changes related to project dependencies label Mar 16, 2021
@wackerow wackerow marked this pull request as draft March 16, 2021 15:23
@github-actions github-actions bot added the tooling 🔧 Changes related to tooling of the project label Mar 19, 2021
@samajammin samajammin marked this pull request as ready for review March 22, 2021 20:05
@samajammin samajammin self-assigned this Mar 22, 2021
@samajammin
Copy link
Member

FYI @wackerow I created a couple separate issues related to this:

@samajammin
Copy link
Member

Closing in favor of #2780 - fixed merge conflicts & upgrade to react v17.

@samajammin samajammin closed this Apr 5, 2021
@samajammin samajammin deleted the gatsby-v3 branch April 5, 2021 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies 📦 Changes related to project dependencies tooling 🔧 Changes related to tooling of the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants