From 9fec4e0f0c7dd025501868b4a499e779045e3d13 Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Mon, 9 May 2022 16:33:23 -0700 Subject: [PATCH] v9.6.0 --- changelog.md | 50 +++++++++++++++++++ docs/plugins.md | 4 +- docs/recipes/custom-audit/package.json | 2 +- docs/recipes/gulp/package.json | 2 +- .../lighthouse-plugin-example/package.json | 2 +- .../reports/sample-flow-result.json | 21 +++++--- lighthouse-core/test/results/sample_v2.json | 2 +- package.json | 2 +- .../lighthouse-emulate-run-expected.txt | 2 +- ...hthouse-successful-navigation-expected.txt | 2 +- .../lighthouse-successful-run-expected.txt | 2 +- 11 files changed, 74 insertions(+), 17 deletions(-) diff --git a/changelog.md b/changelog.md index c418eeeb2ef7..3282a829b828 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,53 @@ + +# 9.6.0 (2022-05-09) +[Full Changelog](https://github.com/compare/v9.5.0...v9.6.0) + +We expect this release to ship in the DevTools of [Chrome 103](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks. + +## New Audits + +* The new performance metric [Interaction to Next Paint (INP)](https://web.dev/inp/) assesses responsiveness by measuring the latency of interactions throughout the page lifecycle. INP can be measured using Lighthouse timespan mode accessible through [user flows](https://github.com/GoogleChrome/lighthouse/blob/master/docs/user-flows.md) or the [new DevTools panel](https://developer.chrome.com/blog/new-in-devtools-101/#lighthouse). ([#13917](https://github.com/GoogleChrome/lighthouse/pull/13917)) + +## Core + +* extract BootupTime task summary methods ([#13971](https://github.com/GoogleChrome/lighthouse/pull/13971)) +* css-usage: fetch stylesheet contents immediately after discovery ([#13887](https://github.com/GoogleChrome/lighthouse/pull/13887)) +* installability-errors: add url scheme error ([#13846](https://github.com/GoogleChrome/lighthouse/pull/13846)) +* installable-manifest: always run `InstallabilityErrors` in legacy mode ([#13622](https://github.com/GoogleChrome/lighthouse/pull/13622)) +* responsiveness: use new EventTiming trace event format ([#13979](https://github.com/GoogleChrome/lighthouse/pull/13979)) +* responsiveness: use raw trace event ([#13970](https://github.com/GoogleChrome/lighthouse/pull/13970)) +* trace: use tracing-started event for frame tree info ([#13913](https://github.com/GoogleChrome/lighthouse/pull/13913)) +* trace: add PrePaint event, renamed from UpdateLayerTree ([#13950](https://github.com/GoogleChrome/lighthouse/pull/13950)) +* trace-processor: ignore `navigationStart` with falsy document url ([#13848](https://github.com/GoogleChrome/lighthouse/pull/13848)) +* resolve redirected script records ([#13751](https://github.com/GoogleChrome/lighthouse/pull/13751)) +* deprecations: drop compat for ConsoleMessages ([#13893](https://github.com/GoogleChrome/lighthouse/pull/13893)) +* deprecations: hard-code english strings ([#13961](https://github.com/GoogleChrome/lighthouse/pull/13961)) + +## Report + +* hide disclaimer text in timespan ([#13931](https://github.com/GoogleChrome/lighthouse/pull/13931)) +* psi: stub out locale swapping ([#13885](https://github.com/GoogleChrome/lighthouse/pull/13885)) +* report: render notApplicable metrics with double dash ([#13981](https://github.com/GoogleChrome/lighthouse/pull/13981)) + +## Deps + +* upgrade third-party-web ([#13873](https://github.com/GoogleChrome/lighthouse/pull/13873)) +* update to third-party-web 0.15.0 ([#13804](https://github.com/GoogleChrome/lighthouse/pull/13804)) +* axe-core: upgrade to 4.4.1 ([#13814](https://github.com/GoogleChrome/lighthouse/pull/13814)) +* js-library-detector: upgrade to 6.5.0 ([#13969](https://github.com/GoogleChrome/lighthouse/pull/13969)) +* lighthouse-stack-packs: upgrade to 1.8.1 ([#13862](https://github.com/GoogleChrome/lighthouse/pull/13862)) +* snyk: update snyk snapshot ([#13823](https://github.com/GoogleChrome/lighthouse/pull/13823), [#13880](https://github.com/GoogleChrome/lighthouse/pull/13880)) +* lodash: use individual lodash modules to reduce bundle size ([#13914](https://github.com/GoogleChrome/lighthouse/pull/13914)) +* puppeteer: upgrade to 13.7.0 ([#13657](https://github.com/GoogleChrome/lighthouse/pull/13657)) + +## Tests + +* upgrade devtools web tests deps, use python3 ([#13782](https://github.com/GoogleChrome/lighthouse/pull/13782)) +* update create-test-trace utility ([#13942](https://github.com/GoogleChrome/lighthouse/pull/13942)) +* rebaseline webtests ([#13963](https://github.com/GoogleChrome/lighthouse/pull/13963)) +* smoke: remove old chrome version checks ([#13903](https://github.com/GoogleChrome/lighthouse/pull/13903)) +* smoke: support full chrome version for pruning ([#13896](https://github.com/GoogleChrome/lighthouse/pull/13896)) + # 9.5.0 (2022-03-09) [Full Changelog](https://github.com/compare/v9.4.0...v9.5.0) diff --git a/docs/plugins.md b/docs/plugins.md index 327688e0723e..290a18c39fa2 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.5.0" + "lighthouse": "^9.6.0" }, "devDependencies": { - "lighthouse": "^9.5.0" + "lighthouse": "^9.6.0" } } ``` diff --git a/docs/recipes/custom-audit/package.json b/docs/recipes/custom-audit/package.json index 49de8347d904..3dabb8d036c0 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.5.0" + "lighthouse": "^9.6.0" } } diff --git a/docs/recipes/gulp/package.json b/docs/recipes/gulp/package.json index d8e6455220ff..427b45542873 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.5.0" + "lighthouse": "^9.6.0" } } diff --git a/docs/recipes/lighthouse-plugin-example/package.json b/docs/recipes/lighthouse-plugin-example/package.json index 68ee2cf7a274..80edf088470a 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.5.0" + "lighthouse": "^9.6.0" }, "devDependencies": { "lighthouse": "^8.6.0" diff --git a/lighthouse-core/test/fixtures/fraggle-rock/reports/sample-flow-result.json b/lighthouse-core/test/fixtures/fraggle-rock/reports/sample-flow-result.json index 0392cd58aa48..6d158c45c6fe 100644 --- a/lighthouse-core/test/fixtures/fraggle-rock/reports/sample-flow-result.json +++ b/lighthouse-core/test/fixtures/fraggle-rock/reports/sample-flow-result.json @@ -2,7 +2,7 @@ "steps": [ { "lhr": { - "lighthouseVersion": "9.5.0", + "lighthouseVersion": "9.6.0", "requestedUrl": "https://www.mikescerealshack.co/", "finalUrl": "https://www.mikescerealshack.co/", "fetchTime": "2022-03-08T15:35:57.356Z", @@ -7549,7 +7549,7 @@ }, { "lhr": { - "lighthouseVersion": "9.5.0", + "lighthouseVersion": "9.6.0", "requestedUrl": "https://www.mikescerealshack.co/", "finalUrl": "https://www.mikescerealshack.co/search?q=call+of+duty", "fetchTime": "2022-03-08T15:36:08.267Z", @@ -8666,7 +8666,7 @@ { "mainThreadTime": 0, "blockingTime": 0, - "transferSize": 3888, + "transferSize": 25228, "entity": { "type": "link", "text": "Algolia", @@ -8674,12 +8674,19 @@ }, "subItems": { "type": "subitems", - "items": [] + "items": [ + { + "url": "https://mnl4bjjsnz-dsn.algolia.net/1/indexes/dev_OFFICE_SCENES/query", + "mainThreadTime": 0, + "blockingTime": 0, + "transferSize": 25228 + } + ] } } ], "summary": { - "wastedBytes": 3888, + "wastedBytes": 25228, "wastedMs": 0 } } @@ -11003,7 +11010,7 @@ }, { "lhr": { - "lighthouseVersion": "9.5.0", + "lighthouseVersion": "9.6.0", "requestedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty", "finalUrl": "https://www.mikescerealshack.co/search?q=call+of+duty", "fetchTime": "2022-03-08T15:36:22.894Z", @@ -15811,7 +15818,7 @@ }, { "lhr": { - "lighthouseVersion": "9.5.0", + "lighthouseVersion": "9.6.0", "requestedUrl": "https://www.mikescerealshack.co/corrections", "finalUrl": "https://www.mikescerealshack.co/corrections", "fetchTime": "2022-03-08T15:36:29.745Z", diff --git a/lighthouse-core/test/results/sample_v2.json b/lighthouse-core/test/results/sample_v2.json index 6cdf59f61697..80466ed00d6c 100644 --- a/lighthouse-core/test/results/sample_v2.json +++ b/lighthouse-core/test/results/sample_v2.json @@ -1,5 +1,5 @@ { - "lighthouseVersion": "9.5.0", + "lighthouseVersion": "9.6.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 534b9d9df06f..4a21320adf7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lighthouse", - "version": "9.5.0", + "version": "9.6.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 e3c21aa05e35..0ed32daa19b3 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 @@ -15,7 +15,7 @@ Generate report: enabled visible =============== Lighthouse Results =============== URL: http://127.0.0.1:8000/devtools/lighthouse/resources/lighthouse-emulate-pass.html -Version: 9.5.0 +Version: 9.6.0 formFactor: mobile screenEmulation: { "mobile": true, diff --git a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-navigation-expected.txt b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-navigation-expected.txt index 23a27654ba98..326ec8f55694 100644 --- a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-navigation-expected.txt +++ b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-navigation-expected.txt @@ -261,7 +261,7 @@ Generating results... =============== Lighthouse Results =============== URL: http://127.0.0.1:8000/devtools/lighthouse/resources/lighthouse-basic.html -Version: 9.5.0 +Version: 9.6.0 ViewportDimensions: { "innerWidth": 980, "innerHeight": 1743, 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 42be46e7129c..e98aa24937d5 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 @@ -372,7 +372,7 @@ Generating results... =============== Lighthouse Results =============== URL: http://127.0.0.1:8000/devtools/lighthouse/resources/lighthouse-basic.html -Version: 9.5.0 +Version: 9.6.0 ViewportDimensions: { "innerWidth": 980, "innerHeight": 1743,