How to add v5 support to your Gatsby plugin

For many plugins all you need to do is add "^5.0.0" to you peerDependencies string and "18.x" to your node.engines string in the plugin's package.json.

But some plugins will need changes to handle Gatsby v5's breaking changes. They are all listed in the migration v4 to v5 migration docs. The ones most probable to break your plugin are probably:

Luckily @raae/gatsby-plugin-let-it-snow required no changes, but I made su❄️re to upgrade the demo to v5 and add v5 as a possible peer dependency.

So no reason not to add some snow to your Gatsby v5 experiments this season!

All the best,
Queen Raae

Interested in more daily treasures like this one?
Sent directly to your inbox?