npm / lighthouse
lighthouse
What changed in lighthouse 3 to 13, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
92 breaking2 security4 deprecations45 new APIs and options1 performance43 behavior and defaults2 tooling11 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlighthouse 1371 changes
Breaking changes 17
The ARD audit and gatherer use ard.json in place of ai-catalog.json and discover manifests through the specified sources.
The robots-txt audit fails on HTTP 429 responses and no longer throws when robots.txt content is null.
WebMCP snapshot mode was removed.
Adds a baseline compatibility audit and includes it in the default configuration, so Lighthouse runs it by default.
Emulation now always matches the host browser's version milestone.
The empty first-meaningful-paint audit was removed.
The font-size audit was removed.
Empty arrays are no longer included.
The minimum supported Node.js version is now 22.19.
The no-document-write audit was removed.
The offscreen-images audit was removed.
An unknown category in onlyCategories now causes an error.
The preload-fonts audit was removed.
The audit now defers to the Document Latency insight.
The third-party-facades audit was removed.
The uses-passive-event-listeners audit was removed.
The uses-rel-preload audit was removed.
Security 2
Report links that open in a new tab now include rel=noopener.
Sanitizes entity homepage URLs in reports.
New APIs and options 18
Abort a bulk URL audit on the first failure.
The robots.txt audit recognizes the License directive.
The CLI can audit multiple URLs sequentially in one command by passing multiple URL arguments.
Provide a file of URLs to audit sequentially in one CLI command.
Adds the Agent Resource Discovery audit.
The viewer enabled the Agentic Browsing category via the PSI API.
Adds evaluateOnObject to ExecutionContext for evaluating on an object.
Lighthouse now provides a public types entrypoint for importing its types.
A new agentic browsing category is added to the default config.
Adds a new agentic browsing category, with accessibility audits enabled and aggregated for the category.
Adds an llms.txt check for AI agents and refines its validation logic.
Adds an audit for missing WebMCP tool annotations.
Adds an audit that lists registered WebMCP tools.
Adds an audit that checks for WebMCP schema issues.
Adds a WebDX feature usage trace category.
The robots-txt audit now supports the Content-Signal directive.
The insight now includes numericValue.
The insight now adds a node item for the image.
Performance 1
Peak memory usage is reduced by streaming traces, reusing script sources, evicting decoded frame buffers, and releasing intermediate state.
Behavior and default changes 23
Discovery supports Link HTTP headers, <link rel="ard">, and /.well-known/ard.json, and warns about legacy ai-catalog locations.
Generated report filenames include the URL pathname to avoid collisions between pages on the same host.
Updated request and graph modeling improves simulation accuracy, including HTTP/3 multiplexing, connection counts, origin estimates, redirect handling, and render-blocking priority.
Performance insight audits now populate numericUnit and numericValue using estimated time or byte savings.
Performance insight audits now populate numericValue and numericUnit using estimated time or byte savings.
Groups the llms.txt and ARD audits under agent discovery.
User flows can abort pending navigations.
Plugin category validation is centralized and enforced.
Plugin versions are included in LHR credits.
Displays plugins in the report footer.
Warns when the recommended limit is exceeded.
WebMCP gatherers now check document.modelContext.
Improved Dynamic Baseline High calculation and feature summaries, affecting the baseline results Lighthouse reports.
Lighthouse now provides detailed error messages when fetching llms.txt fails.
Lighthouse now provides detailed error messages when fetching robots.txt fails.
Moves specific accessibility audits into the default configuration.
Adjusts how WebMCP audits behave when WebMCP is unsupported.
The baseline audit report now includes baseline icons.
Reverts strict wrapping of network requests, changing how Lighthouse handles those requests.
The valid language list used for hreflang checks was updated, which may affect Lighthouse audit results.
Accessibility scoring weights were adjusted.
LCP breakdown now defers to the trace engine.
TTFB now defers to the trace engine.
Fixes and other changes 10
The llms-txt audit fails on HTTP 429 responses and no longer throws when llms.txt content is null.
Passes instead of reporting n/a when all forms are covered.
Validation for invalid URLs in the canonical audit has been improved.
The header check now allows leading whitespace.
Implements a UKM Invalidate fallback for LCP.
The baseline audit description now includes the web-feature version.
Fixed focus behavior in DevTools and its three-dot menu.
Fixed tooltip positioning in DevTools.
Fixed the incorrect DPR used for responsive images advice.
Trace elements now handle shadow roots.
lighthouse 1219 changes
Breaking changes 12
Budgets were removed.
The CSSUsage artifact was split up, changing the artifact interface available to consumers.
The audit was removed because its corresponding Axe check is deprecated.
The audit is weighted high enough to fail the SEO category on its own.
The audit was removed; improved layout shift information can be found in layout-shifts.
The audit was removed; unload listeners remain flagged by the deprecations and bf-cache audits.
The audit was removed because it is no longer an SEO priority.
Relevant audits lists were removed from the configuration.
The ScriptElements artifact was removed.
The service-worker gatherer was removed.
The audit was removed from SEO and replaced by the target-size audit in accessibility.
The audit replaces tap-targets in the accessibility category.
Deprecations 1
The value on performance diagnostic audits is deprecated; use metricSavings.LCP or metricSavings.FCP to understand estimated metric savings.
New APIs and options 1
Configuration now uses an explicit diagnostic group.
Behavior and default changes 5
The SEO link-text audit now supports Persian.
The audit is back and passively checks for an HTTP-to-HTTPS redirect when the provided URL uses HTTP.
The hidden target-size audit was re-enabled.
The audit moved to the experimental config; it was already disabled while preload advice remains on hold.
The audit moved from SEO to the best practices category because it is no longer an SEO priority but remains important for UX.
lighthouse 1120 changes
Breaking changes 7
The extension was updated to manifest v3.
The first-contentful-paint-3g audit has been removed.
The legacy navigation CLI flag has been removed.
The legacyNavigation() function in the Node API has been removed.
Node 16 support has been dropped.
The resource-summary audit has been removed.
The service-worker audit has been removed.
Deprecations 2
The devtoolsLogs artifact is deprecated in favor of DevtoolsLog, but remains for compatibility until a future breaking release.
The traces artifact is deprecated in favor of Trace, but remains for compatibility until a future breaking release.
New APIs and options 4
Custom audits can use the new DevtoolsLog artifact in place of devtoolsLogs['defaultPass'].
A new DevtoolsLogError artifact was added.
Custom audits can use the new Trace artifact in place of traces['defaultPass'].
A new TraceError artifact was added.
Behavior and default changes 7
Minor aXe audits were added, and existing aXe audits were re-weighted.
Best-practices audits were re-weighted.
INP is no longer experimental.
The audit now includes FCP and LCP savings.
Stack packs now detect NitroPack.
The audit now includes LCP and FCP savings.
The audit now includes FCP and LCP savings.
lighthouse 1053 changes
Breaking changes 26
The
apple-touch-iconaudit was removed.The CSV output format changed and is described as much more useful.
Use this CLI flag to suppress collection of the full-page screenshot, replacing
--skip-audits full-page-screenshot.The flow API replaces configContext with flags; update code that passed configContext.
Pass
nameto give a user flow step a custom name, replacing the previousstepNameapproach.The audit was removed; its screenshot is now stored at
lhr.fullPageScreenshot.The Node package converted from CommonJS to ES modules; CommonJS users can use a dynamic import or require the specified CommonJS entrypoint.
If importing paths within the Node package, replace
lighthouse-cli/withcli/.If importing paths within the Node package, replace
lighthouse-core/withcore/.LHErrorwas renamed toLighthouseError; update error handling that catches Lighthouse errors.Lighthouse retired moto g4 emulation and uses moto g power instead.
Lighthouse now throws an error when run with x64 Node on macOS arm64.
Node 14 is no longer supported; Node 16 is the minimum supported version.
Lighthouse now reports an invalid --output-path before proceeding.
Lighthouse can no longer use
passesto load the page multiple times in navigation mode; user flows are recommended for multiple loads.This audit replaces
password-inputs-can-be-pasted-intoand now fails when any non-readonly input prevents pasting, not only password inputs.The audit was renamed to
prioritize-lcp-image; update references to the old audit name.The --print-config CLI option was removed.
The field now means the URL Lighthouse initially navigated to before redirects; it is undefined in timespan and snapshot modes.
For a single user flow step, define settings overrides on the top-level flags options instead of on the
settingsOverrideproperty.The user flow API moved to the top-level Node entrypoint and can be imported from
lighthouse.item.entityno longer uses alinkvalue and instead uses a rawtextvalue.Time to Interactive no longer contributes to the performance score or appears in the report, but remains accessible in the Lighthouse result JSON.
The user flow API was updated for 10.0, so existing flow code may need changes.
The fraggle rock (user flow) runner is now the default; the legacy navigation runner is deprecated.
The
vulnerable-librariesaudit was removed.
Deprecations 1
finalUrlis deprecated; it has the same value asmainDocumentUrl.
New APIs and options 17
The method now accepts an options object as its third parameter, a breaking change for this method.
The method now accepts an options object as its third parameter.
A new audit attempts to trigger a bfcache response and lists anything that prevented the browser from using the back/forward cache.
The lr client can run the benchmark repeatedly when given a special query parameter.
The lr client exposes computeBenchmarkIndex.
The Lighthouse result JSON now classifies every origin encountered on a page as first-party or third-party; the classification powers the existing third-party filter checkbox.
The Lighthouse result JSON adds the URL displayed in the browser combobox at the end of a run, accounting for soft navigations and History API events in all run modes.
Ends a user-triggered navigation defined without a callback function.
Starts a user-triggered navigation without requiring a callback function.
The lr client adds FR navigation support.
The psi bundle types expose hasLocale.
Use this CLI flag to opt out of the new user-flow supporting infrastructure for navigation runs; the legacy path is planned for removal in 11.0.
The function accepts an existing
Puppeteer.Pagehandle as the fourth argument, improving Puppeteer integration.The lr bundle exports its primary API and presets.
The Lighthouse result JSON adds the last document URL requested during navigation; it is available only in navigation mode and does not account for later soft navigations or History API events.
A page can be added to the flow context.
A
usePassiveGatheringflag was added.
Behavior and default changes 6
The emulated Chrome user agent was updated to m109 and no longer includes the Lighthouse identifier.
With TTI removed from performance scoring, the weighting of Cumulative Layout Shift increased from 15% to 25%.
Lighthouse viewport handling now supports
interactive-widget.Traditional navigation runs now use the new user-flow supporting infrastructure by default; users can opt out with the CLI flag or DevTools setting.
The NetworkUserAgent gatherer now always runs.
The report uses entity classification to filter third parties.
Tooling 2
The lcp-lazy-loaded audit is filtered with the LCP audits in the report.
The Lighthouse Node package now includes type declarations, enabling type checking when using the package.
Fixes and other changes 1
The audit moved to the best practices category.
lighthouse 913 changes
Breaking changes 10
The appcache-manifest audit was removed.
Items in errors-in-console no longer include the url property.
The external-anchors-use-rel-noopener audit was removed.
Performance audits are grouped by details type; an undefined group now uses an explicit hidden group instead of leaving the audit unrendered.
The mimeType property was removed from the image-elements artifact.
The elidedUrl property was removed; the url property is elided instead.
The minimum supported Node.js version is now 14.
The redirects-http audit and redirect pass were removed.
renderCategoryScore replaces renderScoreGauge.
renderScoreGauge was removed and replaced with renderCategoryScore.
New APIs and options 3
Accessibility audits now include relatedNodes.
A new report API was introduced, including dom.rootEl.
The Node CLI can audit scripted user flows with Puppeteer, allowing audits beyond a page's initial load.
lighthouse 324 changes
Breaking changes 20
Use audits.ID.description in place of helpText.
Details have a more consumable structure, with each items entry an object with reliable keys instead of any[].
Some debugString values are now represented by errorMessage, depending on their intent.
Some debugString values are now represented by explanation, depending on their intent.
extendedInfo was removed; use details instead.
Replace audits.ID.name with audits.ID.id.
Replace scoringMode with scoreDisplayMode; possible values expanded to numeric, binary, manual, informative, not-applicable, or error.
Replace audits.ID.description with audits.ID.title.
Some debugString values are now represented by warnings, depending on their intent.
Replace reportCategories with categories, which changed from an array to a keyed object.
Replace references to reportGroups with categoryGroups in the results object.
Replace references to generatedTime with fetchedTime in the results object.
Replace references to url with finalUrl in the results object.
Audit results are now available under the lhr property in the returned JSON object.
The Node module now accepts the same configuration options as the CLI, and options that were ignored in v2 now affect how Lighthouse runs.
Use the perf or mixed-content preset to run those audit sets.
Replace references to initialUrl with requestedUrl in the results object.
Lighthouse now computes simulated performance by default.
Use devtools for DevTools 3G throttling or provided for no throttling.
Set the CPU slowdown multiplier to 1 when using DevTools network throttling without CPU throttling.
New APIs and options 2
The returned JSON object now exposes data collected from Chrome while auditing under artifacts.
The returned JSON object now exposes the formatted report as a string under report.
Behavior and default changes 2
displayValue can now be an array of printf-style arguments for string interpolation.
Scores are numbers between 0 and 1 for numeric or binary display modes, and null for other display modes.