npm lighthouse 6.1.0

latest releases: 12.0.0-dev.20240507, 12.0.0-dev.20240506, 12.0.0-dev.20240505...
3 years ago

6.1.0 (2020-06-25)

Full Changelog

We expect this release to ship to DevTools in Chrome 85 86, and to PageSpeed Insights within 2 weeks.

New Contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

Notable Changes

  • If a page has publicly-accessible JavaScript source maps, Lighthouse will collect them to enhance the unused-javascript audit. In future versions of Lighthouse, source maps will be used for entirely new audits (#10990).
  • The report now uses KiB instead of KB. This is simply a label change; the value was and still is equal to 1024 bytes (#10870).

Unused JavaScript with source maps

New Audits

  • long-tasks: a new performance diagnostic that shows the longest main-thread-blocking tasks during load (#10736)
  • crawlable-anchors: a new SEO audit that checks that anchors link to resolvable URLs (#10662)

Core

  • unused-javascript: increase threshold to 20KiB (#10906)
  • layout-shift-elements: surface CLS contribution per shifted element (#10968)
  • emulation: bump chrome versions (#10787)
  • image-size-responsive: quantize DPRs (#10801)
  • long-tasks: add startTime property (#10942)
  • improve resilience of nodeId-dependent gatherers (#10877)
  • median-run: add computeMedianRun to lib (#10859)
  • preload: ignore cross-frame requests (#10847)
  • new inspector issues gatherer for Audit.IssueAdded events (#10664)
  • subRow refactor, rename to subItem (#10867, #10978)

Experimental

Features hidden behind the --preset=experimental flag.

  • legacy-javascript: reduce polyfills, fix core-js import in test (#10937)
  • legacy-javascript: use prescriptive language in title (#10850)
  • legacy-javascript: fix core-js 3 detection (#10852)
  • legacy-javascript: use third-party-web for scoring (#10849)
  • duplicated-javascript: display transfer size (#10701)

Deps

Report

  • metrics: use css grid so metrics are aligned (#10789)
  • don't dim disclaimer anchor links (#10981)
  • use acronyms and round metrics for shorter calc url (#10954)
  • update link for budgets audit (#10944)
  • add trailing slash to web.dev links (#10967)
  • fix the width of the 3-dots menu in topbar (#10855)
  • updated method signature typing to remove focusevent cast (#10858)
  • adjust LCP element description (#11018)
  • renderer: fix null Util.i18n in PSI renderer (#10822)
  • psi: show disclaimer and calclink (#10936)

Docs

  • add note about git repo required for @lhci/cli usage (#11006)
  • contributing: add tips for audit and gatherer PRs (#10690)
  • readme: update programmatic usage recipe (#10878)
  • readme: add new and updated integrations (#10838, #10901, #10826, #10818)

Tests

  • move proto roundtrip json to .tmp/ (#10995)
  • add heading key tests (#10746)
  • run ToT and stable Chrome for smoke tests in github workflow (#10989)
  • legacy-javascript: exit code 1 on failure (#10946)
  • smoke: use --debug in github action (#10919)
  • smokehouse: do not assert on flaky node path (#10827)

Misc

  • rename subHeading to subItemsHeading (#10979, #10983)
  • viewer: expose LHR as __LIGHTHOUSE_JSON__ (#10879)
  • use more inclusive and descriptive language (#10949)
  • update changelog for v6.0.0 (#10821, #10807)

Don't miss a new lighthouse release

NewReleases is sending notifications on new releases.