Skip to content

@lekoarts/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jun 20:07
· 621 commits to main since this release
7a2bb32

Major Changes

#599 1785dcf Thanks @LekoArts!

Breaking Changes

  1. Using lessBabel option for gatsby-plugin-mdx
  2. Updating theme-ui from v0.3 to v0.9 and thus also emotion from v10 to v11
  3. Updating all Gatsby related packages to latest
  4. Removed gatsby-plugin-typescript
  5. Removed gatsby-plugin-feed
  6. Removed typeface-ibm-plex-sans npm package

Migrating

  1. The lessBabel option might break your setup in some edge cases. If it doesn't work, turn on the mdx option and choose your own config for gatsby-plugin-mdx
  2. The changelog/migration guide for theme-ui is here: https://theme-ui.com/migrating and for emotion here: https://emotion.sh/docs/emotion-11
  3. Gatsby v3 migration guide: https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/
  4. The TypeScript plugin isn't necessary anymore with Gatsby v3
  5. The plugin and its config was moved to the starter. You can copy the configuration from there into your own gatsby-config.js
  6. 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 own gatsby-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