Skip to content

fix(deps): update dependency lighthouse to v7 #134

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

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 21, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lighthouse ^6.0.0 -> ^7.0.0 age adoption passing confidence

Release Notes

GoogleChrome/lighthouse

v7.2.0

Compare Source

Full Changelog

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

New contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

Core

  • emulation: bump chrome versions (#​12104)
  • unsized-images: ignore non-network SVGs (#​12120)
  • preload: do not warn for cache loads (#​12122)
  • be more lenient for some audits on localhost (#​11766)

Fraggle Rock

Support for auditing user flows (#​11313)

  • fr: add navigation phase + trace gatherer (#​12098)
  • fr: add DevtoolsLog artifact (#​12074)

Deps

Clients

  • lr: skip uses-http2 audit for mobile (#​12115)

Docs

  • auth: correct path in readme (#​12112)
  • throttling: retitle devtools panel h2 (#​12126)

Tests

Misc

  • treemap: first pass (#​11832)
  • add LIGHTHOUSE_FLAGS to gcp script. tweak extract script (#​12100)
  • rename lantern baseline values (#​10950)
  • fixed typos More => more (#​12092)
  • ci: update GH actions commit SHAs (#​12099)

v7.1.0

Compare Source

Full Changelog

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

New contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

Core

  • add hidden layout-shift variant metrics (#​12046)
  • cls: refactor CLS and CLS-AF (#​12069, #​12034)
  • image-elements: set 5s time budget, add _privateCssSizing (#​12065)
  • unsized-images: skip images that are zero-sized (#​12054)
  • tap-targets: drop custom node rect creation (#​12005)
  • alias element.currentSrc to element.src in node snippet (#​12007)
  • fix js edge case in minification estimator (#​12067)

Fraggle Rock

Support for auditing user flows (#​11313)

  • fr: eliminate driver delegate from internal invocations (#​12015)
  • fr: add more gatherers to config (#​12016)
  • fr: add artifact dependency support (#​12045)
  • fr: extract network monitor class (#​12006)
  • fr: initial gatherer migration for snapshot, navigation (#​11993)
  • fr: add session.onAnyProtocolMessage listener (#​11995)

CLI

  • do not set AutofillShowTypePredictions (#​12038)

Deps

Tests

  • smoke: tweak expectations based on feedback from LR (#​11962)
  • trace-elements: test node eviction with unit rather than smoke (#​12056)

Misc

  • ci: increase fetch-depth for codecov SHA (#​12079)
  • git3po: merge when green for unstable state too (#​12078)
  • add issue assigner bot (#​12052)
  • tighten querySelector types (#​12013)

v7.0.1

Compare Source

Full Changelog

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

New contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

Core

  • handle timer throttling in DevTools to avoid timeouts (#​11987)
  • console-messages: use source-location (#​11899)
  • errors-in-console: ignore BLOCKED_BY_CLIENT.Inspector errors (#​11901)
  • font-size: handle valueless attributes for inline styles (#​11934)
  • full-page-screenshot: get the MAX_TEXTURE_SIZE from the browser (#​11847)
  • metrics: support FCP for all frames with devtools throttling (#​11874)
  • normalize creation of NodeValue (#​11877)
  • full-page-screenshot: do not render zero size rects (#​11853)
  • replace most usages of evaluateAsync with structured evaluate (#​11754)
  • trace: compute trace for main frame and any child frames (#​11760)

Fraggle Rock

Support for auditing user flows (#​11313)

Report

  • remove title from audit clump expand (#​11989)
  • use source maps to show original file name (#​10930)
  • convert v6 emulatedFormFactor to v7 formFactor (#​11876)

Deps

I18n

Docs

  • chromium-web-tests: add debugging tips (#​11684)
  • readme: add plugin: lighthouse-plugin-crux (#​11868)

Tests

  • legacy-javascript: sync results (#​11980)
  • smoke: add category to run some perf tests in parallel (#​11932)
  • revert mistaken change to yarn unit-core (#​11955)
  • run code coverage in github actions (#​11770)
  • remove travis (#​11902)
  • increase treemap pptr timeouts (#​11916)
  • add missing arrays to InspectorIssues sample artifact (#​11871)
  • add more files in lighthouse-core/tests to tsconfig (#​11728)
  • add warn-not-offline-capable smoketest (#​11842)

Misc

  • add type checking to page functions (#​11958)
  • proto: clarify deprecated state of EmulatedFormFactor enum (#​11946)
  • fix "fast" npm script (#​11997)
  • use typed-query-selector for native querySelector (#​11990)
  • return specific html element type for dom.find (#​11526)
  • build: extract 'yarn link…' rigamarole to own npm script (#​11977)
  • proto: backport proto formatting fixes (#​11978)
  • scripts: fix unbound variable in open-devtools (#​11845)
  • update-report-fixtures: use a consistent server port (#​11848)
  • add type checking to TagsBlockingFirstPaint (#​11841)

v7.0.0

Compare Source

Full Changelog

Lighthouse 7.0 includes a number of programmatic breaking changes and new audits in the Accessibility and PWA categories. There were some improvements in the accuracy of metric calculations, but it is not expected that Performance scores will change significantly for almost all sites. There may be larger changes in Accessibility and PWA scores due to the new audits.

This release is expected to ship in the DevTools of Chrome 89, and to PageSpeed Insights within 2 weeks.

Notable changes

  • A full-page screenshot is taken and used to improve the experience of viewing DOM element details. Now a thumbnail will be shown and clicking reveals a lightbox showing where in the page the DOM node lived. This screenshot increases the size of the Lighthouse JSON by ~33%. (#​11769, #​11768, #​11829, #​11846, #​11852)
  • The PWA Category changed fairly significantly.
    • The Installable group is powered entirely by the capability checks that enable Chrome's installable criteria. These are the same signals seen in the Manifest pane in Chrome DevTools. As such, the "Registers a service worker…" audit moves to the PWA Optimized group, and the "Uses HTTPS" audit is now included as part of the key "installability requirements" audit.
    • The Fast and reliable group has evaporated into thin air. 🌬 Now that revamped "installability requirements" audit includes offline-capability checking, we've removed the dedicated audits for checking if the current page and start_url respond with 200 when offline. Separately, the "Page load is fast enough on mobile network" audit was removed—while it's no longer part of the PWA section, we encourage folks building a PWA to consult the Performance category to ensure their web app is speedy and delightful.
  • A nightly Lighthouse build is now available as lighthouse@next on npm. Note that while automated tests pass before publishing, it's expected that this version will be more unstable than the regular releases (#​11792, #​11805, #​11810)
  • The accessibility-testing library axe-core has been updated to the latest 4.1.1 release. The accessibility audits are now faster, more robust, and include multiple new checks (#​11661)
  • Lighthouse runs a small benchmark at startup, and will now include a warning if the test machine appears underpowered and may be affecting the accuracy of the Lighthouse metrics (#​11350)
  • Joomla and October CMS detection has been added, so pages on those platforms will now get customized advice on some Lighthouse audits (#​11788)

New contributors

Thanks to Kohta Ito (@​koh110) and Sam Stoelinga (@​samos123) for their first contributions!

🆕 New audits

  • The new installable-manifest PWA audit, mentioned above, uses Chrome's own installability criteria so it will always stay in sync with installability requirements (#​11745)
  • third-party-facades looks for third-party embeds in the test page that can be lazy loaded with a static "facade". If the embed isn't necessary for immediate interaction by a user, consider using one of the facades to speed up page load (#​11290)
  • With the axe version upgrade comes new audits ensuring accessible naming: aria-treeitem-name, aria-command-name, aria-tooltip-name, aria-meter-name, and aria-progressbar-name (#​11661)

♻️ Removed audits

  • The update to latest axe-core also removes two audits that weren't checking much: layout-table and video-description (#​11661)
  • works-offline and offline-start-url audits were removed as their checks are now covered by the new installable-manifest implementation (#​11806)
  • The load-fast-enough-for-pwa audit has also been removed since Lighthouse's existing performance metrics more than cover the needs there (#​11764)
  • without-javascript has been removed (#​11711)

💥 Breaking changes

  • Device-emulation config settings and CLI flags have changed to be clearer and have less overlap. If you've used --emulated-form-factor or other emulation-related configuration, you'll need to make changes. The new settings should be considerably simpler to use with custom Lighthouse runners using real devices, Puppeteer, or system-level throttling. See the emulation docs for migration guidance. (#​11779)
  • When waiting for the page to be fully loaded, Lighthouse will now wait if there are active high-priority network requests. In rare cases, like where the app initialization is dependent on a single, slow-returning XHR, some performance metrics may worsen; however, the new measurements are now accurate. (#​11738, #​11851)
  • Support for Node 10 has been dropped. The minimum required Node version is now 12 (#​11656)

🤖💥 Breaking changes for programmatic users

These changes are unlikely to affect end users, but may be important if you are writing custom configs, plugins, or processing the Lighthouse JSON output.

  • ConsoleMessages is a new artifact that is a combination of the old ConsoleMessages and RuntimeExceptions artifacts, with some expanded data on items logged to the console. RuntimeExceptions has been removed (#​11663)
  • DOM "node details" data formerly spread throughout existing artifacts are now gathered in a NodeDetails property on each element (#​11474, #​11695, #​11752)
  • The ImageElements artifact has been streamlined to better represent the data collected and how it's used (#​11703, #​11707, #​11733)
  • Previously, extends: true was allowed as an alias for extends: 'lighthouse:default' to extend a config from the default Lighthouse config file. The boolean option has been removed to prepare the way for extending from any valid config file (#​11835)
  • A never-used feature to pass options from the config to gatherers has been removed to be compatible with future changes (#​11743)

🧱 Core

Improvements, bug fixes, clarifications
  • lantern: allow non-XHRs to depend on CPU Nodes (#​11767)
  • lantern: maximize throughput under HTTP/2 (#​11666)
  • properly split node labels in the report around unicode surrogate pairs (#​11698)
  • move the service-worker audit to the pwa-optimized group; its path in the JSON and metadata on scope URLs are unchanged (#​11798)
  • support local plugins from a globally-installed Lighthouse (#​11696)
Internal refactors and improvements
  • driver: create typed Runtime.evaluate from function code (#​10816)
  • gather-runner: remove <M82 compat for InstallabilityErrors (#​11782)
  • simulator: clearer intermediate timing types (#​11744)
  • types: remove unneeded casts (#​11753)
  • lightrider: skip uses-http2 audit (again) (#​11777)
  • script-treemap-data: fix sourceRoot and missing coverage bugs (#​11825)
  • fraggle-rock: add base snapshot runner (#​11748)
  • fraggle-rock: add driver (#​11742)

Tests

Misc

  • uses-http2: remove mention of h2 push in docs (#​11834)
  • readme: add integration (#​11775)
  • add log files to GCP run results (#​11833)
  • temporarily allow css in redirectPass to work around crbug (#​11813)
  • eslintignore *.d.ts files (#​11793)
  • buildtracker: skip git --deepen if no token (#​11785)
  • build: quiet the npm pack command (#​11783)
  • build: fix bundling lighthouse-plugin-publisher-ads in Lightrider (#​11648)
  • release: add print-contributors.js script (#​11736)

Deps


Renovate configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 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 WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/lighthouse-7.x branch 2 times, most recently from 2cd6967 to f7c46d9 Compare January 4, 2021 10:02
@renovate renovate bot force-pushed the renovate/lighthouse-7.x branch from f7c46d9 to ca20048 Compare January 11, 2021 10:17
@renovate renovate bot force-pushed the renovate/lighthouse-7.x branch 2 times, most recently from 5246294 to 390cfa6 Compare February 15, 2021 11:09
@renovate renovate bot force-pushed the renovate/lighthouse-7.x branch from 390cfa6 to e9abbcb Compare February 22, 2021 09:04
@renovate renovate bot force-pushed the renovate/lighthouse-7.x branch from e9abbcb to 1f3136d Compare March 1, 2021 19:28
@renovate renovate bot force-pushed the renovate/lighthouse-7.x branch from 1f3136d to 203e660 Compare March 3, 2021 09:48
@erezrokah erezrokah merged commit 9ee4580 into master Mar 3, 2021
@erezrokah erezrokah deleted the renovate/lighthouse-7.x branch March 3, 2021 10:01
@github-actions github-actions bot mentioned this pull request Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants