npm lighthouse 9.0.0

latest releases: 12.2.1-dev.20241113, 12.2.1-dev.20241112, 12.2.1-dev.20241111...
2 years ago

Full Changelog

We expect this release to ship in the DevTools of Chrome 98. It is already live in the new PageSpeed Insights.

See the What's new in Lighthouse 9.0 blog post. Continue for the changelog.

New Contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

Notable Changes

  • [BREAKING] move to minimum Node 14 (#13243)
  • a11y: add relatedNodes to accessibility audits (#13193)

Removed Audits

  • [BREAKING] appcache-manifest: remove audit (#13287)
  • [BREAKING] external-anchors-use-rel-noopener: remove audit (#13298)
  • [BREAKING] remove the redirect pass and redirects-http audit (#12643)

Preview: Audit User Flows

Report of a Lighthouse User Flow. Shows the overivew page, with summaries of 4 subreports.

Lighthouse now offers auditing user flows, scripted with Puppeteer, via the Node CLI. This means you can now audit a page beyond its initial load. See the Lighthouse user flows blog post for more.

Core

  • fix launching chrome in node 17 (#13301)
  • reduce image hotlinking in the report (#13185)
  • emulation: set client-hints metadata when spoofing the UA (#13341)
  • emulation: bump chrome version to m98 (#13340)
  • config: use abbreviation for pwa category title (#13270)
  • deprecations: use inspector issues (#13342)
  • avoid fatal errors when collecting base artifacts (#13312)
  • [BREAKING] errors-in-console: remove url property from items (#13286)
  • [BREAKING] image-size-responsive: remove elidedUrl, elide url property instead (#13226)
  • [BREAKING] image-elements: remove mimeType from artifact (#13265)

Report

  • introduce the new report api, add dom.rootEl (#13277, #13279, #13361)
  • make denser. changes to typography, group descriptions, more (#13249)
  • display final screenshot prominently (#13123)
  • redesign runtime settings (#13125, #13350)
  • help-dialog: remove timespan SEO (#13354)
  • order metrics by row (#13328)
  • sort audits by weight (#13053)
  • translate newly added report strings (#13308)
  • [BREAKING] group perf audits by details type. change the meaning of an audit whose group is not defined–before no group implied an audit would not be renderered, but now an explicit hidden group is used (#13241, #13310)
  • [BREAKING] pwa: remove renderScoreGauge, replaced with renderCategoryScore (#13269)

⛏️👷 Fraggle Rock

Support for auditing user flows (#11313)

  • handle 0 throughput in timespan (#13323)
  • clone default categories to avoid modification (#13337)
  • add timespan support to h2 (#12814)
  • report: remove smooth scrolling (#13317)
  • report: network throttling settings (#13305)
  • report: use filmstrip thumbnail in navigation (#13283)
  • report: fix report anchors (#13233)
  • report: full page screenshot renderer (#13276)
  • report: category tooltip highest impact (#13230)
  • report: import lhr strings (#13215)
  • report: i18n formatter (#13190)
  • report: mock styles (#13220)

Deps

  • bump lighthouse-plugin-publisher-ads (#13339)
  • deps: update chrome-launcher to 0.15.0 (#13353)

Clients

  • devtools: only use locales that have locale files to download (#13214)
  • psi: retire prepareLabData, reuse standard report rendering (#13229)

I18n

  • import (#13360)
  • add better support for the default locale in bundles (#13211)

Tests

  • eslint: add export rule (#13282)
  • longer timeout for installability errors check (#13297)
  • ignore .tmp directory in jest modules (#13285)
  • add cdt folders to devtools test cache buster (#13268)
  • update devtools default branch to 'main' (#13266)
  • ci tests should include all files (#13235)
  • report: throw on axe error (#13234)
  • flow: puppeteer test (#13281)

Misc

  • publish: include the report bundle in npm package (#13349)
  • build: create inline-fs rollup plugin to replace brfs (#13232, #13240, #13248, #13272, #13275, #13278, #13280)
  • build: use rollup to build lighthouse-core bundles (#12771)
  • build: call close method on rollup builds (#13307)
  • build: use prepack script to build report (#13261)
  • build: do not assign runBundledLighthouse in devtools bundle (#13311)
  • build: use cross platform sed for devtools script (#13242)
  • preserve error stack when using promise timeout (#13333)
  • support old devtools in yarn run-devtools (#13284)
  • add report bundles to nightly build (#13222)
  • rename lighthouse-treemap to treemap (#13246)
  • rename lighthouse-viewer to viewer (#13247)
  • simplify release process, run package-test in CI (#13212)
  • add os to bug report template (#13245)
  • proto: add throttling and throttling_method (#13309)
  • revert missing bundle tests (#13289)
  • fix typo (#13224)

Don't miss a new lighthouse release

NewReleases is sending notifications on new releases.