sitespeed.io 36.0.0-alpha.2 → 36.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,24 +1,23 @@
1
1
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
2
2
 
3
- ## 36.0.0 - UNRELEASED
4
-
5
- 36.0.0 will be released late January 2025.
3
+ ## 36.0.0 - 2025-01-21
6
4
 
7
5
  The 36.0.0 release remove a lot of dependencies. Since we implemented sitespeed.io the first time, there are many things that are easy to do in modern NodeJS. Those things have now been implemented directly in sitespeed.io.
8
6
 
9
7
  This release contains a couple of breaking changes. Please read the breaking section before you upgrade!
10
8
 
11
9
  ### Breaking
12
- * Only download green2url data when you specifically ask for it [#4354](https://github.com/sitespeedio/sitespeed.io/pull/4354). To install you need to run `DOWNLOAD_URL2GREEN=true npm install sitespeed.io`. The green2url is also updated to use the latest availible data by late 2024. This saves 80 mb in default downloading.
13
- * Make sure you can't run with both `--cpu` and `--collectProfileRun` since that do not make any sense [#4298](https://github.com/sitespeedio/sitespeed.io/pull/4298)
14
- * Use correct name in Browsertime: userTimingAllowList instead of whitelist [#4346](https://github.com/sitespeedio/sitespeed.io/pull/4346).
15
- * Plugins need to update the plugin dependency to @sitespeed.io/plugin 1.0.0 or higher.
16
- * Replace intel (log) with sitespeed.io/log [#4381](https://github.com/sitespeedio/sitespeed.io/pull/4381). This remove the logToFile option in the cli. Instead of use that option, pipe the output to the file you want.
10
+ * **Sustainability plugin**: Before when you installed sitespeed.io we automatically installed the green2URL data (mapping servername to green data). With this change you inly download green2url data when you specifically ask for it [#4354](https://github.com/sitespeedio/sitespeed.io/pull/4354). To install you need to run `DOWNLOAD_URL2GREEN=true npm install sitespeed.io`. The green2url is also updated to use the latest availible data by late 2024. This saves 80 mb in default downloading. You can also get the data directly from the green hosting API using `--sustainable.useGreenWebHostingAPI true`, that's the easiest way to make sure you use the current availble data.
11
+ * **CPU**: Make sure you can't run with both `--cpu` and `--collectProfileRun` since that do not make any sense [#4298](https://github.com/sitespeedio/sitespeed.io/pull/4298). If you used to have that configuration, sitespeed.io will not exit with an error.
12
+ * **Block User Timings**: Use correct name in Browsertime: `userTimingAllowList` instead of whitelist [#4346](https://github.com/sitespeedio/sitespeed.io/pull/4346). There was a missmtach bug on how to disable UserTimings, please make sure you use `userTimingAllowList`.
13
+ * **Plugins**: If you created your own plugin for sitespeed.io you need to update the plugin dependency to @sitespeed.io/plugin 1.0.0 or higher.
14
+ * **Log to file**: Replace intel (log) with sitespeed.io/log [#4381](https://github.com/sitespeedio/sitespeed.io/pull/4381). This remove the logToFile option in the cli. Instead of use that option, pipe the output to the file you want.
17
15
 
18
16
  ### Added
19
17
  * Update to Coach-core 8.1.1 [#4363](https://github.com/sitespeedio/sitespeed.io/pull/4363)
20
18
  * Use the offical Slack plugin instead of node-slack [#4360](https://github.com/sitespeedio/sitespeed.io/pull/4360).
21
- * Firefox 134 and NodeJS 22 in the Docker container [#4395](https://github.com/sitespeedio/sitespeed.io/pull/4395) and [#4396](https://github.com/sitespeedio/sitespeed.io/pull/4396).
19
+ * Firefox 134, Chrome 132 and NodeJS 22 in the Docker container [#4395](https://github.com/sitespeedio/sitespeed.io/pull/4395), [#4396](https://github.com/sitespeedio/sitespeed.io/pull/4396) and [#4405](https://github.com/sitespeedio/sitespeed.io/pull/4405)
20
+ * Let the Docker container output the CPU architecture for easier error reporting [#4404](https://github.com/sitespeedio/sitespeed.io/pull/4404).
22
21
 
23
22
  ### Fixed
24
23
  * Replace dependencies with local code:
@@ -48,6 +47,7 @@ This release contains a couple of breaking changes. Please read the breaking sec
48
47
  * Ugrade to google-cloud/storage-7.14.0 [#4361](https://github.com/sitespeedio/sitespeed.io/pull/4361).
49
48
  * Upgrade to AWS client 3.717.0 [#4368](https://github.com/sitespeedio/sitespeed.io/pull/4368)
50
49
  * Removed the webdriver manager in the Docker container [4390](https://github.com/sitespeedio/sitespeed.io/pull/4390). We don't use it but on MacOS Selenium still uses it to find the driver for Safari so we can only remove it in Docker.
50
+ * Fix Wilcoxon NaN values when running the compare plugin [#4402](https://github.com/sitespeedio/sitespeed.io/pull/4402).
51
51
 
52
52
  ### Tech
53
53
  * New GitHub actions that test uploading to S3, GCS and SCP.
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM sitespeedio/webbrowsers:chrome-131.0-firefox-133.0-edge-131.0
1
+ FROM sitespeedio/webbrowsers:chrome-132.0-firefox-134.0-edge-132.0
2
2
 
3
3
  ARG TARGETPLATFORM=linux/amd64
4
4
 
@@ -12,7 +12,7 @@ COPY docker/webpagereplay/wpr_key.pem /webpagereplay/certs/
12
12
  COPY docker/webpagereplay/deterministic.js /webpagereplay/scripts/deterministic.js
13
13
  COPY docker/webpagereplay/LICENSE /webpagereplay/
14
14
 
15
- RUN sudo apt-get update && sudo apt-get install libnss3-tools python2 \
15
+ RUN sudo apt-get update && sudo apt-get install libnss3-tools \
16
16
  net-tools \
17
17
  build-essential \
18
18
  iproute2 -y && \
package/README.md CHANGED
@@ -1,10 +1,12 @@
1
1
  # sitespeed.io
2
2
 
3
- ![Unit tests](https://github.com/sitespeedio/sitespeed.io/workflows/Unit%20tests/badge.svg?branch=main)
4
- ![Linux browsers](https://github.com/sitespeedio/sitespeed.io/workflows/Linux%20browsers/badge.svg?branch=main)
5
- ![Docker](https://github.com/sitespeedio/sitespeed.io/workflows/Docker/badge.svg?branch=main)
6
- ![Windows Edge](https://github.com/sitespeedio/sitespeed.io/workflows/Windows%20Edge/badge.svg?branch=main)
7
- ![OSX Safari](https://github.com/sitespeedio/sitespeed.io/workflows/OSX%20Safari/badge.svg?branch=main)
3
+ [![Unit tests](https://github.com/sitespeedio/sitespeed.io/actions/workflows/unittests.yml/badge.svg)](https://github.com/sitespeedio/sitespeed.io/actions/workflows/unittests.yml)
4
+ [![Linux browsers](https://github.com/sitespeedio/sitespeed.io/actions/workflows/linux.yml/badge.svg)](https://github.com/sitespeedio/sitespeed.io/actions/workflows/linux.yml)
5
+ [![Docker](https://github.com/sitespeedio/sitespeed.io/actions/workflows/docker.yml/badge.svg)](https://github.com/sitespeedio/sitespeed.io/actions/workflows/docker.yml)
6
+ [![Docker security scan](https://github.com/sitespeedio/sitespeed.io/actions/workflows/docker-scan.yml/badge.svg)](https://github.com/sitespeedio/sitespeed.io/actions/workflows/docker-scan.yml)
7
+ [![Windows Edge](https://github.com/sitespeedio/sitespeed.io/actions/workflows/windows.yml/badge.svg)](https://github.com/sitespeedio/sitespeed.io/actions/workflows/windows.yml)
8
+ [![OSX Safari](https://github.com/sitespeedio/sitespeed.io/actions/workflows/safari.yml/badge.svg)](https://github.com/sitespeedio/sitespeed.io/actions/workflows/safari.yml)
9
+ [![Test upload functionality](https://github.com/sitespeedio/sitespeed.io/actions/workflows/upload.yml/badge.svg)](https://github.com/sitespeedio/sitespeed.io/actions/workflows/upload.yml)
8
10
  [![Downloads][downloads-image]][downloads-url]
9
11
  [![Docker][docker-image]][docker-url]
10
12
  [![Stars][stars-image]][stars-url]
@@ -144,7 +144,7 @@ table
144
144
  td
145
145
  a(href=createGraphLink(groupName, metricName))
146
146
  b #{groupName + '.' + metricName}
147
- if values.statisticalTestU === "N/A" || values.statisticalTestU === "Datasets are identical" || values.statisticalTestU === "No variability"
147
+ if values.statisticalTestU === "N/A" || values.statisticalTestU === "Datasets are identical" || values.statisticalTestU === "No variability" || values.statisticalTestU === "Datasets have different lengths"
148
148
  td #{values.statisticalTestU}
149
149
  else
150
150
  td #{h.decimals(values.statisticalTestU)}
@@ -13,7 +13,7 @@ def perform_test(test_type, baseline, current, **kwargs):
13
13
  return None, "Datasets are identical"
14
14
  else:
15
15
  return None, "No variability"
16
- if (len(set(baseline)) != len(set(current))) and test_type == 'wilcoxon':
16
+ if (len(baseline) != len(current)) and test_type == 'wilcoxon':
17
17
  return None, "Datasets have different lengths"
18
18
 
19
19
  if test_type == 'wilcoxon':
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "36.0.0-alpha.2",
3
+ "version": "36.0.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "36.0.0-alpha.2",
9
+ "version": "36.0.0",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
@@ -18,7 +18,7 @@
18
18
  "@slack/webhook": "7.0.4",
19
19
  "@tgwf/co2": "0.16.4",
20
20
  "axe-core": "4.10.2",
21
- "browsertime": "24.0.0-alpha.5",
21
+ "browsertime": "24.0.0",
22
22
  "coach-core": "8.1.1",
23
23
  "dayjs": "1.11.11",
24
24
  "fast-crc32c": "2.0.0",
@@ -1821,9 +1821,9 @@
1821
1821
  }
1822
1822
  },
1823
1823
  "node_modules/@sitespeed.io/chromedriver": {
1824
- "version": "131.0.6778-69",
1825
- "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-131.0.6778-69.tgz",
1826
- "integrity": "sha512-1XAGXWC8cvxG8yQ8iWCpY+CRkoUm36jbRWB0ia6YYXpm34KHTIXBbLYZtGEf2luQ6BJIFAOh4If5pH2q1KijEw==",
1824
+ "version": "132.0.6834-83",
1825
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-132.0.6834-83.tgz",
1826
+ "integrity": "sha512-JHyO6MHW8t6fZwkpTpSqSk1w18YRJxg0Joym00GHlnB6uH15+//PBYeKuvnjdZTROlp/6FK3Pqo4hTE2Kql45g==",
1827
1827
  "hasInstallScript": true,
1828
1828
  "dependencies": {
1829
1829
  "node-downloader-helper": "2.1.9",
@@ -1831,11 +1831,10 @@
1831
1831
  }
1832
1832
  },
1833
1833
  "node_modules/@sitespeed.io/edgedriver": {
1834
- "version": "131.0.2903-112",
1835
- "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-131.0.2903-112.tgz",
1836
- "integrity": "sha512-OgwH9qSb3Kh3NfZBGR2+ZoeHzuxx4aRAvbLVVp/jRvrm+lExIQ+qYyOZzaJhi3lvGMDaFaRnMwbLDl9wVZu15A==",
1834
+ "version": "132.0.2957-115",
1835
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-132.0.2957-115.tgz",
1836
+ "integrity": "sha512-Fdgo2fD39r1PibE1PiCL8qM6vIVuCIvS/vvpbaKTV5sEveOegCYO6mH0gIocY0OOWyQtqphXWp04USR59xctvA==",
1837
1837
  "hasInstallScript": true,
1838
- "license": "MIT",
1839
1838
  "dependencies": {
1840
1839
  "node-downloader-helper": "2.1.9",
1841
1840
  "node-stream-zip": "1.15.0"
@@ -3331,13 +3330,13 @@
3331
3330
  }
3332
3331
  },
3333
3332
  "node_modules/browsertime": {
3334
- "version": "24.0.0-alpha.5",
3335
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-24.0.0-alpha.5.tgz",
3336
- "integrity": "sha512-SUSyBV6vpTAOdXKxyUa2iXd/g6SxHBF60UCU8za94up7oyYDl1oVKuljSoCXaDqArNUY079SDnhHieQCwOMBXw==",
3333
+ "version": "24.0.0",
3334
+ "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-24.0.0.tgz",
3335
+ "integrity": "sha512-Bc8eV3Uu/U+TnW+nWy1BwZXyvNlPCmRwH7Y5yj98WF91iQ9tpGxHy9PUAc1s9Y4B7h0A2Qzer4UPgC3Iw508aQ==",
3337
3336
  "dependencies": {
3338
3337
  "@devicefarmer/adbkit": "3.3.8",
3339
- "@sitespeed.io/chromedriver": "131.0.6778-69",
3340
- "@sitespeed.io/edgedriver": "131.0.2903-112",
3338
+ "@sitespeed.io/chromedriver": "132.0.6834-83",
3339
+ "@sitespeed.io/edgedriver": "132.0.2957-115",
3341
3340
  "@sitespeed.io/geckodriver": "0.35.0-1",
3342
3341
  "@sitespeed.io/log": "0.2.4",
3343
3342
  "@sitespeed.io/throttle": "5.0.1",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "sitespeed.io": "./bin/sitespeed.js",
6
6
  "sitespeed.io-wpr": "./bin/browsertimeWebPageReplay.js"
7
7
  },
8
- "version": "36.0.0-alpha.2",
8
+ "version": "36.0.0",
9
9
  "description": "sitespeed.io is an open-source tool for comprehensive web performance analysis, enabling you to test, monitor, and optimize your website’s speed using real browsers in various environments.",
10
10
  "keywords": [
11
11
  "performance",
@@ -89,7 +89,7 @@
89
89
  "@tgwf/co2": "0.16.4",
90
90
  "@slack/webhook": "7.0.4",
91
91
  "axe-core": "4.10.2",
92
- "browsertime": "24.0.0-alpha.5",
92
+ "browsertime": "24.0.0",
93
93
  "coach-core": "8.1.1",
94
94
  "dayjs": "1.11.11",
95
95
  "fast-crc32c": "2.0.0",