diff --git a/.github/workflows/composer.yml b/.github/workflows/composer.yml index 5972966..ba7335e 100644 --- a/.github/workflows/composer.yml +++ b/.github/workflows/composer.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.4', '8.0', '8.1', '8.2' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ] name: Composer outdated - PHP ${{ matrix.php }} diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index f178f79..a80d364 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.4', '8.0', '8.1', '8.2' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ] name: PHPStan - PHP ${{ matrix.php }} diff --git a/.github/workflows/phpstan_lowest.yml b/.github/workflows/phpstan_lowest.yml index 987de3f..b79ef9d 100644 --- a/.github/workflows/phpstan_lowest.yml +++ b/.github/workflows/phpstan_lowest.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.4', '8.0', '8.1', '8.2' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ] name: PHPStan with lowest dependencies - PHP ${{ matrix.php }} diff --git a/.github/workflows/syntax_checker.yml b/.github/workflows/syntax_checker.yml index e788c1f..5b5ce5a 100644 --- a/.github/workflows/syntax_checker.yml +++ b/.github/workflows/syntax_checker.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.4', '8.0', '8.1', '8.2' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ] name: PHP syntax checker - PHP ${{ matrix.php }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 013ee1c..0bc7317 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ -# Change Log +# Changelog +All notable changes to this project will be documented in this file. -## [Unreleased][unreleased] +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + + + +## [1.1.0] - 2024-04-17 +### Added +- Support for PHP 8.3 and Symfony 7 - RedisProxyListDriver - list driver for RedisProxy @@ -30,7 +40,8 @@ - RedisProxySortedSetDriver - DummyDriver (for testing purposes) -[unreleased]: https://github.com/efabrica-team/hermes-extension/compare/1.0.0...HEAD +[Unreleased]: https://github.com/efabrica-team/hermes-extension/compare/1.1.0...main +[1.1.0]: https://github.com/efabrica-team/hermes-extension/compare/1.0.0...1.1.0 [1.0.0]: https://github.com/efabrica-team/hermes-extension/compare/0.3.1...1.0.0 [0.3.1]: https://github.com/efabrica-team/hermes-extension/compare/0.3.0...0.3.1 [0.3.0]: https://github.com/efabrica-team/hermes-extension/compare/0.2.0...0.3.0 diff --git a/composer.json b/composer.json index 9fc4b13..7aa290b 100644 --- a/composer.json +++ b/composer.json @@ -4,11 +4,11 @@ "keywords": ["worker", "driver", "redis-proxy", "heartbeat"], "license": "MIT", "require": { - "php": ">= 7.4 < 8.3", + "php": "^7.4 | ^8.0", "ext-json": "*", "tomaj/hermes": "^4.0", "lulco/redis-proxy": "~0.5 | ^1.0", - "symfony/console": "^5.4 | ^6.0" + "symfony/console": "^5.4 | ^6.0 | ^7.0" }, "autoload": { "psr-4": { diff --git a/src/Command/CleanupOldProcesses.php b/src/Command/CleanupOldProcesses.php index b9f5918..bef70e7 100644 --- a/src/Command/CleanupOldProcesses.php +++ b/src/Command/CleanupOldProcesses.php @@ -6,10 +6,7 @@ use DateTime; use Efabrica\HermesExtension\Heartbeat\HeartbeatStorageInterface; -use Efabrica\HermesExtension\Heartbeat\HermesProcess; -use Efabrica\HermesExtension\Ping\PingInterface; use Symfony\Component\Console\Command\Command; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/src/Driver/RedisProxySetDriver.php b/src/Driver/RedisProxySetDriver.php index ea2a534..e96752c 100644 --- a/src/Driver/RedisProxySetDriver.php +++ b/src/Driver/RedisProxySetDriver.php @@ -17,8 +17,8 @@ use Tomaj\Hermes\Driver\UnknownPriorityException; use Tomaj\Hermes\MessageInterface; use Tomaj\Hermes\MessageSerializer; -use Tomaj\Hermes\Shutdown\ShutdownException; use Tomaj\Hermes\SerializeException; +use Tomaj\Hermes\Shutdown\ShutdownException; final class RedisProxySetDriver implements DriverInterface {