v5.0.0
5.0.0 (2019-05-07)
Major new features
- Stack packs are a new way to present stack-specific advice within the Lighthouse report. This initial version detects if a site is running on WordPress and adds additional information to the report on how to take advantage of Wordpress plugins and configuration to improve performance (#7243, #8169, #8633, #8536, #8778).
- Performance budgets are a new feature of Lighthouse to help prevent your site performance from regressing over time. Set budgets for the resources a page should load and have Lighthouse alert if the budgets aren't met (#8539, #8522, #8727, #8709, #8427, #8708).
- Lighthouse plugins are a new way to add custom checks to a Lighthouse run. They are presented in the Lighthouse report alongside (or instead of) the standard results, and can leverage tools and results within Lighthouse to get their job done. See the docs for examples (#8728).
- In case you haven't noticed after all the screenshots, the HTML report has been redesigned!
New Audits
apple-touch-icon
PWA audit (#8857)performance-budget
(#8539)resource-summary
(#8522)max-potential-fid
(previously in the JSON output, new in the HTML report) (#8729, #8817)
Breaking changes
- Node 10 (LTS) or later is now required (#8117)
rawValue
has been removed from audit results. If the audit had a meaningful numeric result (like a metric), this result will now be onnumericValue
(#8343, #8385, #8421)- The accessibility category scoring has been reweighted based on severity (#8823)
- FCP accuracy has improved (in 'simulation' throttling) and may noticeably affect scores (#7513)
- The deprecated
--disable-device-emulation
flag has been removed. Use--emulated-form-factor
(#8289, #8334) - The
dom-size
now ignores elements in<head>
and limits scoring to only DOM nodes in the body (#7241) - The
diagnostics
audit details have had theirtype
value changed todebugdata
(#8298) - The format of the
screenshot-thumbnails
screenshots has changed. They are now a full image data URL (#8299)
New contributors!
Thanks to @arnabsen, @housseindjirdeh, @MarkelFe, @muuvmuuv, and @Meggin for their first contributions!
Core
- a11y: disable unused axe rules (#8373)
- artifacts: create a PublicGathererArtifacts type (#8382)
- runner: only pass requiredArtifacts to audits (#8760)
- crc: redirects leading to iframe shouldn't be marked as critical (#6704)
- driver: enable async stacks (#5504)
font-display
: do not use invalid sourceURLs (#8535)- jsonld: structured data validation updates (#8137)
- rect-helpers: make getBoundingRect take an array of rects (#8789)
- seo: support spanish in
link-text
audit (#7547) - filter blob urls from more audits (#8724)
- reword insecure error message (#8530)
- seo: add
image-alt
to SEO category (#8407) - add devtoolsNodePath property to ScriptElements artifact (#8133)
- always run axe gatherer last (#8216)
Report
- redesign: three dots for export button (#8629)
- redesign: design review feedback (#8785)
- redesign: whitespace, font weights (#8820, #8891, #8592, #8591, #8531, #8528)
- make v5 renderer compatible with v3 and v4 LHRs (#8822)
- redesign: fireworks (#8660)
- redesign: add toggle control to show metric descriptions (#8661, #8844)
- add table filter for third-party urls (#6351)
- redesign: remove units from table column headings (#8658))
- redesign: hide sparkline in mobile (#8562)
- redesign: add dark theme (#8425, #8843, #8845, #8842)
- redesign: add sticky scores header (#8524, #8883)
- redesign: runtime settings footer (#8229)
- add missing (#8240)
- redesign: new gauges, score scale, category headers, variables (#8121, #8300, #8329, #8307, #8222, #8529, #8532, #8590, #8653, #8720, #8722, #8763, #8872)
- extract init() function from report-template (#8228)
Clients
- devtools: remove ascii-encoded asset requirement (#8456, #8637)
- lr: increase Page.getAppManifest timeout to 10s (#8350)
- lr: apply, revert Lightrider timings to NetworkRequests (#8109, #8752)
- psi: pass score scale element to psi (#8827)
- lr: build report-generator-bundle (#8197)
Docs
- update throttling (#8854)
- readme: add mention of free tier of Foo integration (#8160)
- readme: remove link to archived lighthouse-security project (#8141)
CLI
Deps
Tests
- lightwallet: add perf-budget smoke test (#8853)
- lightwallet: add budget to sample artifacts config (#8783, #8870)
- add tap targets to dobetterweb sample page (#8803)
- make update:sample-artifacts work for a single artifact type (#8802)
- smokehouse: capture microtask regression (#8379)
- smokehouse: support artifacts assertions in smoke tests (#8044)
- smokehouse: fix tests from sharing artifacts (#8897)
- smokehouse: change metric assertions from score to numericValue (#8805)
- fix sample_v2 generation, proto errors (#8605)
I18n
- import tamil translated strings (#8886)
- SEO group titles and descriptions (#8719)
- stack pack translations (#8154, #8415)
- update seo group titles and descriptions (#8378)
Misc
- proto: require protobuf 3.7.1, add stricter audit details test (#8863, #8867)
- proto: remove trailing whitespace; add contributing help (#8818)
- fix roundtrip sample_v2.json (#8815)
- rename release scripts properly (#8751)
- simplify LH.Config settings types (#8630)
- add correct listitem.js @fileoverview (#8586)
- update sample_v2 artifacts (#8243)
- ci: build report and deploy to now.sh on every commit (#8194)
- fix bad auto-merge (#8201)
- update collected i18n string (#8158)
--help
: remove screenshots mention from--save-assets
(#8263)- lightwallet: update budget link (#8871)
- fix common typos (#8726)