Skip to content

Commit

Permalink
Merge branch 'main' into disableAutomaticCamelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Sep 19, 2024
2 parents 6e458da + 94a19a3 commit 2c206b2
Show file tree
Hide file tree
Showing 31 changed files with 916 additions and 713 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
#with:
# firefox-version: '94.0'
- name: Setup environment
run: docker-compose -f test/docker-compose.yml up -d
run: docker compose -f test/docker-compose.yml up -d
- name: Browser versions
run: |
google-chrome --version
Expand Down
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))

## 34.14.0 - 2024-09-19
### Added
* Chrome 129 in the Docker container [#4281](https://github.com/sitespeedio/sitespeed.io/pull/4281).

## 34.13.0 - 2024-09-18
### Added
* Add support for `--ignoreExtends` that remove extends from your configuration file. This is useful when you want to test configuration locally on your machine and your test server extends configurations like uploading data to a data storage [#4280](https://github.com/sitespeedio/sitespeed.io/pull/4280).

### Fixed
* Fixed support gnirehtet when using `--preWarmServer` [#4277](https://github.com/sitespeedio/sitespeed.io/pull/4277).
* Fix broken log message when using the compare plugin, comparing tests with different amount of runs. Thank you [Roel Vreuls](https://github.com/roelvv) for PR [#4279](https://github.com/sitespeedio/sitespeed.io/pull/4279).

## 34.12.1 - 2024-09-13
### Fixed
* Updated to [Browsertime 22.10.2](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#22102---2024-09-13) that fixes a bug in the wait.byIdAndVisible command.

## 34.12.0 - 2024-09-11
### Added
* Firefox 130 [#4266](https://github.com/sitespeedio/sitespeed.io/pull/4266) and Edge 128 [#4267](https://github.com/sitespeedio/sitespeed.io/pull/4267) in the Docker container.

### Fixed
* Removed First input delay (FID) from Crux since Crux already stopped using FID [#4273](https://github.com/sitespeedio/sitespeed.io/pull/4273).
* Visual change graph is in ms [#4271](https://github.com/sitespeedio/sitespeed.io/pull/4271)
* Fix x-axis label collision on visual change graph, thank you [Anshuman Tripathi](https://github.com/4nshuman) for PR [#4269](https://github.com/sitespeedio/sitespeed.io/pull/4269).

## 34.11.1 - 2024-09-04
### Fixed
* Updated to Browsertime 22.10.1 that fixes generating HARs for Firefox 130 [#4265](https://github.com/sitespeedio/sitespeed.io/pull/4265).


## 34.11.0 - 2024-08-27
### Added
* Updated the Docker container to use Chrome 128 [#4261](https://github.com/sitespeedio/sitespeed.io/pull/4261).

## 34.10.0 - 2024-08-27
### Added
* Updated Docker container to use Firefox 129 and Edge 127 [#4254](https://github.com/sitespeedio/sitespeed.io/pull/4254).
* Browsertime [22.9.0](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#2290---2024-08-26) [#4260](https://github.com/sitespeedio/sitespeed.io/pull/4260).

### Fixed
* Make sure requestheaders and cookies are sent when you use prewarm the server [#4259](https://github.com/sitespeedio/sitespeed.io/pull/4259).

## 34.9.0 - 2024-07-30
### Added
* Browsertime 22.8.0 that disables the choose search engine screen on Chrome 127 and updated Edgedriver to 126 [#4244](https://github.com/sitespeedio/sitespeed.io/pull/4244).
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM sitespeedio/webbrowsers:chrome-127.0-firefox-128.0-edge-126.0-c
FROM sitespeedio/webbrowsers:chrome-129.0-firefox-130.0-edge-128.0

ARG TARGETPLATFORM=linux/amd64

Expand Down
1 change: 1 addition & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
source "https://rubygems.org"
gem 'github-pages', group: :jekyll_plugins
ruby '3.0.0'
2 changes: 1 addition & 1 deletion docs/_includes/version/browsertime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.8.0
22.10.2
2 changes: 1 addition & 1 deletion docs/_includes/version/sitespeed.io.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
34.9.0
34.14.0
2 changes: 1 addition & 1 deletion docs/_includes/version/throttle.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.0
5.0.1
33 changes: 9 additions & 24 deletions docs/documentation/sitespeed.io/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,36 +204,21 @@ npm install sitespeed.io --location=global

9. (Optional) You need Geckodriver if you want to run tests using Firefox on your phone. The easiest way to get Geckodriver on your Raspberry Pi is to build it on that Pi. You do that by cloning the Geckodriver repo and build the version you want. Checkout how it's done at [https://github.com/jamesmortensen/geckodriver-arm-binaries](https://github.com/jamesmortensen/geckodriver-arm-binaries) and adapt it to your Raspberry.

10. (Optional) If you are using Raspberry Pi OS Desktop you can install scrcpy and vnc. Here's instructions how to use it together with a Mac. First install scrcpy:
~~~bash
sudo apt-get update && sudo apt-get install -y scrcpy
~~~
Then you need to enable vnc server.
~~~bash
sudo systemctl enable vncserver-x11-serviced
~~~
Then generate a password that you will use to connect to VNC from your computer
~~~bash
sudo vncpasswd -service
~~~
Then setup auth by edit the file */etc/vnc/config.d/common.custom*:
~~~bash
sudo nano /etc/vnc/config.d/common.custom
~~~
Add `Authentication=VncAuth` in the file and save and close.
Restart the vnc server:
~~~bash
sudo systemctl restart vncserver-x11-serviced
~~~
As the last step, make sure to export your display number to the environment variable DISPLAY.
10. (Optional) If you are using Raspberry Pi 5 OS Desktop you can install scrcpy. Here's instructions how to use it together with a Mac. First install scrcpy by building it on the Raspberry Pi following the instructions at [https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md#latest-version](https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md#latest-version).

Then you need to enable vnc server. Do it by running:

~~~bash
echo 'export DISPLAY=:0' >> ~/.profile
sudo raspi-config
~~~
Choose option 3. and then 3. again (VNC).

Reboot your device:
~~~bash
sudo reboot
~~~
On your Mac, open "Screen Sharing" and then use *raspberrypi.local* as the hostname and the password you set in the previous step. You will then be able to see the Raspberry PI screen on your Mac. Start **scrcpy** and you will see the phone screen too.

On your Mac, use "VNC Viewer" and then use *raspberrypi.local* as the hostname. You will then be able to see the Raspberry PI screen on your Mac. Start **scrcpy** and you will see the phone screen too.

11. Plugin your phone, "Allow USB debugging" on your phone and run sitespeed.io:
~~~bash
Expand Down
9 changes: 8 additions & 1 deletion docs/documentation/sitespeed.io/lighthouse/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,17 @@ module.exports = {
};
```

You can also add Lighthouse flags by a JSON file ```--lighthouse.flags flag.json```.
You can also add Lighthouse flags by a JSON file ```--lighthouse.flags flag.json```. If you pass on command like flags that contains hyphens, they are removed and converted internally in Lighthouse, so for example to get the command line flag `--extra-headers` to work, the JSON should be like this:

```JSON
{
"extraHeaders": { "key": "value"}
}
```

Read all about configuring Lighthouse at [https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md](https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md).


## Disable GPSI
If you only want to run Lighthouse and not GPSI you can disable it with `----plugins.remove @sitespeed.io/plugin-gpsi`.

Expand Down
Loading

0 comments on commit 2c206b2

Please sign in to comment.