From 11509bd22442b375937141bcf8cda50b9384ab4a Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Wed, 6 Nov 2024 05:16:34 -0500 Subject: [PATCH] Add PHP 8.4 support --- .github/workflows/tests.yml | 4 +++- CHANGELOG.md | 9 ++++++++- README.md | 2 +- composer.json | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d4a39036..716aa028 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - php: ['7.4', '8.0', '8.1', '8.2', '8.3'] + php: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] symfony: ['4', '5', '6', '7'] exclude: - php: '7.4' @@ -22,6 +22,8 @@ jobs: symfony: '7' - php: '8.1' symfony: '7' + - php: '8.4' + symfony: '4' steps: - name: Checkout Code diff --git a/CHANGELOG.md b/CHANGELOG.md index aebd68f7..50847ce1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,14 @@ # CHANGELOG -## 1.11.0 (2024-03-17) +## 1.12.0 (UPCOMING) + +* Add PHP 8.4 support +* Add the ability to screenshot individual elements on the page +* Add `AbstractBinaryInput::getRawBinary` method + + +#### 1.11.0 (2024-03-17) * Add PHP 8.3 support * Auto-detect Chromium too diff --git a/README.md b/README.md index afacf0ca..458802fd 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Happy browsing! ## Requirements -Requires PHP 7.4-8.3 and a Chrome/Chromium 65+ executable. +Requires PHP 7.4-8.4 and a Chrome/Chromium 65+ executable. Note that the library is only tested on Linux but is compatible with macOS and Windows. diff --git a/composer.json b/composer.json index c1df8f2f..206d0a40 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": "^7.4.15 || ^8.0.2", - "chrome-php/wrench": "^1.6", + "chrome-php/wrench": "^1.7", "evenement/evenement": "^3.0.1", "monolog/monolog": "^1.27.1 || ^2.8 || ^3.2", "psr/log": "^1.1 || ^2.0 || ^3.0",