From 08aac38143668b54dd7725108cfc549af023c382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Sat, 17 Aug 2024 01:14:53 +0200 Subject: [PATCH 1/2] Use PHP 8.3 for integration and emulator tests --- .github/workflows/emulator-tests.yml | 2 +- .github/workflows/integration-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/emulator-tests.yml b/.github/workflows/emulator-tests.yml index 29f53aff..ba716cc2 100644 --- a/.github/workflows/emulator-tests.yml +++ b/.github/workflows/emulator-tests.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest env: - php-version: '8.2' + php-version: '8.3' extensions: ctype, dom, grpc, json, mbstring, openssl, xml, zip, zlib key: cache-emulators-7x-${{ matrix.php }}-v1 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index a62ef2e2..24672d83 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest env: - php-version: '8.2' + php-version: '8.3' extensions: ctype, dom, grpc, json, mbstring, openssl, xml, zip, zlib key: cache-integration-7x-${{ matrix.php }}-v1 From 2f0c522d6d80b974c47c8516dba83f69206d7d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Sat, 17 Aug 2024 00:01:48 +0200 Subject: [PATCH 2/2] Add support for PHP 8.4 --- .github/workflows/tests.yml | 4 ++++ CHANGELOG.md | 4 ++++ README.md | 20 ++++++++++---------- composer.json | 2 +- docs/overview.rst | 2 +- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bee1255f..12c136ee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,6 +30,10 @@ jobs: dependencies: - "lowest" - "highest" + include: + - php: "8.4" + composer-options: "--ignore-platform-reqs" + dependencies: "highest" env: extensions: ctype, dom, grpc, json, mbstring, openssl, xml, zip, zlib diff --git a/CHANGELOG.md b/CHANGELOG.md index 9de27d75..18a7bd18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ Please read about the future of the Firebase Admin PHP SDK on the ## [Unreleased] +### Added + +* Added support for PHP 8.4 + ## [7.13.1] - 2024-07-02 ### Fixed diff --git a/README.md b/README.md index a53f87be..2d1f0c4d 100644 --- a/README.md +++ b/README.md @@ -58,16 +58,16 @@ composer require "kreait/firebase-php:^7.0" **Only the latest version is actively supported.** -| Version | Initial Release | Supported PHP Versions | Status | -|---------|-----------------|--------------------------|--------------| -| `7.x` | 20 Dec 2022 | `~8.1.0, ~8.2.0, ~8.3.0` | Active | -| `6.x` | 01 Jul 2022 | `^7.4, ^8.0` | Paid support | -| `5.x` | 01 Apr 2020 | `^7.2` | End of life | -| `4.x` | 14 Feb 2018 | `^7.0` | End of life | -| `3.x` | 22 Apr 2017 | `^7.0` | End of life | -| `2.x` | 06 Nov 2016 | `^7.0` | End of life | -| `1.x` | 15 Jul 2016 | `^5.5, ^7.0` | End of life | -| `0.x` | 09 Jan 2015 | `>=5.4` | End of life | +| Version | Initial Release | Supported PHP Versions | Status | +|---------|-----------------|----------------------------------|--------------| +| `7.x` | 20 Dec 2022 | `~8.1.0, ~8.2.0, ~8.3.0, ~8.4.0` | Active | +| `6.x` | 01 Jul 2022 | `^7.4, ^8.0` | Paid support | +| `5.x` | 01 Apr 2020 | `^7.2` | End of life | +| `4.x` | 14 Feb 2018 | `^7.0` | End of life | +| `3.x` | 22 Apr 2017 | `^7.0` | End of life | +| `2.x` | 06 Nov 2016 | `^7.0` | End of life | +| `1.x` | 15 Jul 2016 | `^5.5, ^7.0` | End of life | +| `0.x` | 09 Jan 2015 | `>=5.4` | End of life | diff --git a/composer.json b/composer.json index b6e86207..e7feb11e 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ } ], "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", "ext-ctype": "*", "ext-filter": "*", "ext-json": "*", diff --git a/docs/overview.rst b/docs/overview.rst index e98e5d28..000231a0 100644 --- a/docs/overview.rst +++ b/docs/overview.rst @@ -6,7 +6,7 @@ Overview Requirements ************ -* PHP 8.1, 8.2, or 8.3 +* PHP 8.1, 8.2, 8.3 or 8.4 * The `mbstring PHP extension `_ * A Firebase project - create a new project in the `Firebase console `_, if you don't already have one.