Skip to content

Commit

Permalink
v8.4.0 (#13017)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored Sep 8, 2021
1 parent c26a838 commit 284e5f6
Show file tree
Hide file tree
Showing 10 changed files with 116 additions and 11 deletions.
101 changes: 101 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,104 @@
<a name="8.4.0"></a>
# 8.4.0 (2021-09-08)
[Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v8.3.0...v8.4.0)

We expect this release to ship in the DevTools of [Chrome 95](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks.

## New Contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

Emmanouil Zoumpoulakis @emzoumpo
Milutin Kristofic @milutin
Bjørn Erik Pedersen @bep
Jerome Cukier @jckr
Saurav Kumar @svkrclg

## New Audits

* Detect when the LCP element is lazy-loaded. Above-the-fold images that are lazily loaded render later in the page lifecycle, which can delay the largest contentful paint. [Learn more](https://web.dev/lcp-lazy-loading/) ([#12838](https://github.com/GoogleChrome/lighthouse/pull/12838))

## Core

* network-request: identify filesystem resources as non-network ([#12970](https://github.com/GoogleChrome/lighthouse/pull/12970))
* viewport: add viewport audit as perf diagnostic ([#12972](https://github.com/GoogleChrome/lighthouse/pull/12972))
* csp-evaluator: bump package version ([#12990](https://github.com/GoogleChrome/lighthouse/pull/12990))
* config: keep full-page-screenshot in skipAudits case ([#12645](https://github.com/GoogleChrome/lighthouse/pull/12645))
* large-javascript-libraries: delete ([#12941](https://github.com/GoogleChrome/lighthouse/pull/12941))

## ⛏️👷 Fraggle Rock

Support for auditing user flows ([#11313](https://github.com/GoogleChrome/lighthouse/issues/11313))

* collect devtoolsLogs on pageLoadError ([#12980](https://github.com/GoogleChrome/lighthouse/pull/12980))
* add config validation ([#12945](https://github.com/GoogleChrome/lighthouse/pull/12945))
* align navigation failure behavior ([#12862](https://github.com/GoogleChrome/lighthouse/pull/12862))
* add protocol timeout to session ([#12913](https://github.com/GoogleChrome/lighthouse/pull/12913))
* parity on Stacks and FullPageSnapshot gatherers ([#12907](https://github.com/GoogleChrome/lighthouse/pull/12907))
* http-status-code: navigation only ([#13005](https://github.com/GoogleChrome/lighthouse/pull/13005))
* add --debugNavigation setting ([#12902](https://github.com/GoogleChrome/lighthouse/pull/12902))
* flow: sidebar mocks ([#13002](https://github.com/GoogleChrome/lighthouse/pull/13002))
* flow: embedded lighthouse report ([#12989](https://github.com/GoogleChrome/lighthouse/pull/12989))
* flow: summary page ([#12973](https://github.com/GoogleChrome/lighthouse/pull/12973))
* flow: navigation sidebar ([#12929](https://github.com/GoogleChrome/lighthouse/pull/12929))
* flow: standalone shell report with preact ([#12850](https://github.com/GoogleChrome/lighthouse/pull/12850))

## Report

* accessible n/a icon ([#12984](https://github.com/GoogleChrome/lighthouse/pull/12984))
* split topbar features ([#12926](https://github.com/GoogleChrome/lighthouse/pull/12926))
* prefix all classnames with lh- ([#12985](https://github.com/GoogleChrome/lighthouse/pull/12985))
* isolate type checking ([#12953](https://github.com/GoogleChrome/lighthouse/pull/12953), [#12952](https://github.com/GoogleChrome/lighthouse/pull/12952), [#12951](https://github.com/GoogleChrome/lighthouse/pull/12951))
* use postMessage to open viewer outside devtools ([#12927](https://github.com/GoogleChrome/lighthouse/pull/12927))
* better deduping of warnings ([#12355](https://github.com/GoogleChrome/lighthouse/pull/12355))


## Deps

* snyk: update snyk snapshot ([#13001](https://github.com/GoogleChrome/lighthouse/pull/13001), [#12982](https://github.com/GoogleChrome/lighthouse/pull/12982))
* update to typescript 4.4.2 ([#12909](https://github.com/GoogleChrome/lighthouse/pull/12909), [#12999](https://github.com/GoogleChrome/lighthouse/pull/12999))

## Clients

* lightrider: use iframe fetcher ([#13006](https://github.com/GoogleChrome/lighthouse/pull/13006))
* treemap: convert to ES modules ([#12892](https://github.com/GoogleChrome/lighthouse/pull/12892))
* viewer: make entire directory use modules ([#12975](https://github.com/GoogleChrome/lighthouse/pull/12975))

## Docs

* auth: add missing build step in README ([#12911](https://github.com/GoogleChrome/lighthouse/pull/12911))
* changelog: fix typo in changelog.md ([#12997](https://github.com/GoogleChrome/lighthouse/pull/12997))
* hacking: add links to buildtracker/pr-tracking ([#12922](https://github.com/GoogleChrome/lighthouse/pull/12922))

## Tests

* avoid node 16.9.0 ([#13012](https://github.com/GoogleChrome/lighthouse/pull/13012))
* ci: restore ToT Chromium download ([#12943](https://github.com/GoogleChrome/lighthouse/pull/12943), [#12950](https://github.com/GoogleChrome/lighthouse/pull/12950))
* dom: fix node 16 createObjectURL bug ([#12935](https://github.com/GoogleChrome/lighthouse/pull/12935))
* eslint: add import/order rule ([#12998](https://github.com/GoogleChrome/lighthouse/pull/12998))
* fr: convert screenshot expectations ([#12912](https://github.com/GoogleChrome/lighthouse/pull/12912))
* smoke: check for passing robots-txt ([#13007](https://github.com/GoogleChrome/lighthouse/pull/13007))
* smoke: fix dbw console error expectation ([#13011](https://github.com/GoogleChrome/lighthouse/pull/13011))
* smoke: print command to rerun failures ([#12924](https://github.com/GoogleChrome/lighthouse/pull/12924))
* devtools: sync ([#12899](https://github.com/GoogleChrome/lighthouse/pull/12899))
* devtools: tsc type override bug workaround ([#12933](https://github.com/GoogleChrome/lighthouse/pull/12933))
* create faux psi report ([#12815](https://github.com/GoogleChrome/lighthouse/pull/12815))

## Misc

* the great sample rebaseline ([#12932](https://github.com/GoogleChrome/lighthouse/pull/12932))
* restructure types to use project references ([#12914](https://github.com/GoogleChrome/lighthouse/pull/12914), [#12946](https://github.com/GoogleChrome/lighthouse/pull/12946), [#12940](https://github.com/GoogleChrome/lighthouse/pull/12940))
* build: sample flow report ([#12930](https://github.com/GoogleChrome/lighthouse/pull/12930))
* build: do not include locales in devtools bundle ([#12921](https://github.com/GoogleChrome/lighthouse/pull/12921))
* build: remove template.html from devtools report resources ([#12891](https://github.com/GoogleChrome/lighthouse/pull/12891))
* build: create UMD bundle build ([#12898](https://github.com/GoogleChrome/lighthouse/pull/12898))
* build: normalize sample-report build naming ([#12901](https://github.com/GoogleChrome/lighthouse/pull/12901))
* build: prefer paths when using gh-pages-app ([#12905](https://github.com/GoogleChrome/lighthouse/pull/12905))
* build: refactor devtools bundle tweaking ([#12974](https://github.com/GoogleChrome/lighthouse/pull/12974))
* tweak folder used for vercel deployment ([#12879](https://github.com/GoogleChrome/lighthouse/pull/12879))
* cli: improve error if invalid value for `--output` argument is passed ([#12836](https://github.com/GoogleChrome/lighthouse/pull/12836))
* exit collect-strings script with error code on failure ([#12971](https://github.com/GoogleChrome/lighthouse/pull/12971))

<a name="8.3.0"></a>
# 8.3.0 (2021-08-10)
[Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v8.2.0...v8.3.0)
Expand Down
4 changes: 2 additions & 2 deletions docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ A Lighthouse plugin is just a node module with a name that starts with `lighthou
"name": "lighthouse-plugin-cats",
"main": "plugin.js",
"peerDependencies": {
"lighthouse": "^8.3.0"
"lighthouse": "^8.4.0"
},
"devDependencies": {
"lighthouse": "^8.3.0"
"lighthouse": "^8.4.0"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/custom-audit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"private": true,
"scripts": {},
"devDependencies": {
"lighthouse": "^8.3.0"
"lighthouse": "^8.4.0"
}
}
2 changes: 1 addition & 1 deletion docs/recipes/gulp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"devDependencies": {
"gulp": "^3.9.1",
"gulp-connect": "^5.0.0",
"lighthouse": "^8.3.0"
"lighthouse": "^8.4.0"
}
}
4 changes: 2 additions & 2 deletions docs/recipes/lighthouse-plugin-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"private": true,
"main": "./plugin.js",
"peerDependencies": {
"lighthouse": "^8.3.0"
"lighthouse": "^8.4.0"
},
"devDependencies": {
"lighthouse": "^8.3.0"
"lighthouse": "^8.4.0"
}
}
6 changes: 5 additions & 1 deletion lighthouse-core/scripts/print-contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ async function main() {
for (const author of authors) {
const response = await fetch(`https://api.github.com/repos/GoogleChrome/lighthouse/commits/${author.hash}`);
const json = await response.json();
console.log(`${json.commit.author.name} @${json.author.login}`);
try {
console.log(`${json.commit.author.name} @${json.author.login}`);
} catch {
console.log(`https://api.github.com/repos/GoogleChrome/lighthouse/commits/${author.hash}`, 'unexpected json', json);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion lighthouse-core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"axe-core": "4.2.3"
}
},
"lighthouseVersion": "8.3.0",
"lighthouseVersion": "8.4.0",
"fetchTime": "2021-09-07T20:11:11.853Z",
"requestedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
"finalUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lighthouse",
"version": "8.3.0",
"version": "8.4.0",
"description": "Automated auditing, performance metrics, and best practices for the web.",
"main": "./lighthouse-core/index.js",
"bin": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Generate report: enabled visible

=============== Lighthouse Results ===============
URL: http://127.0.0.1:8000/devtools/lighthouse/resources/lighthouse-emulate-pass.html
Version: 8.3.0
Version: 8.4.0
formFactor: mobile
screenEmulation: {
"mobile": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ Generating results...

=============== Lighthouse Results ===============
URL: http://127.0.0.1:8000/devtools/lighthouse/resources/lighthouse-basic.html
Version: 8.3.0
Version: 8.4.0
ViewportDimensions: {
"innerWidth": 980,
"innerHeight": 1743,
Expand Down

0 comments on commit 284e5f6

Please sign in to comment.