Skip to content

Releases: sitespeedio/browsertime

v21.2.1

11 Feb 10:19
Compare
Choose a tag to compare

Fixed

  • Fix correct JavaScript signaure for stopAsError in types.

v21.2.0...v21.2.1

v21.2.0

11 Feb 09:30
Compare
Choose a tag to compare

Added

  • Edge 121 in the Docker container #2071.
  • You can stop a measurement as a failure and make sure no metrics is collected. This is useful if you catch an error in try/catch when trying to measure a page. measure.stopAsError(errorMessage, optionalURL). Add your message and if you know the URL, add it. 2076.

Fixed

  • Set correct viewports for the following emulated mobiles for Chrome: iPhone 14 Pro Max #2070.
  • Update adbkit to 3.2.6 #2069.
  • Selenium 4.17.0 #2068.
  • There was a missing await when getting the tcpdump #2075
  • Remove all trace level logs (and do debug instead) since trace added unnecessary stacktraces to the log #2074.

v21.1.0...v21.2.0

v21.1.0

24 Jan 05:01
Compare
Choose a tag to compare

Added

  • Firefox 122, Chrome 121 and Chromedriver 121 #2067.

Fixed

  • Set correct viewports for the following emulated mobiles for Chrome: iPad Mini iPad Air, iPhone 14 Pro, Pixel 7 and Samsung Galaxy A51/71 #2065.

v21.0.0...v21.1.0

v21.0.0

07 Jan 14:16
Compare
Choose a tag to compare

The new version uses JSDoc to generate documentation for scripting and make it possible to use code completion/Intellisense! Documentation for that is coming soon.

Added

  • Upgraded to Geckodriver 0.34.0 #2049.
  • Collect CPU consumption for Firefox. Turn that on with --firefox.powerConsumption true and including power as a geckoProfilerParams.features #2046.
  • Added more commands for mouse click on text #2054.
  • Updated AndroidCommand so you can run shell on your Android device as root #2055.
  • If you mark a test as failure, the exit code from Browsertime will be 1. If the exitCode is set in scripting, we use that and will not change that #2057.
  • Generate documentation for scripting using JSDoc #2059.
  • Make it easy to use Seleniums action API. Get access to the new command using commands.action.getActions() and chain the action. #2061

Fixed

  • Make sure the visual metrics files are inlcuded in the Docker file #2053.
  • Removing QVH from the npm package (used for iPhone video recording but not working) #2051
  • Removing visual metrics test images from the npm package #2050.
  • Removed the Chromedriver fix that was needed when Chrome for testing broke testing on Chrome :D #2045.
  • Refactor of commands/context object to prepare for supporting JSDoc and a little TypeScript to add code completion/IntelliSense in editors #2047.
  • Updated documentation for scripting with better JSDoc #204.
  • The code for getting Interaction to next paint was broken. This PR fixes it, make the code cleaner and gives more attribution #2060.

v20.0.0

22 Dec 04:46
Compare
Choose a tag to compare

Breaking

  • Changed --userTimingWhitelist to --userTimingAllowList in #2023.
  • Reading pageCompleteCheck JavaScript from file now works as intended. It should be a plain JavaScript file named .js #2034 see #912

Fixed

  • Group page load parameters as PageLoad to make them easier to find using --help #2035.
  • Fix starting Firefox 121 on Mac #2043.

Added

  • Firefox 121 in the Docker container.

v19.3.1...v20.0.0

v19.3.1

18 Dec 08:56
Compare
Choose a tag to compare

Fixed

  • Ensure that visual metrics python script is included in the release.

v19.3.0...v19.3.1

v19.3.0

18 Dec 05:30
Compare
Choose a tag to compare

Added

  • Updated Chromedriver and Edgedriver to 120 #2033.

Tech

  • Moved the visual metrics python scripts to a new home #2032.

v19.2.0...v19.3.0

v19.2.0

11 Dec 14:55
Compare
Choose a tag to compare

Added

  • Updated to Chrome and Edge 120 in the Docker container #2031.

Fixed

  • Updated to Selenium 4.16.0 #2026.
  • Updated dev dependencies and find-up #2029.
  • Recommend NodeJS 18 or later in the package.json #2030. Browsertime 16.0.0 removed support for NodeJS 16.

v19.1.0...v19.2.0

v19.1.0

27 Nov 11:27
Compare
Choose a tag to compare

Added

  • Firefox 120 in the Docker container.

Fixed

  • New Geckodriver installer that on Mac ARM uses ARM version of Geckodriver.

v19.0.0...v19.1.0

v19.0.0

15 Nov 15:27
Compare
Choose a tag to compare

Breaking

  • This only affects you if you run your tests on a rooted Moto G5: With PR#2021 we add the ability to set the CPU speed for the phone at min/middle/max (the same way as possible on Samsung A51). Before the speed always was set to max. Default now is that the CPU speed will be set to min (the same way as the A51).

Fixed

  • Largest contentful paint and First contentful paint in Firefox now also fills the "googleWebitals" fields in the results. Thank you Gregory Mierzwinski for PR #2018 and my PR #2020.
  • Make sure --android.pinCPUSpeed works #2019

v18.0.0...v19.0.0