22.0.0 - 2022-02-07
Breaking changes
- If you use the Lightouse plugin there's breaking changes:
In the new version we drop support for the following:
- Running multiple runs with Lighthouse.
- Using scripts to login the user (or whatever you need before you run your tests)
It's a couple of reasons why I remove those features: - I been looking for a maintainer of the Lighthouse plugin for +1 year and I haven't found one. For me to be able to maintain it I want the plugin to be as simple as possible.
- I deeply regret merging the PR for adding multiple runs for Lighthouse. That PR goes against everything I know about measuring performance. Lighthouse is not built for getting correct performance metrics, it's built to help (Chrome) developers to get insights how they make the page "faster". Lets stick to the basics and keep it possible to get those recommendations from Lighthouse.
- Maybe someday Lighthouse will have support for user journeys, lets wait until that is officially supported and then I can check if it could be used in the plugin.
With the new release we also break how you configure Lighthouse. People has had problem with that since day 1. With the new version we support two new ways to configure Lighthouse:
- By configuration JSON file.
--lighthouse.config config.js
- By Lightouse flags file.
--lighthouse.flags flag.json
If you don't need to configure Lightouse you can use the default settings both for desktop and mobile. If you run without any settings, the plugin will use desktop settings. If you run with --mobile
, --android
or --ios
the mobile settings will be used.
Added
- Build Docker containers for both amd64 and arm64 to make containers work on Mac M1. The arm container contains Firefox and Chromium. Thank you whichfinder and Radu Micu for the help! Fixed in PR #3554.
- When plugins is loaded, there's a new extra last step where we try to load the plugin as a globally installed npm module #3546.
Fixed
- Fix so that we do not display the same 3rd party cookie multiple times #3545.
- Updated Coach Core that includes the latest version of third party web and PageXray that find more fonts without mime type.