Released on July 2nd, 2019
In this release, we've enhanced the Mobify Platform by upgrading to the latest version of React, improving the PWA scaffold, and providing Early Access to the new Analytics Manager. For Native Apps, we've updated Mobify's native app framework to meet new Google Play requirements.
The following packages have been updated:
From now on, version numbers for related packages, such as
test-framework will be synchronized.
Progressive Web Apps (PWAs)
Analytics Integrations (Early Access)
Our legacy Analytics Manager implementation was a bit too "magical," meaning that a lot of its implementation logic was encapsulated and hidden away from developers. To make this interface better understood by developers, we've redesigned and shipped a brand new Analytics Manager interface that is implemented in a more explicit manner. From now on, the new interface will be referred to as the Analytics Integrations.
We've also released an initial set of API documentation alongside our new interface, with more documentation and guides soon to follow.
Target Management API (Early Access)
When starting a new Mobify project, some of the key tasks involve understanding how many development and test targets you need, and asking Mobify Support to create and configure these targets for you. In an effort to reduce the friction of getting started, we’ve developed an API that gives you the ability to create your own Mobify targets, plus an API that enables you to update the configuration of any existing Mobify targets.
These APIs are available as Early Access features and we’d love to hear your feedback on how they can be improved. Please refer to our guide on Target Management APIs for information on how to access these APIs. Expect a comprehensive user guide as part of our next release.
Request Processor: New Documentation
In the last release, we informed you about a new feature called the request processor. In this release, we’ve developed a new guide that will introduce you to some powerful ways you can use the request processor to improve your server-side rendered PWA’s performance. Read our guide, Using the Request Processor to Optimize CDN Caching, to find general guidance plus several code examples.
Mobify Test Framework
Nightwatch update to 1.1.12
The Mobify Test Framework has now been bumped to use Nightwatch 1.1.12, solving some security vulnerabilites from the previous version. Our custom Nightwatch commands using Mobify Preview have also been merged into this framework so there are no breaking changes.
React Version Update
The PWA SDK, PWA Scaffold, and Commerce Integrations SDK have all upgraded to version 16.8.6 of React, giving developers access to all the latest and greatest features React has to offer.
Developer Experience Enhancements
We've reduced the overall installation time for the Mobify Platform in two ways:
- Omitting documentation from the build process
- Removing unused package dependencies: 26 from the PWA Scaffold and 10 from the PWA SDK
A new command has been added for developers wanting to start their development server for a project loaded with the Mobify Tag:
npm run tag-loaded.
We've changed our Node Package Manager (npm) and Node version checker to make it easier to get up and running. The Mobify Platform previously required users to have Node version 8.10.10 along with npm version 5.7.1 to install the platform. However, we recognize that it can be difficult for developers to get the correct versions of both npm and Node for a variety of reasons, so we have removed this hard requirement. Instead of throwing errors, the version checker will now throw warnings.
Android API support
Google Play updated their target API level requirements. Google Play will require new app submissions to target at least Android API level 28 starting August 1st 2019, and app updates to target the same API level starting November 1st, 2019. To prepare for this new requirement, Mobify's native app framework has been updated to target and support Android API level 28.
Progressive Web Apps
- Fixed a broken startup message when developers would start up their server side rendered development server
- Reduced the verbosity of logging when installing the Mobify Platform
- Adjusted the default setting for DownloadTracker logging which was incorrectly set to always log to the developer console