From 8100b8034507e679c95b2fab5ab48965875443b6 Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Wed, 24 Nov 2021 16:05:51 -0800 Subject: [PATCH] v9.1.0 (#13431) --- changelog.md | 70 +++++++++++++++++++ docs/plugins.md | 4 +- docs/recipes/custom-audit/package.json | 2 +- docs/recipes/gulp/package.json | 2 +- .../lighthouse-plugin-example/package.json | 2 +- docs/releasing.md | 3 - lighthouse-core/test/results/sample_v2.json | 2 +- package.json | 2 +- .../lighthouse-emulate-run-expected.txt | 2 +- .../lighthouse-successful-run-expected.txt | 2 +- 10 files changed, 79 insertions(+), 12 deletions(-) diff --git a/changelog.md b/changelog.md index 211b99dfed47..1987e8e3dbc9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,73 @@ + +# 9.1.0 (2021-11-24) +[Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v9.0.0...v9.1.0) + +We expect this release to ship in the DevTools of [Chrome 98](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks. + +## New Contributors + +Thanks to our new contributors 👽🐷🐰🐯🐻! + +- @whitep4nth3r +- Adam Read @adamread + +## Notable Changes + +* If using Next.js, you will now see advice specific to it in some audits ([#13424](https://github.com/GoogleChrome/lighthouse/pull/13424)) + +## Core + +* canonical: remove cross-origin check ([#13412](https://github.com/GoogleChrome/lighthouse/pull/13412)) +* add original location to most usages of source-location ([#13393](https://github.com/GoogleChrome/lighthouse/pull/13393)) +* mindfully order properties in the lhr ([#13418](https://github.com/GoogleChrome/lighthouse/pull/13418)) +* ensure log-normal score is always in correct range ([#13392](https://github.com/GoogleChrome/lighthouse/pull/13392)) +* installable-manifest: pipeline-restarted check ([#13365](https://github.com/GoogleChrome/lighthouse/pull/13365)) + +## Report + +* remove margin when saving html in standalone report ([#13409](https://github.com/GoogleChrome/lighthouse/pull/13409)) +* consistent red display text ([#13391](https://github.com/GoogleChrome/lighthouse/pull/13391)) +* treemap: correct percentages when 0 bytes JS ([#13382](https://github.com/GoogleChrome/lighthouse/pull/13382)) + +## ⛏️👷 Fraggle Rock + + Support for auditing user flows ([#11313](https://github.com/GoogleChrome/lighthouse/issues/11313)) + +* rebaseline sample ([#13358](https://github.com/GoogleChrome/lighthouse/pull/13358)) +* report api ([#13374](https://github.com/GoogleChrome/lighthouse/pull/13374)) + +## Deps + +* remove browserify ([#13417](https://github.com/GoogleChrome/lighthouse/pull/13417)) +* update to typescript 4.5 ([#13399](https://github.com/GoogleChrome/lighthouse/pull/13399)) +* snyk: update snyk snapshot ([#13388](https://github.com/GoogleChrome/lighthouse/pull/13388)) + +## Clients + +* devtools: remove report.css ([#13377](https://github.com/GoogleChrome/lighthouse/pull/13377)) +* viewer: add support for flow reports ([#13260](https://github.com/GoogleChrome/lighthouse/pull/13260)) + +## I18n + +* import ([#13427](https://github.com/GoogleChrome/lighthouse/pull/13427)) + +## Docs + +* example to save flow as json ([#13415](https://github.com/GoogleChrome/lighthouse/pull/13415)) +* throttling: clarify throttle npm name ([#13371](https://github.com/GoogleChrome/lighthouse/pull/13371)) + +## Tests + +* fix undefined HTMLInputElement in bundle-test ([#13421](https://github.com/GoogleChrome/lighthouse/pull/13421)) +* make inline-fs-test not reliant on cwd ([#13420](https://github.com/GoogleChrome/lighthouse/pull/13420)) +* increase timeout for axe test ([#13386](https://github.com/GoogleChrome/lighthouse/pull/13386)) + +## Misc + +* build: replace browserify with rollup ([#13416](https://github.com/GoogleChrome/lighthouse/pull/13416), [#13406](https://github.com/GoogleChrome/lighthouse/pull/13406), [#13407](https://github.com/GoogleChrome/lighthouse/pull/13407), [#13408](https://github.com/GoogleChrome/lighthouse/pull/13408)) +* build: prevent over optimization of computeBenchmarkIndex ([#13366](https://github.com/GoogleChrome/lighthouse/pull/13366)) +* treemap: remove postMessage. refactor options input ([#13356](https://github.com/GoogleChrome/lighthouse/pull/13356)) + # 9.0.0 (2021-11-15) [Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v8.6.0...v9.0.0) diff --git a/docs/plugins.md b/docs/plugins.md index a956ead7796c..759f78aeef3f 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -60,10 +60,10 @@ A Lighthouse plugin is just a node module with a name that starts with `lighthou "name": "lighthouse-plugin-cats", "main": "plugin.js", "peerDependencies": { - "lighthouse": "^9.0.0" + "lighthouse": "^9.1.0" }, "devDependencies": { - "lighthouse": "^9.0.0" + "lighthouse": "^9.1.0" } } ``` diff --git a/docs/recipes/custom-audit/package.json b/docs/recipes/custom-audit/package.json index 8007b48ff822..29e0f37ac885 100644 --- a/docs/recipes/custom-audit/package.json +++ b/docs/recipes/custom-audit/package.json @@ -3,6 +3,6 @@ "private": true, "scripts": {}, "devDependencies": { - "lighthouse": "^9.0.0" + "lighthouse": "^9.1.0" } } diff --git a/docs/recipes/gulp/package.json b/docs/recipes/gulp/package.json index 365e17098507..6fce0c25a8a6 100644 --- a/docs/recipes/gulp/package.json +++ b/docs/recipes/gulp/package.json @@ -7,6 +7,6 @@ "devDependencies": { "gulp": "^3.9.1", "gulp-connect": "^5.0.0", - "lighthouse": "^9.0.0" + "lighthouse": "^9.1.0" } } diff --git a/docs/recipes/lighthouse-plugin-example/package.json b/docs/recipes/lighthouse-plugin-example/package.json index 8dfeb4f4e289..c068e571d325 100644 --- a/docs/recipes/lighthouse-plugin-example/package.json +++ b/docs/recipes/lighthouse-plugin-example/package.json @@ -3,7 +3,7 @@ "private": true, "main": "./plugin.js", "peerDependencies": { - "lighthouse": "^9.0.0" + "lighthouse": "^9.1.0" }, "devDependencies": { "lighthouse": "^8.6.0" diff --git a/docs/releasing.md b/docs/releasing.md index 6c8f8cf0f51e..e300986e7244 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -80,9 +80,6 @@ Now that the integrations are confirmed to work, go back to `lighthouse` folder. ```sh # Prepare the commit, replace x.x.x with the desired version bash ./lighthouse-core/scripts/release/prepare-commit.sh x.x.x - -# Rebaseline DevTools tests one more time (only version number should change). -yarn build-devtools && yarn update:test-devtools ``` 1. Edit changelog.md before opening the PR diff --git a/lighthouse-core/test/results/sample_v2.json b/lighthouse-core/test/results/sample_v2.json index 4be3e4055deb..196318375481 100644 --- a/lighthouse-core/test/results/sample_v2.json +++ b/lighthouse-core/test/results/sample_v2.json @@ -1,5 +1,5 @@ { - "lighthouseVersion": "9.0.0", + "lighthouseVersion": "9.1.0", "requestedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html", "finalUrl": "http://localhost:10200/dobetterweb/dbw_tester.html", "fetchTime": "2021-09-07T20:11:11.853Z", diff --git a/package.json b/package.json index 1c5e5332ef69..2ce90d35ec3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lighthouse", - "version": "9.0.0", + "version": "9.1.0", "description": "Automated auditing, performance metrics, and best practices for the web.", "main": "./lighthouse-core/index.js", "bin": { diff --git a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-emulate-run-expected.txt b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-emulate-run-expected.txt index c97c8076a73f..01f281aeba53 100644 --- a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-emulate-run-expected.txt +++ b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-emulate-run-expected.txt @@ -14,7 +14,7 @@ Generate report: enabled visible =============== Lighthouse Results =============== URL: http://127.0.0.1:8000/devtools/lighthouse/resources/lighthouse-emulate-pass.html -Version: 9.0.0 +Version: 9.1.0 formFactor: mobile screenEmulation: { "mobile": true, diff --git a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-run-expected.txt b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-run-expected.txt index 8b89766094ab..89cb0e973ab2 100644 --- a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-run-expected.txt +++ b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-run-expected.txt @@ -376,7 +376,7 @@ Generating results... =============== Lighthouse Results =============== URL: http://127.0.0.1:8000/devtools/lighthouse/resources/lighthouse-basic.html -Version: 9.0.0 +Version: 9.1.0 ViewportDimensions: { "innerWidth": 980, "innerHeight": 1743,