Skip to content

build: update dependency lighthouse to v12 (main) #31768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

angular-robot
Copy link
Collaborator

This PR contains the following updates:

Package Type Update Change
lighthouse devDependencies major ~11.7.0 -> ~12.8.0

Release Notes

GoogleChrome/lighthouse (lighthouse)

v12.8.1

Compare Source

Full Changelog

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

New contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

Core

  • network-requests: add initiators to debugData (#​16605)

I18n

Tests

  • disable csp-block-all smoke test (#​16598)

Misc

  • revert json modules to fully support Node 20 (#​16613)
  • ci: clear devtools build cache (#​16615)
  • logger: bump to 2.0.2 (#​16604)
  • logger: update debug dep to v4 (#​16601)
  • treemap: fix sizes not showing for source map nodes (#​16593)

v12.8.0

Compare Source

Full Changelog

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

New contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

Core

  • network-requests: add initiators to debugData (#​16605)

I18n

Tests

  • disable csp-block-all smoke test (#​16598)

Misc

  • revert json modules to fully support Node 20 (#​16613)
  • ci: clear devtools build cache (#​16615)
  • logger: bump to 2.0.2 (#​16604)
  • logger: update debug dep to v4 (#​16601)
  • treemap: fix sizes not showing for source map nodes (#​16593)

v12.7.1

Compare Source

Full Changelog

We expect this release to ship in the DevTools of Chrome 140, and to PageSpeed Insights within 1 week.

New Audits

  • mitigate dom-based xss with trusted types (#​16493)

Core

  • tracehouse: fix OOM when computing attributable URLs (#​16585)
  • trusted-types-xss: add link to lighthouse docs (#​16590)

Deps

Tests

  • disable issues-mixed-content smoke test (#​16586)
  • add test for trace-engine-result (#​16574)
  • update expectations (#​16580)
  • devtools: avoid failure on Unknown VE Context (#​16581)

v12.7.0

Compare Source

Full Changelog

We expect this release to ship in the DevTools of Chrome 140, and to PageSpeed Insights within a week.

Core

  • trace-engine-result: initialize SyntheticEventsManager (#​16572)

v12.6.1

Compare Source

Full Changelog

We expect this release to ship in the DevTools of Chrome 140, and to PageSpeed Insights within a week.

New contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

Notable Changes

The Performance category in the Lighthouse report now shows performance insight audits by default - read more here.

Core

  • always include headers even for empty tables (#​16534)
  • expose error stack, artifact on runtimeError (#​16524)
  • cache-insight: fix wrong value being used for transfer size (#​16562)
  • config: throw an error if a filter is an empty array (#​15118)
  • crawlable-anchors: allow placeholder anchor elements (#​16292)
  • gather: add host DPR base artifact (#​16559)
  • gather: deprecate executionContext.evaluateAsync (#​16518)
  • insights: show estimated ms savings (#​16563)
  • inspector-issues: rename to elementAccessibilityIssue (#​16561)
  • link-text: use lang to check for only localized terms (#​16526)
  • network-dependency-tree-insight: add preconnect advice (#​16557)
  • plugins: support scoped npm packages (#​16550)
  • render-blocking-resources: change column label to Duration (#​16519)
  • timing-summary: suppress expected errors (#​16520)
  • trace-elements: remove sentry debugging for invalid impactedNodes (#​16523)

Report

  • show insight performance audits by default (#​16552)
  • fix 3p filter checkbox for insight audits (#​16564)
  • hide highlighter during print (#​16544)
  • remove custom focus outline styles (#​16531)
  • increase max width of 3-dot menu (#​16530)
  • hide treemap, view trace buttons when printing (#​16529)

Deps

Docs

  • recipes: give explicit commands for first building Lighthouse (#​16527)

Tests

  • parallelize lantern database tests (#​16545)

Misc

  • chore: use "Note" indentation in readme (#​16533)
  • chore: reformat to reduce spurious newlines (#​16038)
  • chore: rename traceEngineData to parsedTrace (#​16270)
  • ci: fix logic for nightly publish cron (#​16556)
  • ci: prevent nightly publish if no changes in last day (#​16547)
  • deps: upgrade to eslint 9 (#​16327)

v12.6.0

Compare Source

Full Changelog

We expect this release to ship in the DevTools of Chrome 139, and to PageSpeed Insights within a couple days.

New contributors

Thanks to our new contributor 👽🐷🐰🐯🐻!

Ian Kerins @​isker

Core

  • emulation: bump chrome UA to m136 (#​16489)
  • insights: add a bunch of debugData (#​16472)
  • inspector-issues: remove trusted types csp issue filter (#​16514)
  • inspector-issues: add userReidentificationIssue to artifact (#​16497)

Report

  • remove innerHTML usage from insights announce icon (#​16469)

Deps

Clients

  • lr: disable modern-http-insight (#​16471)

Tests

Misc

  • import i18n messages as JSON modules (#​16500)
  • scripts: add bytes-in-trace script (#​16477)
  • treemap: hide unused-bytes view mode when missing data (#​16478)
  • treemap: highlight many nodes on hover in duplicate modules table (#​16470)

v12.5.1

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

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

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.0

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.4.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

  • 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.3.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

  • 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

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.2.3

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.

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

Core

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

Deps

I18n

Docs

Tests

v12.2.2

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

  • inline-fs: fix error in Node 20 (#​16262)

v12.2.1

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

  • create writeFile destination if necessary (#​15990)

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.0

Compare Source

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

v12.1.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

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

v12.0.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

  • 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

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)

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.

See associated pull request for more information.
@angular-robot angular-robot requested a review from a team as a code owner August 23, 2025 05:04
@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release labels Aug 23, 2025
@angular-robot angular-robot requested review from andrewseguin and wagnermaciel and removed request for a team August 23, 2025 05:04
@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release area: build & ci Related the build and CI infrastructure of the project labels Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant