NOTE: This changelog only contains release notes for PWA Studio 5.0.1. For older release notes, see PWA Studio releases.
PWA Studio 5.0.1 is a patch release to fix an Image loading issue and cache persistence issue.
Description | Change type | PR |
---|---|---|
Fix images not loading correctly | Bugfix | #2164 |
Description | Change type | PR |
---|---|---|
Prevent invalid mutation caching | Bugfix | #2176 |
The method for updating to 5.0.1 from a previous version depends on how PWA Studio is incorporated into your project. The following are common use cases we have identified and how to update the project code.
Many PWA Studio users have forked the PWA Studio Git repository. Even though their codebase may have diverged a great deal from the current codebase, there is still a Git relationship.
Pull and Merge the changes from the upstream repository using Git. Most of the conflicts will be in components that we have fully refactored.
We recommend merging the library code we changed and updating component calls with any new prop signatures introduced in this version.
Some PWA Studio users have copied parts of the code into their own projects. This is similar to the Git workflow, but without the merging tools Git provides.
Updating this code involves manually copying updates for the code they use. New code may also need to be copied over if the updated code depends on it.
This method can be a chore, and we hope that some of the features in 5.0.0 will help these users migrate to a package management approach.
Some users have imported the PWA Studio libraries using NPM. This is the easiest way to work with the released versions of PWA Studio.
To upgrade to 5.0.1, update the project's package.json
file and change the dependency version for PWA Studio.