From 28d4539b100b0d099fa04e1c8eb23ab9ccdc665f Mon Sep 17 00:00:00 2001 From: YaroslavStryhun Date: Tue, 24 Mar 2026 16:22:10 +0100 Subject: [PATCH] Drop support for PHP 7.1-7.4 and add support for PHP 8.5 --- .github/workflows/pr.yml | 2 +- CHANGELOG.md | 7 ++++++- README.md | 4 ++-- composer.json | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9f94958..987a2cb 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] + php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] redis-versions: ['5', '6', '7'] steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 68e096d..039a216 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Changes +- Add PHP 8.5 support +- Drop PHP 7.1-7.4 support and declare PHP 8.0+ as the minimum supported version ## [3.23.0] - 2025-06-10 ### Changes @@ -332,7 +335,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added - Initial stable release -[Unreleased]: https://github.com/pdffiller/qless-php/compare/v3.21.0...HEAD +[4.0.0]: https://github.com/pdffiller/qless-php/compare/v3.24.0...v4.0.0 +[3.24.0]: https://github.com/pdffiller/qless-php/compare/v3.23.0...v3.24.0 +[3.23.0]: https://github.com/pdffiller/qless-php/compare/v3.22.0...v3.23.0 [3.21.0]: https://github.com/pdffiller/qless-php/compare/v3.20.0...v3.21.0 [3.20.0]: https://github.com/pdffiller/qless-php/compare/v3.19.0...v3.20.0 [3.19.0]: https://github.com/pdffiller/qless-php/compare/v3.18.2...v3.19.0 diff --git a/README.md b/README.md index aefd811..9f911b5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # qless-php -[![PHP Version](https://img.shields.io/badge/supported->%3D7.1%20<=8.4-blue?logo=php)](https://php.net/) +[![PHP Version](https://img.shields.io/badge/supported->%3D8.0%20<=8.5-blue?logo=php)](https://php.net/) [![Workflow Status](https://github.com/pdffiller/qless-php/actions/workflows/pr.yml/badge.svg)](https://github.com/pdffiller/qless-php/actions/workflows/pr.yml) PHP Bindings for qless. @@ -104,7 +104,7 @@ Prerequisite PHP extensions are: - [`pcre`](http://php.net/manual/en/book.pcre.php) - [`sockets`](http://php.net/manual/en/book.sockets.php) -Supported PHP versions are: **7.1**, **7.2**, **7.3**, **8.0** and **8.1**. +Supported PHP versions are: **8.0**, **8.1**, **8.2**, **8.3**, **8.4** and **8.5**. Qless PHP can be installed via Composer: diff --git a/composer.json b/composer.json index 77b6764..2fbb2cb 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ } ], "require": { - "php": "^7.1 || ^8.0", + "php": "^8.0", "ext-json": "*", "ext-pcntl": "*", "ext-pcre": "*",