Skip to content

Releases: sitespeedio/sitespeed.io

v27.6.2

11 May 04:32
Compare
Choose a tag to compare

Fixed

  • Finally fixed so you can use scripting from the API and removed the paramater testType since we can find that out programatically.

v27.6.1...v27.6.2

v27.6.1

10 May 04:28
Compare
Choose a tag to compare

Fixed

  • Another fix to the API.

v27.6.0...v27.6.1

v27.6.0

10 May 04:10
Compare
Choose a tag to compare

Fixed

  • More fixes to the upcoming API, and fixing wrong exit code.

Added

  • Firefox and Edge 113 in the Docker container.

v27.5.1...v27.6.0

v27.5.0

03 May 13:14
Compare
Choose a tag to compare

Added

  • Use Chrome 113 in the Docker container.

Fixed

  • Fixed wrong error code when exiting, introduced earlier today.
  • More tuning of the coming API.

v27.4.1...v27.5.0

v27.3.1

28 Apr 20:03
Compare
Choose a tag to compare

Fixed

  • Fix broken --firstParty parameter as reported in #3822 and fixed in #3823
  • Fix broken crawler #3820.

v27.3.0...v27.3.1

v27.3.0

11 Apr 08:36
Compare
Choose a tag to compare

Added

  • Upgraded Firefox to 112 and added new Browsertime with updated HAR version.

Fixed

v27.2.0

07 Apr 16:04
Compare
Choose a tag to compare
  • Updated Edge and Edgedriver to 112.

v27.1.0...v27.2.0

v27.1.0

05 Apr 13:26
Compare
Choose a tag to compare

Added

  • Chrome 112 in the Docker container.
  • Updated Browsertime:
    • Increased the default wait time from 2 to 5 seconds when a element a clicked and the page complete check runs #1931
    • Upgraded to Chromedriver 112 #1932.
    • If you use --headless Chrome will use the new headless switch #1933.
  • The plugin-lighthouse uses Lighthouse 10.1.0 and --headless=new

v27.0.0...v27.1.0

v27.0.0

04 Apr 20:23
Compare
Choose a tag to compare

27.0.0 - 2023-04-04

Wow it's been many months since I did a new release wih sitespeed.io. I've had a lot to do in my personal life, a lot at work and low energy to finish the big changes I've done in both Browsertime and sitespeed.io. And here it is: 27.0.0. It can still have some rough edges so please report any bugs and I will try to fix them ASAP.

There's been many additions to Browsertime the last months and I'll update the CHANGELOG and make sure the documentation in uptodate the coming weeks.

Breaking changes

The project was transitioned to a pure ESM package both Browsertime #1859 and sitespeed.io #3769. That allow us to stay uptodate with dependencies. This is important for us and will make the project easier to maintain.

CLI users

If you are a command line user and use scripting, you will need to do a change to your scripts or add some extra configuration.

The quick fix: Rename your .js scripting files to .cjs that way NodeJS will treat your file as a common JS file and everything will just work. For example if you have a file names login.js you can rename that to login.cjs and make sure you load that new file. Then sitespeed.io 27.0.0 will just work as before.

The best fix:
Change your code so your scripts also follows ESM. If you have simple scripts you probably just need to change your exports. The old way looked like this:

module.exports = async function(context, commands) {
...
}

change that to:

export default async function (context, commands) {
...
}

If you have more complicated scripts, follow the ESM package guide.

Then rename your file to be named *.mjs. If your file is named collect.js change it to collect.mjs. This is the best fix and will work 100% of the time. That way NodeJS will know that you are using the ESM standard. You can read more in how NodeJs choose to load files.

Another quick fix alternative: As a last alternative add --browsertime.cjs as a parameter to your test. That way the scripting file will be treated as a commonjs file. This is a hack, so to make sure it works, the user that runs Browsertime need to have write privileges to the folder where you have your scripting files. Browsertime will create a package.json file on the same levels as yoru script file. If you already have a package.json there, it will be overwritten.

Non cli users

Documentation coming soon.

Read Sindre Sorhus Pure ESM package guide on how you can move your project.

Plugin creators

Documentattion coming soon. You will need to upgrade your plugin to ESM. You can check how we did it for the Lightouse plugin.

Remove ImageMagick dependency

We moved to use a new Visual Metrics script as default contributed by Gregory Mierzwinski that do not use ImageMagick. Mozilla has used this script for many months and we have internally used it in our test infrastructure since it was first released.

If you run sitespeed.io direct using NodeJs (and not using Docker) you need to install two new Python dependencies OpenCV-Python Numpy. They are used instead of ImageMagick.

python -m pip install --user OpenCV-Python Numpy

If you still want to use ImageMagick you can do that by setting browsertime.visualMetricsPortable false

Fixed

  • All dependencies has been updated to latest versions #3774.

Added

  • A lot of things has happened in Browsertime, checkout the changelog.
  • Updated to Chrome 111, Firefox 111 and Edge 111 in the Docker container.
  • The Lightouse plugin has been updated to Lighthouse 10.

v26.1.0

21 Oct 13:52
Compare
Choose a tag to compare

Added

  • Update to 0.10.4 co2 and make it possible change model #3736 and the to 0.11.3 in #3741
  • Upgraded Docker container to use Chrome, Edge and Firefox 106.
  • Show start/end date for collected Crux data #3740

Fixed

  • Better explanation for some PageXray metrics #3743.

v26.0.1...v26.1.0