-
Notifications
You must be signed in to change notification settings - Fork 76
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
BREAKING: v3 #112
Merged
BREAKING: v3 #112
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
Published canary version to try out:
|
This was referenced Jan 26, 2022
This was referenced May 13, 2022
This was referenced May 27, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Major update for all themes!
This PR updates all themes to the latest and greatest of each respective package. So support for latest version of Gatsby (v3) and i18n libraries.
Breaking Changes
Before upgrading to the new versions you'll want to update your core
gatsby
version to v3 (+ all plugins) as well: Migrating from v2 to v3 documentationPlease look at the
starters
folder for working examples with the new setup!gatsby-theme-blog / gatsby-theme-blog-core / gatsby-theme-blog-darkmode
gatsby-image
was replaced withgatsby-plugin-image
mdx
option fromgatsby-theme-blog
was removed (usemdxOtherwiseConfigured
instead)gatsby-theme-notes
gatsby-plugin-compile-es6-packages
(not needed anymore)mdx
option fromgatsby-theme-blog
was removed (usemdxOtherwiseConfigured
instead)gatsby-theme-ui-preset
theme-ui
needs to be installed to have the preset working)gatsby-theme-i18n
gatsby-plugin-react-helmet
andreact-helmet
peerDependencies. You'll need to install them yourself nowgatsby-theme-i18n-lingui
@lingui/core
is now required, tooNon-Breaking Improvements
import React from 'react'
withimport * as React from 'react'
gatsby-theme-i18n
Fixes #106