Update: SuperPWA 2.0.1
Hello PWA lovers!
We have missed you too. Hope you all are having a peaceful holiday season, sipping some fine eggnog and enjoying the company of dear ones.
Before we get into the details of the release, we wish you a very happy new year. It’s a time to reflect on 2018 and plan for life goals in 2019.
Daniel is a WordPress developer from Bengaluru, India and will be helping to make SuperPWA better than ever.
We met Daniel on twitter a few months back, one thing to led to another and a collaboration was born!
During our first call, I asked him what his first name was and turns out that “Maria Daniel Deepak” is his entire “first” name. There is more. Plenty more!
Daniel has already contributed to SuperPWA 2.0 in a big way and there will be plenty more to come in the upcoming months.
Daniel, welcome to team SuperPWA 🙂
This is the biggest enhancement in this update.
Up until now, SuperPWA generated manifest and service worker as physical files in the root directly of your website. Starting with 2.0, these files are dynamic and are generated on the fly.
What does this mean to you? Hopefully for most of you guys, it shouldn’t make any difference. The transition should be seamless. Please take the time to test your PWA and let us know if something comes up.
The big impact would be for those of you who couldn’t use SuperPWA before because of write permission restrictions, this should come as a blessing and you will be able to use SuperPWA.
Dynamic files also make it possible to use SuperPWA when your WordPress is installed in a folder.
In SuperPWA 2.0 you have the option to set the “Display” mode for your PWA. Display mode decides what browser UI is shown when your app is launched.
Until this point, display mode was hard coded as “standalone” which worked for a wide variety of use cases. Now you can choose of of these options:
What’s the difference between each of these you ask? We have it covered in another article here: Web App Manifest Display Modes
At the time of writing, SuperPWA is fully translated to 12 world languages and partially translated to 4 languages. All of these by the awesome polyglot community!
Thanks to these awesome translators!
There are more contributors and contributions pending review from an editor. If you are an editor, or know one, please request them to take a look at the translate.wordpress.org page for SuperPWA.
Here is the complete changelog of SuperPWA 2.0.
Dynamic files in SuperPWA 2.0 needed certain changes with certain web servers and also needed to be excluded from caching plugins.
2.0.1 adds back the old method of static files making SuperPWA work out of the box in these conditions.
It’s a minor release, but a lot of work and testing has gone into it to accommodate both static and dynamic files in one plugin.