components
components copied to clipboard
build: update dependency lighthouse to v12
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| lighthouse | devDependencies | major | ~11.7.0 -> ~12.6.0 |
Release Notes
GoogleChrome/lighthouse (lighthouse)
v12.6.0
We expect this release to ship in the DevTools of Chrome 137, and to PageSpeed Insights within a few days.
New contributors
Thanks to our new contributors π½π·π°π―π»!
Jack Franklin @βjackfranklin Rob Kodey @βrkodey ClΓ©ment Barbaza @βcba85
Notable Changes
The Performance category in the Lighthouse report now has an option to toggle "insights" - read more here.
Core
- disable invalidationTracking trace event to prevent crash (#β16451)
- migrate audits from devtoolsLogs/traces to DevtoolsLog/Trace (#β16448)
- modify scoreDisplayMode for insight audits to match Perf panel (#β16432)
- use
withimport attributes for legacy-javascript, bump to node 18.20 (#β16415) - image-size-responsive: use real mimeType to exclude svg (#β16443)
- insights: drop slow-css-selector-insight for now (#β16457)
- insights: implement
duplicated-javascript-insight(#β16456) - insights: add prominent toggle banner to report (#β16461)
- insights: implement
network-dependency-treeinsight (#β16407) - optimized-images: ignore internal encoding errors (#β16444)
- preload-fonts: add Stylesheets to required artifacts (#β16421)
- stacks: correctly identify angular (#β16439)
- third-party-cookies: update description (#β16464)
- tracehouse: fixup parent tasks when fudging endTime (#β16420)
Report
- add analytics hook for insights state (#β16466)
- adjust insights notice banner, localize strings (#β16463)
- add insights group description (#β16455)
- associate insight audits with stack packs (#β16440)
- tweak style of insight tables; use system font (#β16434)
- support node inside list detail, use in insight audits (#β16433)
- display insights when using toggle, even if hidden (#β16431)
Deps
- upgrade trace_engine to 0.0.52 (#β16465)
- upgrade trace_engine to 0.0.51 (#β16447)
- upgrade deps (#β16438)
- upgrade typescript to 5.8.2 (#β16414)
Docs
- fix "standalone-template.html" broken link in report README (#β16429)
Tests
- disable oopif-scripts smoke for devtools runner (#β16446)
Misc
- prepare core/lib/legacy-javascript to be published to npm (#β16416)
- treemap: represent sizes using transfer size (#β16460)
- treemap: parse options properly from hash params (#β16459)
- treemap: update coerceOptions to grab initialView (#β16458)
- treemap: move table to right, remove Tabulator (#β16428)
- treemap: set initial view mode from options (#β16427)
- treemap: vary colors within bundle, update fonts (#β16403)
v12.5.1
We expect this release to ship in the DevTools of Chrome 136, and to PageSpeed Insights within 2 weeks.
Core
- trace-engine-result: exclude failed source maps (#β16412)
v12.5.0
We expect this release to ship in the DevTools of Chrome 136, and to PageSpeed Insights within 2 weeks.
Notable Changes
legacy-javascripthas been updated to target Baseline instead of esmodules for determining what code is considered "legacy" (#β16366).
Core
- enable enhanced traces, pass source maps to trace engine (#β16396)
- pass lantern settings to trace engine and add logging (#β16377)
- adapt trace engine i18n functions to LH i18n model (#β16365)
- computed-artifacts: disallow undefined properties (#β16397)
- duplicated-javascript: increase threshold from 1 to 10 KiB (#β16368)
- image-delivery-insight: use strings without savings (#β16364)
- insights: implement
use-cache-insight(#β16401) - insights: upgrade and implement forced reflow (#β16395)
- insights: move to hidden group by default (#β16391)
- insights: implement font display insight (#β16369)
- legacy-javascript: rework/revert some unminified bundle detection (#β16394)
- legacy-javascript: support rollup bundles (#β16389)
- legacy-javascript: support esbuild bundles (#β16385)
- legacy-javascript: support unminified code (#β16384)
- legacy-javascript: improve transform detection (#β16381)
- script-treemap-data: keep duplicate info when collapsing nodes (#β16379)
Deps
- upgrade deps (#β16408)
- upgrade trace_engine to 0.0.47 (#β16376)
- upgrade trace_engine, reuse cdt bf-cache/deprecation strings (#β16362)
I18n
- import (#β16409)
Tests
- fix local mocha tests not properly setting isUnderTest (#β16399)
- fix i18n format in Node 20.19 (#β16398)
- trace-engine: fix expectations (#β16380)
Misc
- move support files to core/lib/legacy-javascript (#β16393)
- extract legacy javascript detection to core/lib (#β16392)
- build: use current year for bundle license copyright header (#β16375)
- treemap: restructure header to match new design (#β16402)
v12.4.0
We expect this release to ship in the DevTools of Chrome 135, and to PageSpeed Insights within 2 weeks.
New contributors
Thanks to our new contributors π½π·π°π―π»!
- Daniil Vangonen @βdvangonen
- Rene Schwietzke @βrschwietzke
- Antti @βhilja
- Johannes Homeier @βhomj
Notable Changes
- Some performance audits are marked as informative under passing conditions rather than being hidden in the passed audits section. This release reduces the number of audits which have this behavior. (#β16315)
New Audits
- ensure clickjacking mitigation through XFO or CSP (#β16290)
Core
- implement more insight audits, handle localization (#β16326)
- set relevant metric based on insight category (#β16325)
- add hidden audits for each insight (#β16312)
- cls-culprits-insight: implement (#β16357)
- inspector-issues: support SRI message signature issues (#β16345)
- inspector-issues: add select element a11y issue to types (#β16298)
- legacy-javascript: upgrade babel and core-js (#β16331)
- root-causes: grab from trace insights rather than use protocol (#β16352)
- trace-engine: re-enable invalidations handler (#β16293)
Report
- use container queries for responsive design in DevTools (#β16342)
- render LH-only diagnostics alongside insights (#β16332)
- add button to toggle experimental insights (#β16329)
- add checklist detail type (#β16324)
Deps
- upgrade critical dependencies (#β16358)
- upgrade csp_evaluator to 1.1.5 (#β16347)
- update to latest chrome-devtools-frontend (#β16333)
- upgrade puppeteer to 24.2.1 (#β16341)
- upgrade third-party-web to 0.26.5 (#β16340)
- upgrade puppeteer to 24.1.1 (#β16302)
- upgrade
trace_engineto 0.0.40 (#β16311)
I18n
- import (#β16360)
Docs
- readme: add SonΔ to the list of Web Perf services (#β16282)
Tests
- address upstream changes (#β16335)
- refresh sample artifacts (#β16322)
- dbw: revert unload handler expectations (#β16353)
- devtools: fix error in smoke tests with DT throttling (#β16301)
Misc
- remove issue assigner (#β16317)
- ci: workaround new ubuntu 23 security issue for chromium (#β16296)
- readme: add link to Neodymium (#β16349)
- release: add script for updating critical dependencies (#β16359)
- types: add missing type for explanation in NodeValue (#β16314)
v12.3.0
We expect this release to ship in the DevTools of Chrome 133, and to PageSpeed Insights within 2 weeks.
New contributors
Thanks to our new contributors π½π·π°π―π»!
- Sebastian Neuner @βsebastian9er
New Audits
This release adds new security audits. These audits are informative and won't affect your best practices score.
Core
- font-size: exclude invisible text (#β16281)
Deps
I18n
Docs
- update releasing instructions (#β16252)
Tests
v12.2.3
This release is only for PageSpeed Insights and we expect it to ship within 2 weeks.
Notable Changes
The CPU throttling factor for PageSpeed Insights has been adjusted (#β16256) to account for the low CPU performance benchmarks typical in PageSpeed production environments. In general, TBT metric times for all sites should improve when testing with PageSpeed Insights.
All other Lighthouse clients (Lighthouse CLI, the Node API, Lighthouse panel in DevTools, etc) should not be affected by this change.
Tests
- inline-fs: fix error in Node 20 (#β16262)
v12.2.2
We expect this release to ship in the DevTools of Chrome 133, and to PageSpeed Insights within 2 weeks.
New contributors
Thanks to our new contributors π½π·π°π―π»!
- Nate @βservusdei2018
- Gareth Jones @βG-Rath
- JDev @βJWebDev
Core
- network-monitor: treat EventSource as non-critical (#β16225)
- target-manager: ignore target if type is unknown (#β16221)
CLI
- create writeFile destination if necessary (#β15990)
Deps
- upgrade puppeteer to 23.8.0 (#β16248)
- upgrade
third-party-webto 0.26.1 (#β16219) - upgrade puppeteer to 23.5.2 (#β16220)
- lighthouse-stack-packs: upgrade to 1.12.2 (#β16242)
- lodash: migrate lodash to lodash-es (#β16211)
- sentry: upgrade to v7 (#β16215)
Clients
- lr: set CPU throttling based on benchmark (#β16226)
- lr: fix wrong render-blocking-resources transfer size (#β16190)
I18n
- import (#β16250)
Docs
- readme: add
lighthouse-matchersto related projects (#β16239) - readme: add Guardius to services list (#β16235)
Tests
- smoke: fix devtools test runner & a11y errors (#β16236)
Misc
- ci: upgrade old actions (#β16191)
v12.2.1
We expect this release to ship in the DevTools of Chrome 130, and to PageSpeed Insights within 2 weeks.
Core
- third-party-cookies: update description for 3PCD updates (#β16177, #β16158)
- uses-text-compression: ignore percent threshold for large savings (#β16165)
Deps
Clients
- devtools: require third-party-web to be provided (#β16166)
I18n
- support reusing the same placeholder for ICU (#β16159)
Tests
- pass logger to smokehouse runners to get log even on timeout (#β16175)
- update BUILD.gn due to upstream CDT change (#β16171)
- devtools: sync e2e (#β16174)
- devtools: sync e2e (#β16160)
Misc
- format lighthouse-result.proto (#β16170)
v12.2.0
We expect this release to ship in the DevTools of Chrome 129, and to PageSpeed Insights within 2 weeks.
Core
- import lantern from trace engine (#β16092)
- long-tasks: link to latest guidance (#β16138)
- stylesheets: disable transient stylesheet detection (#β16121)
- third-party-summary: correct blocking time calculation (#β16117)
- trace-engine-result: disable invalidations handler (#β16142)
Deps
- upgrade
trace_engineto 0.0.32 (#β16143) - upgrade puppeteer to 22.15.0 (#β16139)
- upgrade
third-party-webto 0.24.5 (#β16140) - upgrade puppeteer to 22.13.1 (#β16123)
- upgrade typescript to 5.5.3 (#β16091)
Tests
Misc
- remove alertdesk from README (#β16133)
- build: update README.chromium when rolling devtools (#β16144)
v12.1.0
We expect this release to ship in the DevTools of Chrome 128, and to PageSpeed Insights within 2 weeks.
New Contributors
Thanks to our new contributors π½π·π°π―π»!
- Hamir Mahal @βhamirmahal
- angad-sethi @βangad-sethi
- Junaid Ramzan @βajuni880
Notable Changes
- remove first-meaningful-paint metric (#β16047)
Core
- move simulator creation and network analysis to lib/lantern (#β16003)
- handle target crash at any point (#β15985)
- aria-allowed-role: fix title and description (#β16042)
- inspector-issues: add shared dictionary issue (#β15993)
- lantern: refactor to DevTools modules convention (#β16071)
- lantern: rename files to PascalCase (#β16068)
- lantern: remove last usages of Lighthouse NetworkRequest (#β16067)
- lantern: remove usage of Lighthouse constants module (#β16062)
- lantern: remove all LH types (#β16061)
- lantern: move tbt-util.js to lib/lantern (#β16058)
- lantern: separate TraceEngine specific code (#β16051)
- lantern: extract main thread events w/o TraceProcessor (#β16049)
- lantern: remove usage of Lighthouse's ProcessedNavigation (#β16048)
- lantern: use LCP instead of FMP for TTI simulation bounds (#β16046)
- lantern: use computed artifact to create graph using trace (#β16040)
- lantern: rename NetworkRequest record to rawRequest (#β16037)
- lantern: resolve some differences when using trace (#β16033)
- lantern: create network graph from trace (experimental) (#β16026)
- network: align headers end time with send when no data received (#β16044)
- network: fix time units in network quiet calc (#β16013)
- test: add generatable squoosh trace (#β15997)
- test: add generatable trace for paint metrics (#β15994)
- test: add generatable iframe trace (#β15995)
- types: add missing fields to
Result.CategoryandNodeDetails(#β16006)
CLI
- stop treating chrome launcher kill() as async (#β15998)
Deps
- upgrade puppeteer to 22.11.1 (#β16070)
- upgrade
chrome-launcherto 1.1.2 (#β16069) - upgrade puppeteer to 22.10.0 (#β16054)
- upgrade
third-party-webto 0.24.3 (#β16055) - upgrade
axe-coreto 4.9.1 (#β16056)
I18n
- import (#β16080)
Docs
- remove await from chrome.kill() (#β15982)
Tests
- use newer traces in network-analyzer-test.js (#β16043)
- default to 0 for network trace data length (#β16041)
- update remaining old traces for Lantern (#β16039)
- use new trace in metrics-test for pwa (#β16025)
- update many test traces, support .json.gz (#β16007)
- add timeout to runSmokeTest (#β16017)
- fix devtools e2e test runner (#β16018)
- reduce expected value of render-blocking-requests smoke (#β16011)
- update interactive test trace (#β16001)
- use new button class name for devtools run script (#β15999)
- ci: remove reference to deleted smoke test (#β16010)
- lantern: fix some tests not running (#β16073)
- lantern: refactor to DevTools test convention (#β16072)
- lantern: remove usage of devtoolsLog in simulator tests (#β16065)
- lantern: remove usage of computed SpeedIndex (#β16064)
- lantern: remove usage of computed PageDependencyGraph (#β16063)
- lantern: use TraceEngine directly in test fixtures (#β16057)
- lantern: remove Speedline from Lantern unit test for now (#β16060)
- lantern: remove devtools log from tests (#β16050)
Misc
- change connectionId from string to number (#β15983)
- ci: fix deprecated node usage in checkout@v3 (#β16022)
- strings: fix WebAuthetication typo (#β16028)
v12.0.0
We expect this release to ship in the DevTools of Chrome 126, and to PageSpeed Insights within 2 weeks.
New Contributors
Thanks to our new contributors π½π·π°π―π»!
- Ashley Rich @βA5hleyRich
- MrAdib @βJohnAdib
Notable Changes
PWA Category Removal
As per Chromeβs updated Installability Criteria, Lighthouse has removed the PWA category. For future PWA testing, users will be directed to use the updated PWA documentation.
SEO Category Reorganization
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:
- The
is-crawlableaudit is now weighted high enough to fail the SEO category on its own. (#β15933) - The
viewportandfont-sizeaudits 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) - The
pluginsaudit is no longer a priority for SEO and has been removed. (#β15928) - The
tap-targetsaudit is no longer a priority for SEO and has been replaced with thetarget-sizeaudit in accessibility. (#β15906)
Overall Savings Deprecation
The overallSavingsMs value on performance diagnostic audits has been deprecated (#β15902). We recommend using metricSavings.LCP or metricSavings.FCP to understand the estimated metric savings of performance diagnostics.
π New Audits
- The
aria-conditional-attr,aria-deprecated-roleandaria-prohibited-attrAxe checks have been added to the Lighthouse accessibility category. (#β15963) - The
redirects-httpaudit has been brought back, but will only passively check for a http -> https redirect if the provided URL happens to be on http (#β13548)
Other Audit Changes
- The
layout-shifts-elementsaudit is removed. Improved layout shift information can be found in thelayout-shiftsaudit. (#β15931) - The
no-unload-listenersaudit is removed. Unload listeners are deprecated and are still flagged in thedeprecationsandbf-cacheaudits. (#β15874) - The
duplicate-id-activeaudit is removed because it's corresponding Axe check is deprecated. (#β15900) - The
uses-rel-preloadandpreload-fontsaudits have been moved to the experimental config. Preload advice is still on hold and these audits were already in a disabled state. (#β15876)
π₯ Breaking Changes
- split up
CSSUsageartifact (#β15952) - remove budgets (#β15950)
- remove relevant audits lists from config (#β15878)
- remove
ScriptElementsartifact (#β15879) - config: use explicit diagnostic group (#β15901)
- service-worker: remove
service-workergatherer (#β15942)
Core
- remove pre-v10 compat for page graph construction (#β15948)
- a11y: re-enable target-size hidden audit (#β15888)
- driver: add sendCommandAndIgnore (#β15913)
- gather: handle crash if CDP target crashes (#β11840)
- lantern: always use flexible network ordering (#β14612)
- lantern: remove LR statistics (#β15946)
- lantern: inline rtt constant (#β15944)
- lantern: add LanternError and adapter to LH error (#β15937)
- lantern: correct overlapping tasks in CPU nodes (#β15938)
- lantern: duplicate isNonNetworkProtocol in lib/lantern (#β15936)
- lantern: replace usage of LH.Artifacts.ProcessedTrace (#β15905)
- lantern: move lantern metrics to lib/lantern (#β15875)
- metric: remove gatherContext mode check (#β15899)
- render-blocking: use trace engine as the source of truth (#β15839)
- runner: use early return for readability (#β15914)
- seo: support Persian in link-text audit (#β15949)
- target-size: use binary display mode (#β15910)
Report
- fix hidden audit handling for non-perf categories (#β15968)
Deps
- upgrade
tldts-icannto 6.1.16 (#β15967) - upgrade
third-party-webto 0.24.2 (#β15966) - upgrade puppeteer to 22.6.5 (#β15951)
Clients
- viewer: stop using legacy DOM api (#β15964)
I18n
- import (#β15958)
Docs
- bug-report: require users to read FAQs (#β14383)
- readme: add DeploymentHawk to the list of integrations (#β15847)
Tests
- refresh sample artifacts (#β15962)
- invalidate devtools build cache (#β15947)
- update network target type expectations (#β15916)
Misc
- deduplicate all the dom helpers (#β15960)
- merge changelog from branch-11 (#β15957)
- remove
BenchmarkIndexesbase artifact (#β15941) - update public gatherer list (#β15940)
- remove residual
lighthouse-clifile (#β15935) - use "processing duration" instead of "processing time" for INP (#β15893)
- treemap: fix column sorting when some values are blank (#β15959)
Configuration
π Schedule: Branch creation - "after 10:00pm every weekday,before 5:00am every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.