From 680ec8cbddd2b2193b065785391389cc116e0f67 Mon Sep 17 00:00:00 2001 From: Adam Raine <6752989+adamraine@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:26:01 -0800 Subject: [PATCH] v11.4.0 (#15687) --- changelog.md | 82 +++++++++++++++++++ .../reports/sample-flow-result.json | 8 +- core/test/results/sample_v2.json | 2 +- docs/plugins.md | 4 +- .../lighthouse-plugin-example/package.json | 2 +- package.json | 2 +- .../e2e/lighthouse/navigation_test.ts | 2 +- 7 files changed, 92 insertions(+), 10 deletions(-) diff --git a/changelog.md b/changelog.md index 7b93359bd9ba..6b9c87380a4d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,85 @@ + +# 11.4.0 (2023-12-11) +[Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v11.3.0...v11.4.0) + +We expect this release to ship in the DevTools of [Chrome 122](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks. + +## New Contributors + +Thanks to our new contributors 👽🐷🐰🐯🐻! + +- avinash-sd @avinash-sd + +## New Audits + +Chrome plans to remove support for third-party cookies which can be detected using a new Lighthouse audit. [Learn more about phasing out third-party cookies](https://developer.chrome.com/en/docs/privacy-sandbox/third-party-cookie-phase-out/). ([#15632](https://github.com/GoogleChrome/lighthouse/pull/15632)) + +## Core + +* reintroduce resource-summary as a hidden audit ([#15597](https://github.com/GoogleChrome/lighthouse/pull/15597)) +* move transfer ratio estimate to script-helpers.js ([#15665](https://github.com/GoogleChrome/lighthouse/pull/15665)) +* set network responseHeadersText from extra info event ([#15639](https://github.com/GoogleChrome/lighthouse/pull/15639)) +* fix check for presence of all URL artifact fields ([#15648](https://github.com/GoogleChrome/lighthouse/pull/15648)) +* fix worker request expectations for M121 ([#15601](https://github.com/GoogleChrome/lighthouse/pull/15601)) +* aria-allowed-role: fix typo in learn more link ([#15633](https://github.com/GoogleChrome/lighthouse/pull/15633)) +* bf-cache: add warning and hide when using old headless ([#15577](https://github.com/GoogleChrome/lighthouse/pull/15577)) +* bf-cache: change to use binary scoring mode ([#15581](https://github.com/GoogleChrome/lighthouse/pull/15581)) +* bootup-time: exclude _lighthouse-eval.js ([#15678](https://github.com/GoogleChrome/lighthouse/pull/15678)) +* byte-efficiency: replace pessimistic graph with optimistic ([#15651](https://github.com/GoogleChrome/lighthouse/pull/15651)) +* css-usage: exclude empty stylesheets ([#15679](https://github.com/GoogleChrome/lighthouse/pull/15679)) +* duplicated-javascript: exclude header size for estimating wasted bytes ([#15667](https://github.com/GoogleChrome/lighthouse/pull/15667)) +* emulation: bump chrome UA to m119 ([#15661](https://github.com/GoogleChrome/lighthouse/pull/15661)) +* entity-classification: update tldts package to icann subset ([#15660](https://github.com/GoogleChrome/lighthouse/pull/15660)) +* entity-classification: integrate public-suffix-list into LH ([#15641](https://github.com/GoogleChrome/lighthouse/pull/15641)) +* lantern: refactor fcp graph method signatures ([#15572](https://github.com/GoogleChrome/lighthouse/pull/15572)) +* layout-shift-elements: mention windowing in description ([#15680](https://github.com/GoogleChrome/lighthouse/pull/15680)) +* layout-shift-elements: aggregate all remaining elements ([#15593](https://github.com/GoogleChrome/lighthouse/pull/15593)) +* legacy-javascript: exclude header size for estimating wasted bytes ([#15640](https://github.com/GoogleChrome/lighthouse/pull/15640)) +* minification-estimator: add `else` to punctuation ([#15624](https://github.com/GoogleChrome/lighthouse/pull/15624)) +* mpfid: add list of loaf durations to debugdata ([#15685](https://github.com/GoogleChrome/lighthouse/pull/15685)) +* mpfid: add max LoAFs to debugdata ([#15684](https://github.com/GoogleChrome/lighthouse/pull/15684)) +* third-party-summary: expands the audit to include all urls ([#15611](https://github.com/GoogleChrome/lighthouse/pull/15611)) +* trace-elements: remove element score field ([#15677](https://github.com/GoogleChrome/lighthouse/pull/15677)) +* unminified-javascript: exclude header size for estimating wasted bytes ([#15670](https://github.com/GoogleChrome/lighthouse/pull/15670)) +* unused-javascript: exclude header size for estimating wasted bytes ([#15668](https://github.com/GoogleChrome/lighthouse/pull/15668)) +* uses-http2: include multiplexable assets when 1p is a known 3p origin ([#15638](https://github.com/GoogleChrome/lighthouse/pull/15638)) + +## Report + +* blend impact and guidance level to sort audits ([#15669](https://github.com/GoogleChrome/lighthouse/pull/15669)) +* fix sticky table if no sticky header ([#15666](https://github.com/GoogleChrome/lighthouse/pull/15666)) +* occupy entire viewport ([#15664](https://github.com/GoogleChrome/lighthouse/pull/15664)) +* remove accidental console.log() ([#15635](https://github.com/GoogleChrome/lighthouse/pull/15635)) +* prevent shift when hovering third party row ([#15628](https://github.com/GoogleChrome/lighthouse/pull/15628)) +* add timespan/snapshot mode labels to footer ([#15589](https://github.com/GoogleChrome/lighthouse/pull/15589)) + +## Deps + +* upgrade `third-party-web` to 0.24.1 ([#15683](https://github.com/GoogleChrome/lighthouse/pull/15683)) +* upgrade puppeteer to 21.5.2 ([#15645](https://github.com/GoogleChrome/lighthouse/pull/15645)) + +## Clients + +* lr: modify puppeteer connector to work with new tab targets ([#15674](https://github.com/GoogleChrome/lighthouse/pull/15674)) + +## I18n + +* import ([#15682](https://github.com/GoogleChrome/lighthouse/pull/15682)) + +## Tests + +* lower bootup-time threshold in api-test-pptr.js ([#15649](https://github.com/GoogleChrome/lighthouse/pull/15649)) +* use bash instead of sh to call test-recipes.sh ([#15647](https://github.com/GoogleChrome/lighthouse/pull/15647)) +* ci: resume using ToT chrome ([#15655](https://github.com/GoogleChrome/lighthouse/pull/15655)) +* ci: hardcode ToT revision to unblock ci for now ([#15653](https://github.com/GoogleChrome/lighthouse/pull/15653)) +* dbw: add unload handler deprecation ([#15608](https://github.com/GoogleChrome/lighthouse/pull/15608)) + +## Misc + +* improve download-chrome.sh usability ([#15646](https://github.com/GoogleChrome/lighthouse/pull/15646)) +* support mac arm64 in download-chrome.sh ([#15650](https://github.com/GoogleChrome/lighthouse/pull/15650)) +* treemap: remove unused firebase ([#15617](https://github.com/GoogleChrome/lighthouse/pull/15617)) + # 11.3.0 (2023-11-02) [Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v11.2.0...v11.3.0) diff --git a/core/test/fixtures/user-flows/reports/sample-flow-result.json b/core/test/fixtures/user-flows/reports/sample-flow-result.json index c7859062032c..67d76e1e40c9 100644 --- a/core/test/fixtures/user-flows/reports/sample-flow-result.json +++ b/core/test/fixtures/user-flows/reports/sample-flow-result.json @@ -2,7 +2,7 @@ "steps": [ { "lhr": { - "lighthouseVersion": "11.3.0", + "lighthouseVersion": "11.4.0", "requestedUrl": "https://www.mikescerealshack.co/", "mainDocumentUrl": "https://www.mikescerealshack.co/", "finalDisplayedUrl": "https://www.mikescerealshack.co/", @@ -8588,7 +8588,7 @@ }, { "lhr": { - "lighthouseVersion": "11.3.0", + "lighthouseVersion": "11.4.0", "finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty", "fetchTime": "2023-01-13T23:27:51.982Z", "gatherMode": "timespan", @@ -12726,7 +12726,7 @@ }, { "lhr": { - "lighthouseVersion": "11.3.0", + "lighthouseVersion": "11.4.0", "finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty", "fetchTime": "2023-01-13T23:28:01.888Z", "gatherMode": "snapshot", @@ -17948,7 +17948,7 @@ }, { "lhr": { - "lighthouseVersion": "11.3.0", + "lighthouseVersion": "11.4.0", "requestedUrl": "https://www.mikescerealshack.co/corrections", "mainDocumentUrl": "https://www.mikescerealshack.co/corrections", "finalDisplayedUrl": "https://www.mikescerealshack.co/corrections", diff --git a/core/test/results/sample_v2.json b/core/test/results/sample_v2.json index 096990f6115f..d1def1d88d01 100644 --- a/core/test/results/sample_v2.json +++ b/core/test/results/sample_v2.json @@ -1,5 +1,5 @@ { - "lighthouseVersion": "11.3.0", + "lighthouseVersion": "11.4.0", "requestedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html", "mainDocumentUrl": "http://localhost:10200/dobetterweb/dbw_tester.html", "finalDisplayedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html", diff --git a/docs/plugins.md b/docs/plugins.md index 3d746f1e179a..f0e8a43a2fb1 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -61,10 +61,10 @@ A Lighthouse plugin is just a node module with a name that starts with `lighthou "type": "module", "main": "plugin.js", "peerDependencies": { - "lighthouse": "^11.3.0" + "lighthouse": "^11.4.0" }, "devDependencies": { - "lighthouse": "^11.3.0" + "lighthouse": "^11.4.0" } } ``` diff --git a/docs/recipes/lighthouse-plugin-example/package.json b/docs/recipes/lighthouse-plugin-example/package.json index f2a00a7734af..9e5e8ee8f47b 100644 --- a/docs/recipes/lighthouse-plugin-example/package.json +++ b/docs/recipes/lighthouse-plugin-example/package.json @@ -4,7 +4,7 @@ "type": "module", "main": "./plugin.js", "peerDependencies": { - "lighthouse": "^11.3.0" + "lighthouse": "^11.4.0" }, "devDependencies": { "lighthouse": "^8.6.0" diff --git a/package.json b/package.json index 0bdd33388fc6..a7f14c13b1da 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lighthouse", "type": "module", - "version": "11.3.0", + "version": "11.4.0", "description": "Automated auditing, performance metrics, and best practices for the web.", "main": "./core/index.js", "bin": { diff --git a/third-party/devtools-tests/e2e/lighthouse/navigation_test.ts b/third-party/devtools-tests/e2e/lighthouse/navigation_test.ts index 32a77d0ccc4a..98ba1c6f774d 100644 --- a/third-party/devtools-tests/e2e/lighthouse/navigation_test.ts +++ b/third-party/devtools-tests/e2e/lighthouse/navigation_test.ts @@ -97,7 +97,7 @@ describe('Navigation', async function() { // 1 refresh after auditing to reset state assert.strictEqual(numNavigations, 5); - assert.strictEqual(lhr.lighthouseVersion, '11.3.0'); + assert.strictEqual(lhr.lighthouseVersion, '11.4.0'); assert.match(lhr.finalUrl, /^https:\/\/localhost:[0-9]+\/test\/e2e\/resources\/lighthouse\/hello.html/); assert.strictEqual(lhr.configSettings.throttlingMethod, 'simulate');