AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() If you are updating Gatsby, you’ll likely also need to update Gatsby related plugins, you can identify them by their names starting with gatsby. ![]() ![]() If you only want to update for patch releases, you can add a tilde ( ~) before the version of your package:įor both patch and minor updates, add a caret ( ^) before the version of your package:įor major updates follow up with the corresponding guide from the Release and Migrations reference guide overview. Configure your dependencies for upgradesĭepending on whether you want to update Gatsby and its dependencies for minor or patch releases you need to modify your package.json accordingly. This will output a table indicating which packages have new versions available and what is the latest version for each one. To start, you can run the outdated command to identify new releases for all your dependencies. Upgrading your dependencies often on minor or patch releases also helps you to make major upgrades easier and to identify soon-to-be-deprecated functionality or APIs. Why you should upgrade Gatsby and its dependenciesĮvery new version of every package comes with improvements on multiple categories from performance, accessibility, security, bug fixes, and more, so it is important to upgrade both Gatsby and its dependencies to get the latest improvements in every one of these categories. For major changes you can refer to the Release and Migrations reference guide overview for the corresponding guide to upgrade. This guide is meant to teach you how to upgrade Gatsby for minor or patch releases. Like many other packages, Gatsby uses semantic versioning to tag new versions and indicate what kind of changes are introduced in every new release. To keep up with the latest bug fixes, security patches, and minor releases from both Gatsby and its dependencies, you should upgrade often to the latest version of each one.
0 Comments
Read More
Leave a Reply. |