Skip to content

Releases: GoogleChrome/lighthouse

v12.6.0

28 Apr 21:58
1395a86
Compare
Choose a tag to compare

Full Changelog

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 with import 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-tree insight (#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

26 Mar 21:47
04f4386
Compare
Choose a tag to compare

Full Changelog

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

25 Mar 22:58
0e8d2dd
Compare
Choose a tag to compare

Full Changelog

We expect this release to ship in the DevTools of Chrome 136, and to PageSpeed Insights within 2 weeks.

Notable Changes

  • legacy-javascript has 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

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

26 Feb 23:43
37284c9
Compare
Choose a tag to compare

Full Changelog

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 👽🐷🐰🐯🐻!

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_engine to 0.0.40 (#16311)

I18n

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

13 Dec 00:06
240102e
Compare
Choose a tag to compare

Full Changelog

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 👽🐷🐰🐯🐻!

New Audits

This release adds new security audits. These audits are informative and won't affect your best practices score.

  • Ensure proper origin isolation with COOP (#16275)
  • Use a strong HSTS policy (#16257)

Core

  • font-size: exclude invisible text (#16281)

Deps

  • upgrade puppeteer to v23.10.4 (#16279)
  • upgrade trace_engine to 0.0.38 (#16269)

I18n

  • import (#16283)
  • inject strings from trace engine npm package (#16272)

Docs

  • update releasing instructions (#16252)

Tests

  • update network target type expectations (#16273)
  • devtools: sync e2e (#16253)

v12.2.3

02 Dec 19:27
1c785cc
Compare
Choose a tag to compare

Full Changelog

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

19 Nov 04:27
b64b353
Compare
Choose a tag to compare

Full Changelog

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 👽🐷🐰🐯🐻!

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-web to 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

Docs

  • readme: add lighthouse-matchers to 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

06 Sep 18:24
31bdd8a
Compare
Choose a tag to compare

Full Changelog

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

07 Aug 22:03
c79628a
Compare
Choose a tag to compare

Full Changelog

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_engine to 0.0.32 (#16143)
  • upgrade puppeteer to 22.15.0 (#16139)
  • upgrade third-party-web to 0.24.5 (#16140)
  • upgrade puppeteer to 22.13.1 (#16123)
  • upgrade typescript to 5.5.3 (#16091)

Tests

  • devtools: sync e2e (#16120)
  • treemap: ignore cookie deprecation error (#16141)

Misc

  • remove alertdesk from README (#16133)
  • build: update README.chromium when rolling devtools (#16144)

v12.1.0

18 Jun 17:05
4d8a2f0
Compare
Choose a tag to compare

Thanks to our new contributors 👽🐷🐰🐯🐻!

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.Category and NodeDetails (#16006)

CLI

  • stop treating chrome launcher kill() as async (#15998)

Deps

  • upgrade puppeteer to 22.11.1 (#16070)
  • upgrade chrome-launcher to 1.1.2 (#16069)
  • upgrade puppeteer to 22.10.0 (#16054)
  • upgrade third-party-web to 0.24.3 (#16055)
  • upgrade axe-core to 4.9.1 (#16056)

I18n

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)