Skip to content

v0.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 May 08:16
· 314 commits to main since this release

Introduction

This minor introduces some important stability improvements around Chrome resolution

Features 🚀

Fallback Chromium Downloader (#97) (b261c58)

Previously, using Unlighthouse required a local Chrome to be available that could be discovered. If Chrome wasn't discoverable, you needed to install Puppeteer globally. This wasn't ideal as there was common false-positives in the chrome path.

In this release we introduce a fallback. When no local chrome can be discovered, it will download a chromium binary for your system and use that.

You can read how to configure this behaviour on the new Chrome Dependency docs page.

New Version Splash (4853e6b)

When you start Unlighthouse it will check if the version you're using is the latest and notify you of the latest and how to run it. This also introduces a link to my sponsorships as I look to make development more sustainable.

image

New Viewport Defaults (55df496)

To match closer with the Lighthouse default constants for devices, the default device scanning dimensions have been updated. The new sizes are:

Minor Console Log Improvements (c47bf8e), (f3b7949)

Trying to remove redundant logs from the console and make them easier to digest. This will stop success logs when cache is used, notify when cache is in use at start and many other minor improvements.

Mobile

  • width: 412px
  • height: 823px
  • deviceScaleFactor: 1.75

Desktop

  • width: 1350px
  • height: 940px
  • deviceScaleFactor: 1

Dependencies Updated

Many of the core dependencies have been updated, including Puppeteer 20. This should resolve a number of issues. Note, that we are still on Lighthouse 9 as Lighthouse 10 introduces many breaking changes, support is still a work in progress.

Bug Fixes 🐛

  • client: point users to --debug if hanging (0d9acdb)
  • core: always skip paths with non html content-types (2c753b6), closes #96
  • core: consider hosts using separate ports the same host (66e38cf)
  • core: queue alternative lang defaults on detection (0453367)