Skip to content

Commit a511e58

Browse files
authoredApr 22, 2024··
v12.0.0 (#15970)
1 parent d582de6 commit a511e58

File tree

7 files changed

+122
-10
lines changed

7 files changed

+122
-10
lines changed
 

‎changelog.md

+112
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,115 @@
1+
<a name="12.0.0"></a>
2+
# 12.0.0 (2024-04-22)
3+
[Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v11.7.1...v12.0.0)
4+
5+
We expect this release to ship in the DevTools of [Chrome 126](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks.
6+
7+
## New Contributors
8+
9+
Thanks to our new contributors 👽🐷🐰🐯🐻!
10+
11+
- Ashley Rich @A5hleyRich
12+
- MrAdib @JohnAdib
13+
14+
## Notable Changes
15+
16+
### PWA Category Removal
17+
18+
As per [Chrome’s updated Installability Criteria](https://developer.chrome.com/blog/update-install-criteria), Lighthouse [has removed the PWA category](https://github.com/GoogleChrome/lighthouse/pull/15455). For future PWA testing, users will be directed to use the [updated PWA documentation](https://developer.chrome.com/docs/devtools/progressive-web-apps/).
19+
20+
### SEO Category Reorganization
21+
22+
The SEO category has been updated to reflect the priorities of Google search in 2024. As such, several audits have been removed or moved to other categories:
23+
24+
* The `is-crawlable` audit is now weighted high enough to fail the SEO category on its own. ([#15933](https://github.com/GoogleChrome/lighthouse/pull/15933))
25+
* The `viewport` and `font-size` audits are no longer priorities for SEO, but are still important for UX in general so they have been moved to the best practices category. ([#15930](https://github.com/GoogleChrome/lighthouse/pull/15930))
26+
* The `plugins` audit is no longer a priority for SEO and has been removed. ([#15928](https://github.com/GoogleChrome/lighthouse/pull/15928))
27+
* The `tap-targets` audit is no longer a priority for SEO and has been replaced with the `target-size` audit in accessibility. ([#15906](https://github.com/GoogleChrome/lighthouse/pull/15906))
28+
29+
### Overall Savings Deprecation
30+
31+
The `overallSavingsMs` value on performance diagnostic audits has been deprecated ([#15902](https://github.com/GoogleChrome/lighthouse/pull/15902)). We recommend using `metricSavings.LCP` or `metricSavings.FCP` to understand the estimated metric savings of performance diagnostics.
32+
33+
### 🆕 New Audits
34+
35+
* The [`aria-conditional-attr`](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr), [`aria-deprecated-role`](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role) and [`aria-prohibited-attr`](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr) Axe checks have been added to the Lighthouse accessibility category. ([#15963](https://github.com/GoogleChrome/lighthouse/pull/15963))
36+
* The `redirects-http` audit has been brought back, but will only passively check for a http -> https redirect if the provided URL happens to be on http ([#13548](https://github.com/GoogleChrome/lighthouse/pull/13548))
37+
38+
### Other Audit Changes
39+
40+
* The `layout-shifts-elements` audit is removed. Improved layout shift information can be found in the `layout-shifts` audit. ([#15931](https://github.com/GoogleChrome/lighthouse/pull/15931))
41+
* The `no-unload-listeners` audit is removed. Unload listeners are deprecated and are still flagged in the `deprecations` and `bf-cache` audits. ([#15874](https://github.com/GoogleChrome/lighthouse/pull/15874))
42+
* The `duplicate-id-active` audit is removed because it's corresponding Axe check is deprecated. ([#15900](https://github.com/GoogleChrome/lighthouse/pull/15900))
43+
* The `uses-rel-preload` and `preload-fonts` audits have been moved to the experimental config. Preload advice is still on hold and these audits were already in a disabled state. ([#15876](https://github.com/GoogleChrome/lighthouse/pull/15876))
44+
45+
## 💥 Breaking Changes
46+
47+
* split up `CSSUsage` artifact ([#15952](https://github.com/GoogleChrome/lighthouse/pull/15952))
48+
* remove budgets ([#15950](https://github.com/GoogleChrome/lighthouse/pull/15950))
49+
* remove relevant audits lists from config ([#15878](https://github.com/GoogleChrome/lighthouse/pull/15878))
50+
* remove `ScriptElements` artifact ([#15879](https://github.com/GoogleChrome/lighthouse/pull/15879))
51+
* config: use explicit diagnostic group ([#15901](https://github.com/GoogleChrome/lighthouse/pull/15901))
52+
* service-worker: remove `service-worker` gatherer ([#15942](https://github.com/GoogleChrome/lighthouse/pull/15942))
53+
54+
## Core
55+
56+
* remove pre-v10 compat for page graph construction ([#15948](https://github.com/GoogleChrome/lighthouse/pull/15948))
57+
* a11y: re-enable target-size hidden audit ([#15888](https://github.com/GoogleChrome/lighthouse/pull/15888))
58+
* driver: add sendCommandAndIgnore ([#15913](https://github.com/GoogleChrome/lighthouse/pull/15913))
59+
* gather: handle crash if CDP target crashes ([#11840](https://github.com/GoogleChrome/lighthouse/pull/11840))
60+
* lantern: always use flexible network ordering ([#14612](https://github.com/GoogleChrome/lighthouse/pull/14612))
61+
* lantern: remove LR statistics ([#15946](https://github.com/GoogleChrome/lighthouse/pull/15946))
62+
* lantern: inline rtt constant ([#15944](https://github.com/GoogleChrome/lighthouse/pull/15944))
63+
* lantern: add LanternError and adapter to LH error ([#15937](https://github.com/GoogleChrome/lighthouse/pull/15937))
64+
* lantern: correct overlapping tasks in CPU nodes ([#15938](https://github.com/GoogleChrome/lighthouse/pull/15938))
65+
* lantern: duplicate isNonNetworkProtocol in lib/lantern ([#15936](https://github.com/GoogleChrome/lighthouse/pull/15936))
66+
* lantern: replace usage of LH.Artifacts.ProcessedTrace ([#15905](https://github.com/GoogleChrome/lighthouse/pull/15905))
67+
* lantern: move lantern metrics to lib/lantern ([#15875](https://github.com/GoogleChrome/lighthouse/pull/15875))
68+
* metric: remove gatherContext mode check ([#15899](https://github.com/GoogleChrome/lighthouse/pull/15899))
69+
* render-blocking: use trace engine as the source of truth ([#15839](https://github.com/GoogleChrome/lighthouse/pull/15839))
70+
* runner: use early return for readability ([#15914](https://github.com/GoogleChrome/lighthouse/pull/15914))
71+
* seo: support Persian in link-text audit ([#15949](https://github.com/GoogleChrome/lighthouse/pull/15949))
72+
* target-size: use binary display mode ([#15910](https://github.com/GoogleChrome/lighthouse/pull/15910))
73+
74+
## Report
75+
76+
* fix hidden audit handling for non-perf categories ([#15968](https://github.com/GoogleChrome/lighthouse/pull/15968))
77+
78+
## Deps
79+
80+
* upgrade `tldts-icann` to 6.1.16 ([#15967](https://github.com/GoogleChrome/lighthouse/pull/15967))
81+
* upgrade `third-party-web` to 0.24.2 ([#15966](https://github.com/GoogleChrome/lighthouse/pull/15966))
82+
* upgrade puppeteer to 22.6.5 ([#15951](https://github.com/GoogleChrome/lighthouse/pull/15951))
83+
84+
## Clients
85+
86+
* viewer: stop using legacy DOM api ([#15964](https://github.com/GoogleChrome/lighthouse/pull/15964))
87+
88+
## I18n
89+
90+
* import ([#15958](https://github.com/GoogleChrome/lighthouse/pull/15958))
91+
92+
## Docs
93+
94+
* bug-report: require users to read FAQs ([#14383](https://github.com/GoogleChrome/lighthouse/pull/14383))
95+
* readme: add DeploymentHawk to the list of integrations ([#15847](https://github.com/GoogleChrome/lighthouse/pull/15847))
96+
97+
## Tests
98+
99+
* refresh sample artifacts ([#15962](https://github.com/GoogleChrome/lighthouse/pull/15962))
100+
* invalidate devtools build cache ([#15947](https://github.com/GoogleChrome/lighthouse/pull/15947))
101+
* update network target type expectations ([#15916](https://github.com/GoogleChrome/lighthouse/pull/15916))
102+
103+
## Misc
104+
105+
* deduplicate all the dom helpers ([#15960](https://github.com/GoogleChrome/lighthouse/pull/15960))
106+
* merge changelog from branch-11 ([#15957](https://github.com/GoogleChrome/lighthouse/pull/15957))
107+
* remove `BenchmarkIndexes` base artifact ([#15941](https://github.com/GoogleChrome/lighthouse/pull/15941))
108+
* update public gatherer list ([#15940](https://github.com/GoogleChrome/lighthouse/pull/15940))
109+
* remove residual `lighthouse-cli` file ([#15935](https://github.com/GoogleChrome/lighthouse/pull/15935))
110+
* use "processing duration" instead of "processing time" for INP ([#15893](https://github.com/GoogleChrome/lighthouse/pull/15893))
111+
* treemap: fix column sorting when some values are blank ([#15959](https://github.com/GoogleChrome/lighthouse/pull/15959))
112+
1113
<a name="11.7.1"></a>
2114
# 11.7.1 (2024-04-08)
3115
[Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v11.7.0...v11.7.1)

‎core/test/fixtures/user-flows/reports/sample-flow-result.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"steps": [
33
{
44
"lhr": {
5-
"lighthouseVersion": "11.7.0",
5+
"lighthouseVersion": "12.0.0",
66
"requestedUrl": "https://www.mikescerealshack.co/",
77
"mainDocumentUrl": "https://www.mikescerealshack.co/",
88
"finalDisplayedUrl": "https://www.mikescerealshack.co/",
@@ -8359,7 +8359,7 @@
83598359
},
83608360
{
83618361
"lhr": {
8362-
"lighthouseVersion": "11.7.0",
8362+
"lighthouseVersion": "12.0.0",
83638363
"finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty",
83648364
"fetchTime": "2024-04-18T17:03:07.290Z",
83658365
"gatherMode": "timespan",
@@ -12322,7 +12322,7 @@
1232212322
},
1232312323
{
1232412324
"lhr": {
12325-
"lighthouseVersion": "11.7.0",
12325+
"lighthouseVersion": "12.0.0",
1232612326
"finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty",
1232712327
"fetchTime": "2024-04-18T17:03:17.899Z",
1232812328
"gatherMode": "snapshot",
@@ -17718,7 +17718,7 @@
1771817718
},
1771917719
{
1772017720
"lhr": {
17721-
"lighthouseVersion": "11.7.0",
17721+
"lighthouseVersion": "12.0.0",
1772217722
"requestedUrl": "https://www.mikescerealshack.co/corrections",
1772317723
"mainDocumentUrl": "https://www.mikescerealshack.co/corrections",
1772417724
"finalDisplayedUrl": "https://www.mikescerealshack.co/corrections",

‎core/test/results/sample_v2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lighthouseVersion": "11.7.0",
2+
"lighthouseVersion": "12.0.0",
33
"requestedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
44
"mainDocumentUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
55
"finalDisplayedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",

‎docs/plugins.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ A Lighthouse plugin is just a node module with a name that starts with `lighthou
6161
"type": "module",
6262
"main": "plugin.js",
6363
"peerDependencies": {
64-
"lighthouse": "^11.7.0"
64+
"lighthouse": "^12.0.0"
6565
},
6666
"devDependencies": {
67-
"lighthouse": "^11.7.0"
67+
"lighthouse": "^12.0.0"
6868
}
6969
}
7070
```

‎docs/recipes/lighthouse-plugin-example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"main": "./plugin.js",
66
"peerDependencies": {
7-
"lighthouse": "^11.7.0"
7+
"lighthouse": "^12.0.0"
88
},
99
"devDependencies": {
1010
"lighthouse": "^8.6.0"

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lighthouse",
33
"type": "module",
4-
"version": "11.7.0",
4+
"version": "12.0.0",
55
"description": "Automated auditing, performance metrics, and best practices for the web.",
66
"main": "./core/index.js",
77
"bin": {

‎third-party/devtools-tests/e2e/lighthouse/navigation_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe('Navigation', function() {
9595
// 1 refresh after auditing to reset state
9696
assert.strictEqual(numNavigations, 5);
9797

98-
assert.strictEqual(lhr.lighthouseVersion, '11.7.0');
98+
assert.strictEqual(lhr.lighthouseVersion, '12.0.0');
9999
assert.match(lhr.finalUrl, /^https:\/\/localhost:[0-9]+\/test\/e2e\/resources\/lighthouse\/hello.html/);
100100

101101
assert.strictEqual(lhr.configSettings.throttlingMethod, 'simulate');

0 commit comments

Comments
 (0)
Please sign in to comment.