Skip to content

Commit

Permalink
Merge branch 'main' of github.com:spatie/browsershot
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 17, 2025
2 parents 28a505a + 685f0c7 commit 222e1b3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction

- name: Disable AppArmor
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns

- name: Install Puppeteer
run: npm install puppeteer

Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 5.0.8 - 2025-02-17

### What's Changed

* support `chrome-headless-shell` (old headless mode) by @vintagesucks in https://github.com/spatie/browsershot/pull/918

### New Contributors

* @vintagesucks made their first contribution in https://github.com/spatie/browsershot/pull/918

**Full Changelog**: https://github.com/spatie/browsershot/compare/5.0.7...5.0.8

## 5.0.7 - 2025-02-14

**Full Changelog**: https://github.com/spatie/browsershot/compare/5.0.6...5.0.7

## 5.0.6 - 2025-02-10

### What's Changed
Expand Down
2 changes: 1 addition & 1 deletion bin/browser.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const callChrome = async pup => {

if (!browser) {
browser = await puppet.launch({
headless: request.options.newHeadless ? 'new' : true,
headless: request.options.newHeadless ? true : 'shell',
acceptInsecureCerts: request.options.acceptInsecureCerts,
executablePath: request.options.executablePath,
args: request.options.args || [],
Expand Down

0 comments on commit 222e1b3

Please sign in to comment.