npm sitespeed.io 36.0.0

latest releases: 36.0.2, 36.0.1
22 hours ago

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.

This release contains a couple of breaking changes. Please read the breaking section before you upgrade!

Breaking

  • 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. 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.
  • CPU: Make sure you can't run with both --cpu and --collectProfileRun since that do not make any sense #4298. If you used to have that configuration, sitespeed.io will not exit with an error.
  • Block User Timings: Use correct name in Browsertime: userTimingAllowList instead of whitelist #4346. There was a missmtach bug on how to disable UserTimings, please make sure you use userTimingAllowList.
  • 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.
  • Log to file: Replace intel (log) with sitespeed.io/log #4381. This remove the logToFile option in the cli. Instead of use that option, pipe the output to the file you want.

Added

  • Update to Coach-core 8.1.1 #4363
  • Use the offical Slack plugin instead of node-slack #4360.
  • Firefox 134, Chrome 132 and NodeJS 22 in the Docker container #4395, #4396 and #4405
  • Let the Docker container output the CPU architecture for easier error reporting #4404.

Fixed

  • Replace dependencies with local code:

    • Replace lodash.forEach #4378.
    • Replace recursive-readdir #4377.
    • Replace cli-color #4374.
    • Replace text-table #4373.
    • Replace lodash.chunk #4372.
    • Replace lodash.flatten #4371.
    • Replace fs-extra #4370
    • Replace uuid #4369.
    • Replace lodash.clonedeep #4388.
    • Remove unused lodash.pick #4387.
    • Replace lodash.pullAll and lodash.union #4386.
    • Replace find-up #4385.
    • Replace getos and osname #4384.
    • Replace p-limit #4394.
    • Replace concurrent-queue #4393.
    • Replace lodash.isEmpty #4391.
    • Remove unused jstransformer-markdown-it #4392
  • Fix cli command: Use --summaryDetail (not summary-detail) #4376.

  • Remove connectivity output from text since it was broken #4375.

  • Upgrade to co2.js 0.16.4 #4353.

  • Make sure co2 data is only read once at startup #4352.

  • Making the slim container a little smaller #4355.

  • Ugrade to google-cloud/storage-7.14.0 #4361.

  • Upgrade to AWS client 3.717.0 #4368

  • Removed the webdriver manager in the Docker container 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.

  • Fix Wilcoxon NaN values when running the compare plugin #4402.

Tech

  • New GitHub actions that test uploading to S3, GCS and SCP.

Don't miss a new sitespeed.io release

NewReleases is sending notifications on new releases.