Skip to content

Commit

Permalink
v10.2.0 (#15046)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraine authored May 4, 2023
1 parent f5606ad commit 8fe1a64
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 11 deletions.
63 changes: 63 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,66 @@
<a name="10.2.0"></a>
# 10.2.0 (2023-05-04)
[Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v10.1.1...v10.2.0)

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

## New Contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

- Eric K @doteric

## Notable Changes

* largest-contentful-paint-element: add phases table ([#14891](https://github.com/GoogleChrome/lighthouse/pull/14891))

## Core

* add flow methods to cjs entry ([#15045](https://github.com/GoogleChrome/lighthouse/pull/15045))
* use target type instead of session for oopif ([#15006](https://github.com/GoogleChrome/lighthouse/pull/15006))
* create timing entries for `getArtifact` ([#15024](https://github.com/GoogleChrome/lighthouse/pull/15024))
* classify extension urls as non-network ([#15022](https://github.com/GoogleChrome/lighthouse/pull/15022))
* add time-to-first-byte and lcp-breakdown ([#14941](https://github.com/GoogleChrome/lighthouse/pull/14941))
* fix viewport when running over adb ([#14937](https://github.com/GoogleChrome/lighthouse/pull/14937))
* driver: warn about remaining inflight requests urls ([#14963](https://github.com/GoogleChrome/lighthouse/pull/14963))
* entity-classification: classify unknown urls as "unattributable" ([#15009](https://github.com/GoogleChrome/lighthouse/pull/15009))
* predictive-perf: add URL as requiredArtifact ([#15028](https://github.com/GoogleChrome/lighthouse/pull/15028))
* runner: handle erroneous screenshot ([#14981](https://github.com/GoogleChrome/lighthouse/pull/14981))
* stack-packs: sort packs in order we defined them ([#15039](https://github.com/GoogleChrome/lighthouse/pull/15039))

## Report

* avoid really slow regexes for long urls ([#14745](https://github.com/GoogleChrome/lighthouse/pull/14745))
* remove content-visibility from lh-category ([#14994](https://github.com/GoogleChrome/lighthouse/pull/14994))

## Deps

* update to typescript 5.0.4 ([#15023](https://github.com/GoogleChrome/lighthouse/pull/15023))
* upgrade puppeteer and puppeteer-core ([#15000](https://github.com/GoogleChrome/lighthouse/pull/15000))
* axe-core: upgrade to 4.7.0 ([#15033](https://github.com/GoogleChrome/lighthouse/pull/15033))
* chrome-launcher: update to 0.15.2 ([#14983](https://github.com/GoogleChrome/lighthouse/pull/14983))
* lighthouse-stack-packs: upgrade to 1.10.0 ([#15038](https://github.com/GoogleChrome/lighthouse/pull/15038))
* puppeteer: upgrade to 20.1.0 ([#15037](https://github.com/GoogleChrome/lighthouse/pull/15037))

## I18n

* import ([#15041](https://github.com/GoogleChrome/lighthouse/pull/15041))

## Docs

* update throttling methods ([#14993](https://github.com/GoogleChrome/lighthouse/pull/14993))
* update pptr options example ([#14978](https://github.com/GoogleChrome/lighthouse/pull/14978))

## Tests

* devtools: sync e2e ([#14995](https://github.com/GoogleChrome/lighthouse/pull/14995))
* move regenerated fixtures to new folders ([#15031](https://github.com/GoogleChrome/lighthouse/pull/15031))
* add user flows to generate some fixtures ([#15005](https://github.com/GoogleChrome/lighthouse/pull/15005))

## Misc

* logger: add warn level ([#14964](https://github.com/GoogleChrome/lighthouse/pull/14964))

<a name="10.1.1"></a>
# 10.1.1 (2023-04-14)
[Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v10.1.0...v10.1.1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"steps": [
{
"lhr": {
"lighthouseVersion": "10.1.1",
"lighthouseVersion": "10.2.0",
"requestedUrl": "https://www.mikescerealshack.co/",
"mainDocumentUrl": "https://www.mikescerealshack.co/",
"finalDisplayedUrl": "https://www.mikescerealshack.co/",
Expand Down Expand Up @@ -7818,7 +7818,7 @@
},
{
"lhr": {
"lighthouseVersion": "10.1.1",
"lighthouseVersion": "10.2.0",
"finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty",
"fetchTime": "2023-01-13T23:27:51.982Z",
"gatherMode": "timespan",
Expand Down Expand Up @@ -11719,7 +11719,7 @@
},
{
"lhr": {
"lighthouseVersion": "10.1.1",
"lighthouseVersion": "10.2.0",
"finalDisplayedUrl": "https://www.mikescerealshack.co/search?q=call+of+duty",
"fetchTime": "2023-01-13T23:28:01.888Z",
"gatherMode": "snapshot",
Expand Down Expand Up @@ -16454,7 +16454,7 @@
},
{
"lhr": {
"lighthouseVersion": "10.1.1",
"lighthouseVersion": "10.2.0",
"requestedUrl": "https://www.mikescerealshack.co/corrections",
"mainDocumentUrl": "https://www.mikescerealshack.co/corrections",
"finalDisplayedUrl": "https://www.mikescerealshack.co/corrections",
Expand Down
2 changes: 1 addition & 1 deletion core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lighthouseVersion": "10.1.1",
"lighthouseVersion": "10.2.0",
"requestedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
"mainDocumentUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
"finalDisplayedUrl": "http://localhost:10200/dobetterweb/dbw_tester.html",
Expand Down
2 changes: 1 addition & 1 deletion core/test/scenarios/api-test-pptr.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ describe('Fraggle Rock API', function() {
iframe.click('button');
}
}
await page.waitForNetworkIdle();
await page.waitForNetworkIdle().catch(() => {});
const result = await run.endTimespan();

if (!result) throw new Error('Lighthouse failed to produce a result');
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": "^10.1.1"
"lighthouse": "^10.2.0"
},
"devDependencies": {
"lighthouse": "^10.1.1"
"lighthouse": "^10.2.0"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/lighthouse-plugin-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"main": "./plugin.js",
"peerDependencies": {
"lighthouse": "^10.1.1"
"lighthouse": "^10.2.0"
},
"devDependencies": {
"lighthouse": "^8.6.0"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lighthouse",
"type": "module",
"version": "10.1.1",
"version": "10.2.0",
"description": "Automated auditing, performance metrics, and best practices for the web.",
"main": "./core/index.js",
"bin": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe.skipOnParallel('Navigation', async function() {
assert.strictEqual(numNavigations, 6);
}

assert.strictEqual(lhr.lighthouseVersion, '10.1.1');
assert.strictEqual(lhr.lighthouseVersion, '10.2.0');
assert.match(lhr.finalUrl, /^https:\/\/localhost:[0-9]+\/test\/e2e\/resources\/lighthouse\/hello.html/);

assert.strictEqual(lhr.configSettings.throttlingMethod, 'simulate');
Expand Down

0 comments on commit 8fe1a64

Please sign in to comment.