Skip to content

44.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 21:38
· 3 commits to main since this release

Breaking

  • The HAR file no longer has the values of sensitive headers and cookies. A test that logs in stored tokens and session cookies in the HAR, and security scanners flag them when the result is uploaded to S3 or GCS. The cookie names and attributes stay, so the Coach and PageXray cookie metrics do not change. To keep the values, for example to debug, use --cleanSensitiveHeaders false. To clean more headers, for example your own auth header, add --sensitiveHeader #4979.
  • The example Grafana dashboards need Grafana 13 and the Infinity datasource. The dashboards use tabs and hide panels that have no data, which needs the Grafana 13 dashboard format. Infinity replaces the JSON API datasource. Our Docker compose file installs and sets up both, and removes the old JSON API datasource. If you set up Grafana yourself, install Infinity and add the datasource, see the docs #4982 #4983 #4986 #4997 #4999 #5011.
  • The Wikipedia login, Wikipedia Rabbit Hole and Plus1 dashboards are removed. The new User journey dashboard shows any scripted test without changes #5002 #5010 #5011.

Added

  • The new trend plugin finds pages that get slower over time. The compare plugin compares the runs of one test with a baseline, and on a live site normal day-to-day changes often look significant. The trend plugin compares the medians of the last 4 tests with the 28 tests before, and only reports a change that is also big enough to matter. It follows Largest and First Contentful Paint and Cumulative Layout Shift by default, and can also follow first- and third-party JavaScript size. It sends the result to Graphite and shows it in a new Trend tab for each page, with how far each metric is from an alert. Turn it on with --trend.enable. Like compare, it needs Python with scipy, which the Docker container has. The plugin needs 32 tests of a page before it compares, so keep the trend folder between tests, for example mount it in Docker #5028 #5030 #5031 #5050 #5051 #5052.
  • With --compare.baselineMaxAge 7 a test becomes the new compare baseline when there is no baseline or the baseline is older than 7 days. --compare.baselineDays limits that to some days, for example the weekend. Before, you had to add --compare.saveBaseline from a cron job on one day of the week #5040.
  • The new sitespeed.io-compare command compares two tests saved with --compare.saveBaseline without running a new test, and writes the same page as the Compare tab #4975.
  • The new OpenSearch plugin stores the result of each test in OpenSearch, and an OpenSearch dashboard shows the latest tests with links to their results, every run and the significant changes. The plugin sets up its index templates and the retention #4597 #5012 #5013 #5014 #5015 #5016 #5021 #5026.
  • The new webhook plugin posts the result of a run as JSON to any URL when everything is done, including the upload. Use it to get the result into Microsoft Teams, Jenkins or your own system #4962.
  • The first SIGTERM or SIGINT (Ctrl+C) now lets the run that is going on finish, skips the rest and writes the report from the finished runs. A second signal stops at once. In Docker, docker stop and Ctrl+C now reach sitespeed.io, also with WebPageReplay #4966.
  • Budgets for groups of pages: a budget file can have one budget for each part of a site. Existing budget files work as before #4974.
  • --sustainable.country calculates the CO2 with the electricity of a country or region instead of the global average. Thanks Harsh-Git39 for the first implementation #4967.
  • --csv.enable adds a pages.csv with one row for each tested page and the same metrics as the pages table #4969.
  • --axe.firstRunOnly runs axe only in the first iteration, which makes tests with many iterations faster #4972.
  • --userTimingBlockList leaves user timings out of the result, for example the many user timings from ads. Thanks Pavel Bairov #5024.
  • The CPU stability of the test machine on Linux (steal time and thermal throttling) is sent to Graphite and shown in the report, and a run page warns when the CPU was not stable in that run. On cloud machines a slow page and a slow machine look the same in the timings #5048.
  • The CrUX ad metrics (ad count, ad density, ad CPU time and ad network weight) are shown in the report and sent to Graphite and InfluxDB #4896.
  • Firefox CPU power can be used in --html.pageSummaryMetrics, the pages CSV and budgets, and the run page shows it #4977.
  • The latest test info for Grafana says which baseline the test was compared with #4971.
  • --copyLatestFilesToBaseGraphiteNamespace is in --help and the configuration docs. The dashboards need it to find the latest screenshot and video #5008.
  • The Grafana dashboards are the same as on dashboard.sitespeed.io and much easier to use: Page metrics, Leaderboard, CrUX and User journey use tabs, show only the data you collect and explain every panel. Page metrics has a Visual metrics tab and a Regressions tab that shows which metrics got slower. The Leaderboard ranks pages by Google Web Vitals. The Welcome dashboard shows which tests sent data in the last 24 hours and the pages that got slower, and the Docker compose setup has an alert for pages that got significantly slower #4988 #4991 #4992 #5000 #5001 #5005 #5006 #5007 #5017 #5018 #5019 #5020 #5025 #5029 #5033.
  • Chrome 158, Firefox 161 and Edge 158 in the Docker container #4981 #5027 #5042.
  • Browsertime 29.5.1 #4978 #4989 #5044 #5049. Safari reports LCP, FCP and TTFB in the Google Web Vitals. Visual elements and Element Timing work in open shadow roots and in iframes from the same origin. Pre and post scripts get the tested URL as context.url. Visual Metrics from the Firefox window recorder no longer move to a 40 ms grid, so they change a little after you upgrade. See the Browsertime changelog.
  • New tutorials: your first test, find out if a change made a page slower, monitor pages with Grafana, and stop pages from getting heavier in CI #4965 #5032 #5034 #5037.
  • New docs on where the result ends up, how to read the waterfall, how often pre and post scripts run, visual elements in web components and iframes, and what to protect when the dashboard runs on a server #4963 #4964 #4973 #4980 #5035.
  • Click the video on the Rendering tab to play or pause it #4957, and the side-by-side page explains median, mean, stddev and RSD #4956.
  • Graphite and Grafana annotations are sent when the result is uploaded with S3, GCS, scp or rsync. Before, the link in the annotation gave a 404 until the whole run was done. The annotations still show at the time the page was tested #4993.
  • A test with a failed or missing run is never saved as the compare baseline. The next test that works saves it instead #5041.
  • With WebPageReplay, the compare plugin warns only below 10 runs instead of 20, because replayed runs are closer to each other #5036.
  • The Matrix plugin uses the current Matrix API (v3, the Authorization header and PUT). Thanks Tulir Asokan for the PR #4598.
  • The example Docker compose file pins the versions of its images and Grafana plugins, and uses Graphite 1.1.10-5 #4987 #5003.

Fixed

  • Since 41.1.0, a budget for one URL, or for an alias with a dot in it, was ignored and the page got the generic budget #4970.
  • A budget file with a metric that sitespeed.io does not know stopped the whole run without a report. Now the metric is skipped. Thanks Prajas Kulkarni for the PR #4960.
  • A page that could not be tested (for example the browser did not start) is now an error in the JUnit, TAP and HTML budget output. Before, JUnit had no tests and no errors, so CI showed it as green although the exit code was an error #4961.
  • When the baseline and the new test had a different number of runs and a metric had the same value in all runs (for example TBT 0), the comparison of every metric of the page was lost #5038.
  • The latest test summary for Grafana never had the viewport of a desktop test #4976.
  • Many Grafana panels showed no data, wrong values or wrong names, for example the Fully Loaded trend, the CPU panels on the Leaderboard and the share of slow round trips in CrUX. Metrics that were not collected showed as green tiles #4984 #4985 #4990 #4994 #4996 #4998 #5004 #5009.
  • The --debug help named commands.breakpoint(), which does not exist. It is commands.debug.breakpoint() #4968.
  • The --matrix.rooms help showed [object Function] instead of the message types #4889.
  • When the API client could not reach the server, the error had no message, and a result that could not be parsed said "Could parse result" #4601.