components icon indicating copy to clipboard operation
components copied to clipboard

build: update dependency lighthouse to v12

Open angular-robot opened this issue 5 months ago β€’ 0 comments

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

Compare Source

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

Deps

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

Compare Source

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

Compare Source

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

I18n

Tests

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

Compare Source

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

Deps

I18n

Docs

  • readme: add Sonā to the list of Web Perf services (#​16282)

Tests

Misc

v12.3.0

Compare Source

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.

Core

Deps

I18n

Docs

Tests

v12.2.3

Compare Source

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

v12.2.2

Compare Source

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

Deps

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

v12.2.1

Compare Source

Full Changelog

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

Core

Deps

Clients

  • devtools: require third-party-web to be provided (#​16166)

I18n

  • support reusing the same placeholder for ICU (#​16159)

Tests

Misc

v12.2.0

Compare Source

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

Tests

Misc

v12.1.0

Compare Source

Full Changelog

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 πŸ‘½πŸ·πŸ°πŸ―πŸ»!

Notable Changes

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

I18n

Docs

Tests

Misc

v12.0.0

Compare Source

Full Changelog

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 πŸ‘½πŸ·πŸ°πŸ―πŸ»!

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-crawlable audit is now weighted high enough to fail the SEO category on its own. (#​15933)
  • 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)
  • The plugins audit is no longer a priority for SEO and has been removed. (#​15928)
  • The tap-targets audit is no longer a priority for SEO and has been replaced with the target-size audit 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
Other Audit Changes
  • The layout-shifts-elements audit is removed. Improved layout shift information can be found in the layout-shifts audit. (#​15931)
  • The no-unload-listeners audit is removed. Unload listeners are deprecated and are still flagged in the deprecations and bf-cache audits. (#​15874)
  • The duplicate-id-active audit is removed because it's corresponding Axe check is deprecated. (#​15900)
  • 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)

πŸ’₯ Breaking Changes

Core

Report

  • fix hidden audit handling for non-perf categories (#​15968)

Deps

Clients

I18n

Docs

  • bug-report: require users to read FAQs (#​14383)
  • readme: add DeploymentHawk to the list of integrations (#​15847)

Tests

Misc


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.

angular-robot avatar May 24 '25 05:05 angular-robot