From ce154a2885d56f41b765ffbea4affa52f3f66154 Mon Sep 17 00:00:00 2001 From: Larry Garfield Date: Sun, 1 Feb 2026 19:23:27 -0600 Subject: [PATCH] Require PHP 8.3. --- .github/workflows/quality-assurance.yaml | 4 ++-- CHANGELOG.md | 17 +++++++++++++++++ composer.json | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/quality-assurance.yaml b/.github/workflows/quality-assurance.yaml index 2f46d02..68cdafb 100644 --- a/.github/workflows/quality-assurance.yaml +++ b/.github/workflows/quality-assurance.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] + php: [ '8.3', '8.4', '8.5' ] composer-flags: [ '' ] phpunit-flags: [ '--coverage-text' ] steps: @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] + php: [ '8.3', '8.4', '8.5' ] steps: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c6a6ea..9ce5b3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ All notable changes to `ApiProblem` will be documented in this file. Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles. +## 3.8.0 - 2026-02-01 + +### Added +- Nothing + +### Deprecated +- Nothing + +### Fixed +- Now handles the new `JSON_ERROR_NON_BACKED_ENUM` error case introduced in PHP 8.1. + +### Removed +- PHP < 8.3 is no longer supported. + +### Security +- Nothing + ## 3.7.1 - 2026-01-12 ### Added diff --git a/composer.json b/composer.json index fc9d1d3..92e90fd 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } }, "require": { - "php": "^7.4 || ^8.0" + "php": "^8.3" }, "suggest": { "psr/http-message": "Common interface for HTTP messages",