Skip to content

v2.0.0

Compare
Choose a tag to compare
@paulirish paulirish released this 05 Aug 00:49
· 4297 commits to main since this release

Big changes

Brand new report


Everything is brand new UI. header footer, left nav, export, score gauges… screenshots! filmstrip . pass and failures seperated. Sparklines. Accessibility by section. Perf sections..


Chrome DevTools Integration

Take a look at the DevTools' Audit tab, where Lighthouse is now integrated

Lighthouse is much faster now

Overall the Operation Yaquina Bay (Issue #2146) effort made massive improvements to the total lighthouse runtime:

476e780 fix: remove afterPass throttling (#1901)
7d7bac6 perf: enable speedline fastMode (#2230)
f7ea935 perf(config): disable styles gatherer (#2153)
d99778b perf: consolidate DBW pass into defaultPass (#2160)
ff21a33 fix: only record a trace if needed by an audit (#2117)
740c2e9 perf(gather-runner): Clear cache selectively per-pass (#2156)
4c515cf block stylesheets and images on redirect pass (#2168)
d0cb646 perf(gatherers): skip optimization of cross origin images (#2154)
d99b5ad perf: make network quiet threshold configurable per pass (#2220)

New Contributors!

Huge thanks to who contributed 27 epic PRs.

@abacon - remove images from critical request chains
@benschwarz - Calibre and WPT to readme
@chrisdwheatley - add related projects section
@dandv - Mention where the documentation is
@dgozman - Add basic rendering to report generator v2
@ev1stensberg - math.round scores, firefox svg images, package.json correct folder
@jinjorge - Fix typo in readme
@jimthedev - readme instructions for running behind a login
@johnboxall - Total byte audit reports full URL
@mrbusche - Update outdated link for "Web App Install Banners" article
@maya - Fix "Installation" spelling mistake
@stramel - non-critical images, template literal linting, containerized trusty
@mikerhyssmith - Updated readme to add port number when testing a site with authentication
@sendilkumarn - handlebars precompiled (we'll pour one out), clearer iconography, helpText fixes.
@ZZhaoTireless - report <details> printing fix
@cedricbellet - handleJavascriptDialogs
@thearegee - Readme: Adding lighthouse-cron to Related Projects

Audits

Added the "is fast on 3g" audit
4c34e28 Fix service worker gatherer by waiting for active state (#1864)
bbe7f3b allow computed artifacts to request other computed artifacts (#2018)
ba01e2a Added audit for request compression (gzip & br) (#1513)
ef52025 feat(image-usage): add support for CSS images (#1868)
1708865 fix: default(.json -> .js). Disable css usage audit (#1911)
5034961 Collapse the 9 manifest PWA audits into 3 (#1847)
902585b feat: add OffscreenImages Audit (#1807)
bad5bda Add TTI < 10s audit for PWA (#1840)
d2cb5a2 feat: add consistently interactive audit (#2023)
d3a0692 DOMStat Audit: shadow roots don't have .classList (#2131)
691157f Add audit to check if start_url is cached by SW (#2040)
df2fae5 PWA Audits: add placeholders for rest of baseline checks. (#2248)
3c752a0 refactor: split optimized images into WebP and optimize audit (#2216)
c908e81 retire TTI (alpha) audit (#2266)

Metrics & Precision

ade2d88 Enable CPU throttling (4.5x) (#1778)
added the TTFI and TTCI metrics
f1aeb58 Fix screenshot capture bounds (#1839)
7b86c71 Enhance error wording around busy traces. (#2247)
008c5d9 add lighthouse execution time to json results (#2241)
f0e0dfa tests: exclude score checking and flaky link preload assertion. (#2202)
bd7f862 Update: Use array of non-critical resource types (#2191)
0549cca fix: always use navStart as speedline timeOrigin (#2114)
da8e097 NEW feat: add firstInteractive (#2013)
2212ca2 Update network throttling to simulate more realistic network conditions (#2238)
b5bf067 Remove images from critical request chains. (#2085)
0bf1744 fix: add more helpful error messages when fMP is missing (#1959)
ca2600a Improve reliability of finding navStart (#1895)
04579fe Ignore cache hits for "fast on 3g" check (#2143)
b1784d1 Ignore memory cache hits too. ref #2143
e84530e fix: bump jpeg quality for image optimization audit (#2354)
0d0e93f fix: do not flag blob urls as insecure (#2330)
782acc5 polish: do not fail loadfast4pwa for internal redirects (#2296)

Plots

b2eaa08 Plots: A/B screenshot viewer (#2026)
618d5f0 plots: metrics-per-site view (#2041)
c43eb09 plots: measure and visualize perf metrics (#1936)
3f7e5a1 Plots: make measure script more flexible (CLI args) (#2183)

CLI

Chrome launcher is a thing now.
2bb9c5b readme: tell developer to have yarn installed. ref #2072
65bec1b feat(cli): add support for custom trace categories (#1866)
b9bce62 Warn users if they have not yet generated the file. (#2176)

Testing

47ee1b8 travis: include node 8.0.0 (#2395)
Re-enable AppVeyor support #2380, #2382
d5854b6 test(smokehouse): add numeric comparisons (#2356)
8b47006 Smokehouse: log out the node command we spawn (#2074)
4f598c5 ci: save perf trace to S3 on failure (#2051)
5945332 Switch to containerized Trusty (#2234)
fb791e4 update eslint curly rule to google js style (#2263)

Misc

07e0aab Remove recordNetwork from config (#2102)
16b0b04 feat: support Config category and audit whitelisting (#1988)
b2ccdfc Allow opn & update-notifier CLI deps to be optional. (#2150)
283af87 dismiss any Javascript Dialogs automatically (#1939) (#2106)
e475bdb refactor(aggregations): switch usage of aggregations to categories (#1935)
48b72a8 fix: always ensure tracing is off before starting (#2279)
131df27 polish: listen for network idle after DCL (#2271)
d7e4d1b always construct networkRecords from devtoolsLog (#2133)
11a1db3 networkRecords => computed artifact. generate networkRecords during gather via the networkRecorder dispatcher breaking change: performanceLog => devtoolsLogs
fb3cfbd makes non-finished network records available (#2197)
d706429 extension: Fix formatting of bug reports (#2343)
9f5a8aa Add error to chrome extension when url is using the chrome protocol (#2346)

Docs

Many readme/contributing changes, related projects
e46f540 Architecture docs: add arch diagram and lingo updates (#2158)
af479e9 Architecture diagram
8047ef3 Add custom audit recipe (#2255)
6898d09 add CI gulp recipe (#1886)
909a463 add doc for testing site with authentication (#1906)
7c1c1c5 improve instructions for running behind a login (#2123)
fb86d50 Docs: add docs/readme (#2341)
d926f32 README: update CLI help with latest. Give common examples (#2182)
15c5ef1 add related projects section (#1835)

Deps

e46244d Bump axe-core (#2090)
638760e Migrate all dev scripts + docs from npm to yarn. (#2071, #2072, #2067)
d90bce3 fix: bump speedline to fix perceptual speed index (#2046)
3716658 Rev axe to address #2206 (#2335)