github-actions
released this
07 Jun 20:07
·
621 commits
to main
since this release
Major Changes
#599 1785dcf
Thanks @LekoArts!
Breaking Changes
- Using
lessBabel
option forgatsby-plugin-mdx
- Updating
theme-ui
from v0.3 to v0.9 and thus alsoemotion
from v10 to v11 - Updating all Gatsby related packages to latest
- Removed
gatsby-plugin-typescript
- Removed
gatsby-plugin-feed
- Removed
typeface-ibm-plex-sans
npm package
Migrating
- The
lessBabel
option might break your setup in some edge cases. If it doesn't work, turn on themdx
option and choose your own config forgatsby-plugin-mdx
- The changelog/migration guide for
theme-ui
is here: https://theme-ui.com/migrating and foremotion
here: https://emotion.sh/docs/emotion-11 - Gatsby v3 migration guide: https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/
- The TypeScript plugin isn't necessary anymore with Gatsby v3
- The plugin and its config was moved to the starter. You can copy the configuration from there into your own
gatsby-config.js
- The starter now handles loading the font (via
gatsby-omni-font-loader
). This enables you to switch the primary font more easily (once you updated the Theme UI config). You can copy the configuration from there into your owngatsby-config.js
Improvements
- Performance improvements from
theme-ui
upgrade - Fixed #415
Updates to Starter
If you only cloned the starter (https://github.com/LekoArts/gatsby-starter-minimal-blog) and didn't change anything else this section will be more relevant to you.
- Conditionally add
gatsby-plugin-google-analytics
- Add
FAST_DEV
flag - Update to all latest Gatsby (+ plugins) versions
- Move
gatsby-plugin-feed
from theme to starter - Use
gatsby-omni-font-loader
to load the primary font ("IBM Plex Sans") instead of in the theme itself
Patch Changes
- Updated dependencies [
1785dcf
]:- @lekoarts/[email protected]