diff --git a/changelog.md b/changelog.md index a9dfc736a995..eb9b41e5048b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,99 @@ + +# 13.0.0 (2025-10-10) +[Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v12.8.2...v13.0.0) + +We expect this release to ship in the DevTools of [Chrome 143](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within a week. + +## New contributors + +Thanks to our new contributors 👽🐷🐰🐯🐻! + +- Benjamin R Gibson @brgibson +- Leonardo Poletto @leopoletto + +## Notable Changes + +* performance: remove audits replaced by [performance insights](https://developer.chrome.com/blog/moving-lighthouse-to-insights) ([#16729](https://github.com/GoogleChrome/lighthouse/pull/16729)) + +## Core + +* remove ResponseCompression artifact ([#16755](https://github.com/GoogleChrome/lighthouse/pull/16755)) +* remove OptimizedImages artifact ([#16754](https://github.com/GoogleChrome/lighthouse/pull/16754)) +* remove DOMStats artifact ([#16753](https://github.com/GoogleChrome/lighthouse/pull/16753)) +* remove CacheContents artifact ([#16752](https://github.com/GoogleChrome/lighthouse/pull/16752)) +* remove uses-passive-event-listeners audit ([#16751](https://github.com/GoogleChrome/lighthouse/pull/16751)) +* remove no-document-write audit ([#16750](https://github.com/GoogleChrome/lighthouse/pull/16750)) +* remove empty first-meaningful-paint audit ([#16749](https://github.com/GoogleChrome/lighthouse/pull/16749)) +* remove offscreen-images audit ([#16748](https://github.com/GoogleChrome/lighthouse/pull/16748)) +* remove some unused computed artifacts ([#16735](https://github.com/GoogleChrome/lighthouse/pull/16735)) +* defer to trace engine for lcp-breakdown, ttfb ([#16733](https://github.com/GoogleChrome/lighthouse/pull/16733)) +* error on unknown category in onlyCategories ([#16720](https://github.com/GoogleChrome/lighthouse/pull/16720)) +* remove preload-fonts, uses-rel-preload audits ([#16716](https://github.com/GoogleChrome/lighthouse/pull/16716)) +* remove third-party-facades audit ([#16710](https://github.com/GoogleChrome/lighthouse/pull/16710)) +* drop compat traces / devtoolsLogs artifacts ([#16708](https://github.com/GoogleChrome/lighthouse/pull/16708)) +* remove font-size audit ([#16701](https://github.com/GoogleChrome/lighthouse/pull/16701)) +* import json as modules ([#16700](https://github.com/GoogleChrome/lighthouse/pull/16700)) +* anchor-elements: don't consider ancestorListeners ([#16731](https://github.com/GoogleChrome/lighthouse/pull/16731)) +* dom-size-insight: add numericValue ([#16741](https://github.com/GoogleChrome/lighthouse/pull/16741)) +* emulation: always match host browser's version milestone ([#16677](https://github.com/GoogleChrome/lighthouse/pull/16677)) +* font-display-insight: disable entity sum for est. savings ([#16746](https://github.com/GoogleChrome/lighthouse/pull/16746)) +* image-delivery-insight: add node item for image ([#16714](https://github.com/GoogleChrome/lighthouse/pull/16714)) +* inspector-issues: remove empty arrays ([#16736](https://github.com/GoogleChrome/lighthouse/pull/16736)) +* legacy-javascript: update caniuse data ([#16699](https://github.com/GoogleChrome/lighthouse/pull/16699)) +* network-request: remove receiveHeadersStart M115 compat ([#16738](https://github.com/GoogleChrome/lighthouse/pull/16738)) +* scoring: adjust a11y weights and document approach ([#16624](https://github.com/GoogleChrome/lighthouse/pull/16624)) +* server-response-time: defer to Document Latency insight ([#16715](https://github.com/GoogleChrome/lighthouse/pull/16715)) +* trace-elements: remove unused event types ([#16734](https://github.com/GoogleChrome/lighthouse/pull/16734)) +* trace-elements: handle shadow roots ([#16718](https://github.com/GoogleChrome/lighthouse/pull/16718)) + +## CLI + +* improve description for `form-factor` flag ([#16682](https://github.com/GoogleChrome/lighthouse/pull/16682)) + +## Report + +* add adornment to audit description when not scored ([#13014](https://github.com/GoogleChrome/lighthouse/pull/13014)) + +## Deps + +* upgrade deps ([#16760](https://github.com/GoogleChrome/lighthouse/pull/16760)) +* remove parse-cache-control ([#16747](https://github.com/GoogleChrome/lighthouse/pull/16747)) +* upgrade trace_engine to 0.0.61 ([#16745](https://github.com/GoogleChrome/lighthouse/pull/16745)) +* upgrade @esbuild-kit/esm-loader to 2.6.5 ([#16730](https://github.com/GoogleChrome/lighthouse/pull/16730)) +* upgrade deps ([#16724](https://github.com/GoogleChrome/lighthouse/pull/16724)) +* upgrade trace_engine to 0.0.60 ([#16723](https://github.com/GoogleChrome/lighthouse/pull/16723)) +* remove es-main ([#16697](https://github.com/GoogleChrome/lighthouse/pull/16697)) +* bump chrome-launcher to 1.2.1 ([#16696](https://github.com/GoogleChrome/lighthouse/pull/16696)) +* upgrade testdouble, fix mock tests in Node 21+ ([#16664](https://github.com/GoogleChrome/lighthouse/pull/16664)) +* lighthouse-stack-packs: upgrade to 1.12.3 ([#16727](https://github.com/GoogleChrome/lighthouse/pull/16727)) + +## I18n + +* import ([#16759](https://github.com/GoogleChrome/lighthouse/pull/16759)) + +## Tests + +* update some comments ([#16744](https://github.com/GoogleChrome/lighthouse/pull/16744)) +* re-enable smoke test for lcp-breakdown-insight score ([#16743](https://github.com/GoogleChrome/lighthouse/pull/16743)) +* re-enable dom-size-insight node smoke test ([#16742](https://github.com/GoogleChrome/lighthouse/pull/16742)) +* enable smoke test for lcp lazy load in shadow tree ([#16739](https://github.com/GoogleChrome/lighthouse/pull/16739)) +* re-enable csp block smoke test, make less restrictive ([#16728](https://github.com/GoogleChrome/lighthouse/pull/16728)) +* re-enable startTimespan api test ([#16703](https://github.com/GoogleChrome/lighthouse/pull/16703)) +* devtools: sync e2e ([#16694](https://github.com/GoogleChrome/lighthouse/pull/16694)) +* server-response-time: enable lightrider test ([#16737](https://github.com/GoogleChrome/lighthouse/pull/16737)) +* viewer: re-enable test ([#16740](https://github.com/GoogleChrome/lighthouse/pull/16740)) + +## Misc + +* replace dead link for insecure origins deprecation ([#16711](https://github.com/GoogleChrome/lighthouse/pull/16711)) +* upgrade typescript target to es2023 ([#16316](https://github.com/GoogleChrome/lighthouse/pull/16316)) +* fix core/scripts/legacy-javascript/examine-latest-run.js ([#16706](https://github.com/GoogleChrome/lighthouse/pull/16706)) +* update min supported node version to 22.19 ([#16668](https://github.com/GoogleChrome/lighthouse/pull/16668)) +* fix typos in a11y i18n doc comments ([#16665](https://github.com/GoogleChrome/lighthouse/pull/16665)) +* build: update devtools 3p readme, document debug build ([#16695](https://github.com/GoogleChrome/lighthouse/pull/16695)) +* proto: add ConfigSettings fields ([#15616](https://github.com/GoogleChrome/lighthouse/pull/15616)) +* structured-data: remove dead link ([#16709](https://github.com/GoogleChrome/lighthouse/pull/16709)) + # 12.8.2 (2025-08-28) [Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v12.8.1...v12.8.2) 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 8edcd9f37c30..65ac9609391a 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": "12.8.2", + "lighthouseVersion": "13.0.0", "requestedUrl": "https://www.mikescerealshack.co/", "mainDocumentUrl": "https://www.mikescerealshack.co/", "finalDisplayedUrl": "https://www.mikescerealshack.co/", @@ -9261,7 +9261,7 @@ }, { "lhr": { - "lighthouseVersion": "12.8.2", + "lighthouseVersion": "13.0.0", "finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty", "fetchTime": "2025-02-05T01:31:50.141Z", "gatherMode": "timespan", @@ -13776,7 +13776,7 @@ }, { "lhr": { - "lighthouseVersion": "12.8.2", + "lighthouseVersion": "13.0.0", "finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty", "fetchTime": "2025-02-05T01:32:00.108Z", "gatherMode": "snapshot", @@ -19428,7 +19428,7 @@ }, { "lhr": { - "lighthouseVersion": "12.8.2", + "lighthouseVersion": "13.0.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 f5068fc86758..35eb4aad7816 100644 --- a/core/test/results/sample_v2.json +++ b/core/test/results/sample_v2.json @@ -1,5 +1,5 @@ { - "lighthouseVersion": "12.8.2", + "lighthouseVersion": "13.0.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 ae2ec1206f5b..231ad0405b43 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": "^12.8.2" + "lighthouse": "^13.0.0" }, "devDependencies": { - "lighthouse": "^12.8.2" + "lighthouse": "^13.0.0" } } ``` diff --git a/docs/recipes/lighthouse-plugin-example/package.json b/docs/recipes/lighthouse-plugin-example/package.json index bbb97535d2c6..da74bec96fa7 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": "^12.8.2" + "lighthouse": "^13.0.0" }, "devDependencies": { "lighthouse": "^8.6.0" diff --git a/package.json b/package.json index c8af93c2255a..d6fbd002c29a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lighthouse", "type": "module", - "version": "12.8.2", + "version": "13.0.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_non_hosted/lighthouse/navigation_test.ts b/third-party/devtools-tests/e2e_non_hosted/lighthouse/navigation_test.ts index 84f72076e4eb..c6c2a25d579d 100644 --- a/third-party/devtools-tests/e2e_non_hosted/lighthouse/navigation_test.ts +++ b/third-party/devtools-tests/e2e_non_hosted/lighthouse/navigation_test.ts @@ -78,7 +78,7 @@ describe('Navigation', function() { // 1 refresh after auditing to reset state assert.strictEqual(numNavigations, 5); - assert.strictEqual(lhr.lighthouseVersion, '12.8.2'); + assert.strictEqual(lhr.lighthouseVersion, '13.0.0'); assert.match(lhr.finalUrl, /^https:\/\/localhost:[0-9]+\/test\/e2e\/resources\/lighthouse\/hello.html/); assert.strictEqual(lhr.configSettings.throttlingMethod, 'simulate');