From ba1e1591dd83fe411f058df31a994df76796f646 Mon Sep 17 00:00:00 2001 From: Brendan Kenny Date: Wed, 24 Jul 2019 12:08:42 -0700 Subject: [PATCH] 5.2.0 (#9442) --- changelog.md | 141 ++++++++++++++++++++ clients/extension/manifest.json | 2 +- lighthouse-core/test/results/sample_v2.json | 2 +- package.json | 2 +- proto/sample_v2_round_trip.json | 2 +- 5 files changed, 145 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index 54bb0c4403fa..883fec4e2969 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,144 @@ + +# 5.2.0 (2019-07-24) + +Expected DevTools release in Chrome 77 ([September 2019](https://chromestatus.com/features/schedule)) + +## New contributors! +Thanks to @AngeloGulina, @jamesgeorge007, @johnemau, @kaushikchaubal, @mitchellsimoens, @NickolasBenakis, @noelyoo, @PatOnTheBack, @rishichawda, and @Remexllee for their first contributions! + +## New Audits + +* `Third-Party Usage`, a new performance diagnostic that shows a breakdown of third-party resources in the page and the time/bytes needed to load them ([#9067](https://github.com/googlechrome/lighthouse/pull/9067)) +* `Total Blocking Time` an experimental new metric that serves as a companion to TTI to help prioritize unblocking the main thread. Since it is currently experimental, it is unscored and appears only in the raw LHR JSON, not in the HTML report. ([#8975](https://github.com/googlechrome/lighthouse/pull/8975), [#9409](https://github.com/googlechrome/lighthouse/pull/9409)) + +## Notable changes +* **tracehouse**: performance trace processing has been moved to its own directory in `lib/tracehouse/` to serve as a more standalone library ([9f80524](https://github.com/googlechrome/lighthouse/commit/9f80524), [1af2edd](https://github.com/googlechrome/lighthouse/commit/1af2edd), [7ba6776](https://github.com/googlechrome/lighthouse/commit/7ba6776), [ddff3d6](https://github.com/googlechrome/lighthouse/commit/ddff3d6)) +* certificate security errors are no longer a fatal Lighthouse error, though the Chrome error page will still return few results in the report by default. See [the docs](https://github.com/GoogleChrome/lighthouse/tree/82835eb6e4bcece5ac1ce9c575a8d2d9ecd995d1/docs#testing-on-a-site-with-an-untrusted-certificate) for testing a page in this situation. ([#8865](https://github.com/googlechrome/lighthouse/pull/8865)) + +## Core + +* support saving and loading errors in artifacts ([#9397](https://github.com/googlechrome/lighthouse/pull/9397)) +* config: assert all audit `requiredArtifacts` will be gathered ([#9284](https://github.com/googlechrome/lighthouse/pull/9284)) +* `domstats`: support an empty html body ([#9340](https://github.com/googlechrome/lighthouse/pull/9340)) +* `font-display`: limit false positives ([#9148](https://github.com/googlechrome/lighthouse/pull/9148)) +* `font-size`: calculate accurate line/column for styles ([#9356](https://github.com/googlechrome/lighthouse/pull/9356)) +* `font-size`: comment why source 'Other' occurs ([#9363](https://github.com/googlechrome/lighthouse/pull/9363)) +* localize invalid-URL error message ([#9334](https://github.com/googlechrome/lighthouse/pull/9334)) +* `gather-runner`: add `PageLoadError` base artifact ([#9236](https://github.com/googlechrome/lighthouse/pull/9236)) +* `gather-runner`: don't save trace on pass with `pageLoadError` ([#9198](https://github.com/googlechrome/lighthouse/pull/9198)) +* `gather-runner`: treat Chrome interstitials as `pageLoadErrors` ([#9176](https://github.com/googlechrome/lighthouse/pull/9176)) +* `gather-runner`: always reset scroll position ([#9060](https://github.com/googlechrome/lighthouse/pull/9060)) +* `gather-runner`: convert `PAGE_HUNG` to non-fatal `runtimeError` ([#9121](https://github.com/googlechrome/lighthouse/pull/9121)) +* `manifest-parser`: handle blob manifests ([#9088](https://github.com/googlechrome/lighthouse/pull/9088)) +* `page-functions`: don't try to clone a ShadowRoot ([#9079](https://github.com/googlechrome/lighthouse/pull/9079)) +* perf: speed up `tap-target`'s `isVisible()` ([#9056](https://github.com/googlechrome/lighthouse/pull/9056)) +* tracehouse: allow missing FCP ([#9174](https://github.com/googlechrome/lighthouse/pull/9174)) + +## CLI +* accept flags from a file ([#9109](https://github.com/googlechrome/lighthouse/pull/9109)) + +## Clients + +* devtools: audits2->audits and defer reading resources ([#8985](https://github.com/googlechrome/lighthouse/pull/8985), [#9344](https://github.com/googlechrome/lighthouse/pull/9344)) +* devtools: unset overflow in print ([#9274](https://github.com/googlechrome/lighthouse/pull/9274)) +* lightrider: update `processForProto` method signature, `string` -> `LH.Result` ([#9016](https://github.com/googlechrome/lighthouse/pull/9016)) +* lightrider: serialize errors in artifacts ([#9410](https://github.com/googlechrome/lighthouse/pull/9410)) + +## Deps + +* update `axe-core` to 3.3.0 ([#9343](https://github.com/googlechrome/lighthouse/pull/9343)) +* update `typescript` to 3.5.3 ([#9357](https://github.com/googlechrome/lighthouse/pull/9357)) +* update `chrome-launcher` to 0.11.1 ([#9339](https://github.com/googlechrome/lighthouse/pull/9339)) +* `intl`: move from devDep to dep ([#9309](https://github.com/googlechrome/lighthouse/pull/9309)) +* update `debug` to 2.6.9 ([#9398](https://github.com/googlechrome/lighthouse/pull/9398)) +* update to `open` from `opn` ([#9267](https://github.com/googlechrome/lighthouse/pull/9267)) +* update outdated transitive deps ([#9347](https://github.com/googlechrome/lighthouse/pull/9347)) +* update `brfs` to 2.0.2 ([#9312](https://github.com/googlechrome/lighthouse/pull/9312)) +* remove `commitizen` as local dep ([#9246](https://github.com/googlechrome/lighthouse/pull/9246)) +* update `extend` to 3.0.2 ([#9184](https://github.com/googlechrome/lighthouse/pull/9184)) +* bump transitive dep `js-yaml` ([#9131](https://github.com/googlechrome/lighthouse/pull/9131)) +* update `bundlesize`, add more budgets ([#9089](https://github.com/googlechrome/lighthouse/pull/9089)) + +## Docs + +* add i18n overview and authoring documentation ([#9361](https://github.com/googlechrome/lighthouse/pull/9361)) +* link to good first issues ([#9440](https://github.com/googlechrome/lighthouse/pull/9440)) +* add instructions for testing with self-signed certificate ([#9112](https://github.com/googlechrome/lighthouse/pull/9112)) +* update `understanding-results.md` ([#9226](https://github.com/googlechrome/lighthouse/pull/9226)) +* change score type from 'string' to 'number' ([#9225](https://github.com/googlechrome/lighthouse/pull/9225)) +* readme: add `Exthouse` to related projects ([#9243](https://github.com/googlechrome/lighthouse/pull/9243)) +* readme: add `lighthouse-jest-example` to related projects ([#9172](https://github.com/googlechrome/lighthouse/pull/9172)) +* readme: add `lighthouse-persist` to related projects([#9161](https://github.com/googlechrome/lighthouse/pull/9161)) +* readme: add `gimbal` integration to related projects ([#9083](https://github.com/googlechrome/lighthouse/pull/9083)) +* readme: update `lighthouse-mocha-example` related project ([#9158](https://github.com/googlechrome/lighthouse/pull/9158)) +* readme: alphabetize related projects ([#9110](https://github.com/googlechrome/lighthouse/pull/9110)) +* fix various typos ([#9411](https://github.com/googlechrome/lighthouse/pull/9411)) + +## I18n + +* introduce script to swap in new locale to LHR ([#8755](https://github.com/googlechrome/lighthouse/pull/8755)) +* enable local debug locale, `en-XL` ([#9192](https://github.com/googlechrome/lighthouse/pull/9192)) +* begin localization of audits in `best-practices` ([#9092](https://github.com/googlechrome/lighthouse/pull/9092)) +* add `es-419` ([#9171](https://github.com/googlechrome/lighthouse/pull/9171)) +* localize column headers of budget audits ([#9127](https://github.com/googlechrome/lighthouse/pull/9127)) + +## Report + +* fix audit explanation rendering ([#9439](https://github.com/googlechrome/lighthouse/pull/9439)) +* accessibility: add heading role to report category gauge ([#9422](https://github.com/googlechrome/lighthouse/pull/9422)) +* add link to docs on performance scoring ([#9355](https://github.com/googlechrome/lighthouse/pull/9355)) +* use full-bleed image thumbnails ([#9238](https://github.com/googlechrome/lighthouse/pull/9238)) +* show disabled checkbox when all/no urls are third party ([#9299](https://github.com/googlechrome/lighthouse/pull/9299)) +* remove unnecessary attribute in svg ([#9301](https://github.com/googlechrome/lighthouse/pull/9301)) +* make urls clickable ([#9224](https://github.com/googlechrome/lighthouse/pull/9224)) +* use css grid for metrics ([#9273](https://github.com/googlechrome/lighthouse/pull/9273)) +* center and style top-level runtimeError ([#9271](https://github.com/googlechrome/lighthouse/pull/9271)) +* create naming convention for css variables ([#9149](https://github.com/googlechrome/lighthouse/pull/9149), [37f7261](https://github.com/googlechrome/lighthouse/commit/37f7261), [ece89ec](https://github.com/googlechrome/lighthouse/commit/ece89ec)) +* add aria-labels to tools button and metric toggle ([#9201](https://github.com/googlechrome/lighthouse/pull/9201)) +* update permalink calculations for correct hash nav scroll position ([#9188](https://github.com/googlechrome/lighthouse/pull/9188)) +* devtools: enable report UI features ([#9157](https://github.com/googlechrome/lighthouse/pull/9157)) +* position sticky-header highlighter with css grid ([#9186](https://github.com/googlechrome/lighthouse/pull/9186)) +* ensure SVG elements in `` have unique ids ([#9151](https://github.com/googlechrome/lighthouse/pull/9151)) +* only print light theme ([#9173](https://github.com/googlechrome/lighthouse/pull/9173)) +* make 'tools' menu focus-able ([#9169](https://github.com/googlechrome/lighthouse/pull/9169)) +* rename 'exports' to 'tools' ([#9135](https://github.com/googlechrome/lighthouse/pull/9135)) +* remove unused css vars ([#9144](https://github.com/googlechrome/lighthouse/pull/9144)) + +## Tests + +* relax contrast font size expectation ([#9441](https://github.com/googlechrome/lighthouse/pull/9441)) +* `font-size`: assert on source ([#9400](https://github.com/googlechrome/lighthouse/pull/9400), [#9413](https://github.com/googlechrome/lighthouse/pull/9413)) +* assert `vulnerable-library` ranges have upper bounds ([#9308](https://github.com/googlechrome/lighthouse/pull/9308)) +* i18n: update canonical locale test for node 12.6 ([#9396](https://github.com/googlechrome/lighthouse/pull/9396)) +* i18n: throw when no ICU replacement value is given ([#9384](https://github.com/googlechrome/lighthouse/pull/9384)) +* run CI with a frozen `yarn.lock` ([#9362](https://github.com/googlechrome/lighthouse/pull/9362)) +* smokehouse: assert on expected array length ([#9292](https://github.com/googlechrome/lighthouse/pull/9292)) +* smokehouse: always assert `lhr.runtimeError` ([#9130](https://github.com/googlechrome/lighthouse/pull/9130)) +* `tags-blocking-first-paint`: make alternate stylesheets not blocking ([#9248](https://github.com/googlechrome/lighthouse/pull/9248)) +* improve drag-and-drop test coverage ([#9314](https://github.com/googlechrome/lighthouse/pull/9314)) +* clean up crufty `gather-runner` tests ([#9227](https://github.com/googlechrome/lighthouse/pull/9227)) + +## Misc + +* fix `yarn.lock` and translations master drift ([#9404](https://github.com/googlechrome/lighthouse/pull/9404)) +* build: adjust deployment filenames ([#9338](https://github.com/googlechrome/lighthouse/pull/9338), [#9434](https://github.com/googlechrome/lighthouse/pull/9434)) +* build: create error-y LHR for the deploy ([#9283](https://github.com/googlechrome/lighthouse/pull/9283)) +* `network-server-latency`: fix serverResponseTime typo ([#9388](https://github.com/googlechrome/lighthouse/pull/9388)) +* localize logged `GatherRunner` error ([#9291](https://github.com/googlechrome/lighthouse/pull/9291)) +* remove duplicate colon from regex ([#9295](https://github.com/googlechrome/lighthouse/pull/9295)) +* runner: add assertion for `devtoolsLog` as `requiredArtifact` ([#9290](https://github.com/googlechrome/lighthouse/pull/9290)) +* add `yarn static-server` script ([#9293](https://github.com/googlechrome/lighthouse/pull/9293)) +* fix typo in `performance-budget` smoke test ([#9244](https://github.com/googlechrome/lighthouse/pull/9244)) +* add `.idea` to `.gitignore` for WebStorm developers ([#9275](https://github.com/googlechrome/lighthouse/pull/9275)) +* build: generate report variants in deployment ([#9280](https://github.com/googlechrome/lighthouse/pull/9280)) +* suggest uploading issue repro ([#9217](https://github.com/googlechrome/lighthouse/pull/9217)) +* use `CHROME_PATH` variable in CI and scripts ([#9202](https://github.com/googlechrome/lighthouse/pull/9202)) +* update broken tracing-processor require ([#9123](https://github.com/googlechrome/lighthouse/pull/9123)) +* address release script feedback ([#9111](https://github.com/googlechrome/lighthouse/pull/9111)) +* release script should commit with format vX.Y.Z ([#9090](https://github.com/googlechrome/lighthouse/pull/9090)) + +[Full 5.2.0 Changelog](https://github.com/googlechrome/lighthouse/compare/v5.1.0...v5.2.0) + # 5.1.0 (2019-05-30) [Full Changelog](https://github.com/googlechrome/lighthouse/compare/v5.0.0...v5.1.0) diff --git a/clients/extension/manifest.json b/clients/extension/manifest.json index ee2d8d504763..8666e25f3af4 100644 --- a/clients/extension/manifest.json +++ b/clients/extension/manifest.json @@ -1,6 +1,6 @@ { "name": "__MSG_appName__", - "version": "5.1.0", + "version": "5.2.0", "minimum_chrome_version": "72", "manifest_version": 2, "description": "__MSG_appDescription__", diff --git a/lighthouse-core/test/results/sample_v2.json b/lighthouse-core/test/results/sample_v2.json index a68818bf536a..cc199f2aa88a 100644 --- a/lighthouse-core/test/results/sample_v2.json +++ b/lighthouse-core/test/results/sample_v2.json @@ -5,7 +5,7 @@ "hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3358.0 Safari/537.36", "benchmarkIndex": 1000 }, - "lighthouseVersion": "5.1.0", + "lighthouseVersion": "5.2.0", "fetchTime": "2018-03-13T00:55:45.840Z", "requestedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html", "finalUrl": "http://localhost:10200/dobetterweb/dbw_tester.html", diff --git a/package.json b/package.json index 29ba66c48be0..2ca2bdb15ef2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lighthouse", - "version": "5.1.0", + "version": "5.2.0", "description": "Lighthouse", "main": "./lighthouse-core/index.js", "bin": { diff --git a/proto/sample_v2_round_trip.json b/proto/sample_v2_round_trip.json index 63b760193ea7..2bd3fde22f2b 100644 --- a/proto/sample_v2_round_trip.json +++ b/proto/sample_v2_round_trip.json @@ -3981,7 +3981,7 @@ "warningHeader": "Warnings: " } }, - "lighthouseVersion": "5.1.0", + "lighthouseVersion": "5.2.0", "requestedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html", "runWarnings": [], "stackPacks": [