lighthouse v6.0.0-beta.0 Release Notes
Release Date: 2020-03-11 // about 4 years ago-
π TL;DR: We're happy for you to try out a beta of Lighthouse 6.0. Many things have changed, including a big difference in the performance metrics and calculation of the performance score. Install the beta with
npm install -g lighthouse@next
.π This beta release will not ship in Chrome DevTools or PageSpeed Insights, but once 6.0 final is released, those channels will be updated.
π (A proper thanks for our new contributors will be in the final 6.0 release notes.)
Notable Changes
- π Brand new metrics and performance score calculation (seeking feedback)
- π Lots more, complete release notes brewing..
π² An unedited changelog followsβ¦ or browse the full commit log
π New Audits
- pwa: maskable icon audit (#10370)
- β add cumulative layout shift metric (a8a0f8f)
- β add charset declaration audit (#10284)
- β add new accessibility audits (#9798)
Core
- artifacts: add property attribute to MetaElements (#9978)
- audits: add handling of 'incomplete' results from axe-core (#10072)
- audits: Add more keywords to blocklist (#9986)
- config: add loadFailureMode warn (#9987)
- 0οΈβ£ config: enable unused-javascript by default (#9854)
- duplicated-javascript: new audit (ea9d226)
- emulation: bump emulated chrome UA to m80 (#9967)
- emulation: use Moto G4 for mobile emulation (#10191)
- font-size: don't allow a deleted node to fail gatherer (#9928)
- font-size: speed up gatherer (#10200)
- gather: new computed artifact, js-bundles (74f13c9)
- installable-manifest: check for fetchable icon (1b52a82)
- installable-manifest: icon requirement 192px -> 144px (#10175)
- is-on-https: add filesystem to secure schemes (#10073)
- js-libraries: hide fast path items from table, put all in debugData (#10176)
- lantern: link layout nodes to root frame request (#9727)
- lantern: do not create self-dependencies via timers (#10280)
- π lantern: remove min task duration on CPU nodes (#9910)
- π lantern: use fixed times for data URLs (#9932)
- β‘οΈ largest-contentful-paint: update docs link (#10213)
- legacy-javascript: new audit (#10303)
- lhr: add numericUnit to audit result (#9979)
- lightwallet: add firstPartyHostnames to budget.json (#10324)
- lightwallet: add timing-budget audit (#9901)
- lightwallet: render timing-budget audit (#9925)
- lightwallet: compute resource metrics by origin (#10105)
- lightwallet: centralize budget-path-matching logic (#9895)
- π lightwallet: remove tolerance from timing budgets API (#9770)
- π¨ lightwallet: adds computed/timing-summary.js (refactor) (#9814)
- noopener: use node detail type (#10242)
- π offline-start-url: better failure messages (#9982)
- offscreen-images: pass images with 'loading' attribute (#10117)
- β preconnect: pass without warning at 2 links (#10293)
- resource-summary: ignore /favicon.ico (#10190)
- scoring: apply v6 score weightings (#9949)
- script-elements: parallelize getting request contents (#9713)
- π fix icu error thrown while throwing protocol error (#9935)
- β‘οΈ stackpacks: update various Wordpress docs links (#10069)
- stacks: match against js-lib-detector with id property (#9888)
- stacks: handle numeric version from library detector (48b5135)
- third-party-summary: don't consider main resource entity to be third party (#10006)
- tracehouse: improved attribution for XHRs + paint/layout⦠(#10001)
- unused-javascript: augment with source maps (672bb60)
- π uses-rel-preconnect: warn on 3+ preconnects (#9903)
- β add temporary config for source map features (#10311)
- warn if document was redirected (#10157)
- β add new base artifact, HostFormFactor (#9923)
- β add settings.internalDisableDeviceScreenEmulation (#9377)
- π use the same scoring curve for desktop in all channels (#9911)
- π use flatten protocol (#9783)
- π¨ refactor check for clearing cache (#9896)
- β delete full config (#9930)
- β add largest contentful paint to lantern and default config (#9905)
- π support old version of Page.getInstallabilityErrors (51df179)
- experimental config (#10333)
- audit.meta.__internalOptionalArtifacts (d9d2999)
- π move unused-css to computed artifact (#10160)
- measure time for GatherRunner.runPass (#10205)
CLI
- π fix csv for --output (#10188)
- 0οΈβ£ --chrome-ignore-default-flags (#10184)
- π allow extraHeaders as object (#9962)
Deps
- β‘οΈ snyk: update snyk snapshot (#10163)
- β‘οΈ update axe-core to 3.5.1 (#10344)
- pptr to 1.20.0 (#10275)
- β‘οΈ update axe-core to 3.4.1 (88905c1)
- bundlesize to 0.18.0 (#10272)
- β¬οΈ bump chrome-launcher to 0.12.0 (#9904)
- β remove mkdirp and make-dir for fs.mkdir (#9858)
- β‘οΈ angular: update patch version of angular fixture (#10086)
- β¬οΈ devtools-protocol: upgrade to 0.0.729809 (#10207)
- β‘οΈ snyk: update snyk snapshot (#10423, #10066, #9965, #9929)
Report
- π details-renderer: support sub-rows within a table (#10084)
- π fix link contrast issue in dark mode (#10364)
- β add channel to runtime settings (de149bc)
- β align audit warnings (#10232)
- close drop down menu when focus is lost (#10208)
- π fix ghost menu in print (#10216)
- β remove Util.UIStrings mutation, add I18n renderer class (#10153)
- adjust score's arc length accounting for rounded linecap (#9913)
- π fix flicker in normal case report (#9955)
- source-location for linkifying (#9354)
Clients
- retire extension; replace with PSI launcher (#9193)
- devtools: roll to front_end/third_party (2d287eb)
- devtools: use the same desktop throttling as lightrider (1621bc7)
- π· devtools: split up runLighthouseInWorker and expose tβ¦ (#10005)
- π extension: remove content security policy (#10380)
- extension: firefox (#10332)
- β‘οΈ extension: use new settings when form updates (#9988)
- β‘οΈ viewer: update manifest icons (#10002)
- viewer: tweak line height (#9999)
I18n
- β Use log.verbose for outdated strings warning (#9931)
- centralize strings for metric names (#9871)
- import: new audit strings and small edits (#10244)
- import: stack packs and small corrections (#9940)
- report: runtime settings and tools (#9166)
π Docs
- π readme: separate free and paid integrations (#10027)
- π devtools throttling deprecation notice (#9933)
- π tweaks to auth + pptr docs (#10277)
- π Fix broken link to aria-toggle-field-name (8d8a052)
- β add auto-lighthouse entry to 'related projects' (#9954)
- β add protobuf install directions (58de8f2)
- β‘οΈ update plugin list to include all examples (#9917)
- recipe for using puppeteer in a gatherer (#10253)
- β‘οΈ update scoring.md to v5 (#10223)
- β add readme for build/ (#10004)
- auth: use --disable-storage-reset for chrome-debug (#10189)
- π· integration-tests: using Lighthouse with Jest; verify in our CI (#9722)
- π plugins: update plugin developer docs wrt NODE_PATH (#10028)
- π plugins: update recipe, suggest NODE_ENV=.. hack (#9997)
- readme: add PageSpeed Green to related projects (#10018)
- β‘οΈ readme: Updated Calibre description (#9985)
- readme: add a table of contents (#10283)
- readme: add automated-lighthouse-check.com paid integration (#10156)
- β readme: yarn test-docs, jq (#10263)
- readme: Add siteimprove to integrations section (#9836)
- readme: add link to official lighthoues ci (#9984)
- readme: add lighthouse-batch-parallel to related projects (#10385)
- β‘οΈ releasing: update procedure for extension (#9989)
β Tests
- audits: Return type correction (LH.Audit.Result -> LH.Audit.Product) (#10270)
- β driver: fix sendCommand timeout tests (#10135)
- driver: type check (#10123)
- gather-runner: type check (#10215)
- π€‘ gather-runner: replace getMockedEmulationDriver w/ mockβ¦ (#10136)
- i18n: add locale-file rough-correctness check (#9847)
- lantern: rebase (#10129)
- β report-ui-features: add empty list and single item test cases (#10201)
- π» report-ui-features: fix tools button suite to pass isolated run (#10199)
- smokehouse: mixed-content (#10159)
- β avoid redirect in failureMode warn test (#10230)
- β add github action w/ basic CI tasks (c93e80b)
- β remove global.URL (#10186)
- π¨ refactor smokehouse for extensibility (#9843)
- β use smokehouse runner for test-bundle (#9943)
- β‘οΈ update coveragePathIgnore jest configuration (40a187f)
- π― smoke: deep clone expectations. do not use p.stdout (#10361)
- smokehouse: make bytes gzip size checks less restrictive (#10227)
- smokehouse: type all the expectation modules (#10158)
- π speedline: remove flaky test (#10181)
- static-server: allow hook to modify response body (252274c)
- viewer: don't override puppeteer's chromium (#9877)
Misc
- git3po: land-when-green (#10256)
- β resolve jest-haste-map naming collision warning (#10447)
- β¬οΈ upgrade lhci dogfood script (#9879)
- β‘οΈ update commitlint config to latest, loosen subject-case (661fd62)
- β add git3po script for PR assignees (#10338)
- order changelog categories. add stable chrome note placeholder (#9859)
- β add note about LCP required chrome version (#9889)
- β‘οΈ write lantern accuracy to file on update (582751a)
- π tweak CODEOWNERS to finish codereview assignment setup (#10282)
- β add CODEOWNERS to finish codereview assignment setup (#10274)
- β‘οΈ update location for devtools roll script (#9942)
- π fix lhci to 0.3.x (#9972)
- π bump-versions.js release script (#9998)
- lantern trace collection script (#9662)
- β delete CODEOWNERS now that we have a review rotation (6454620)
- π Fixed typo in docs/readme.md (#10179)
- β add git3po scripts (#10231)
- β¬οΈ bump bundlesize threshold for LR (#10245)
- β add predictive perf to lantern test set (#10209)
- π release script push tag (#10193)
- β add chrome version field to bug report template (#9866)
- π build: bundle pub ads plugin for devtools (03fd8e6)
- compare-runs: report metrics, add gather/audit modes, etc (c59c0bb)
- git3po: use --start-at (#10266)
- π git3po: lock-resolved (bd9dc67)
- git3po: need milliseconds epoch, not seconds (#10271)
- π git3po: add-needs-priority, remove-needs-priority (#10257)
- git3po: filter out pull requests for need-priority scripts (39badfd)
- π lhci: build-dir => staticDistDir (#9951)
- viewer: mention other lighthouse channels (#10384)
Audits
- is-crawlable: line number for blocking directive in robots.txt (#10154)
π Build
- β smokehouse: bundle smoke test runner (d15b81c)
- π fix appveyor cache failures (#10281)
- π use npm pack'd lighthouse in doc integrations (#10254)
- π stage viewer with now-build (#10151)
Devtools
- β‘οΈ update roll script to print correct command for tests (#10310)
Gatherers
- π use isolation for fetch (#10130)
Lantern
- π keep first layout/paint/parse events regardless of duration (#9922)
Viewer