diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 3074febb..2db75bd6 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -34,9 +34,15 @@ jobs: - dependencies: "php-http/guzzle6-adapter" php-version: "7.4" symfony-deprecations-helper: "weak" - - dependencies: "php-http/guzzle6-adapter" + - dependencies: "php-http/guzzle7-adapter" php-version: "8.0" symfony-deprecations-helper: "weak" + - dependencies: "php-http/guzzle7-adapter" + php-version: "8.1" + symfony-deprecations-helper: "weak" + - dependencies: "php-http/guzzle7-adapter" + php-version: "8.2" + symfony-deprecations-helper: "weak" # Test with httplug 1.x clients - dependencies: "php-http/buzz-adapter:^1.0 php-http/guzzle6-adapter:^1.1.1 php-http/react-adapter:^0.2.1" @@ -49,11 +55,11 @@ jobs: # Latest commit to master - dependencies: "php-http/guzzle7-adapter php-http/vcr-plugin:^1.0@dev" - php-version: "8.1" + php-version: "8.2" stability: "dev" symfony-deprecations-helper: "weak" - dependencies: "php-http/guzzle7-adapter" - php-version: "8.1" + php-version: "8.2" stability: "dev" symfony-deprecations-helper: "weak" diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d7bda91..3a462ab5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,10 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release. -# unreleased +# 1.28.0 - 2023-05-12 +- Added PHP 8.2 support +- Allow installation with PSR-7 `psr/http-message` 2.x - Deprecated `Http\Client\HttpClient` in favor of `Psr\Http\Client\ClientInterface` (#425). - Added alias to autowire `Psr\Http\Client\ClientInterface` service (#425). diff --git a/composer.json b/composer.json index 37760b68..93313009 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "php-http/message": "^1.4", "php-http/message-factory": "^1.0.2", "php-http/stopwatch-plugin": "^1.2", - "psr/http-message": "^1.0", + "psr/http-message": "^1.0 || ^2.0", "symfony/config": "^4.4 || ^5.0 || ^6.0", "symfony/dependency-injection": "^4.4 || ^5.0 || ^6.0", "symfony/event-dispatcher": "^4.4 || ^5.0 || ^6.0", @@ -47,7 +47,7 @@ "php-http/socket-client": "<2.0" }, "require-dev": { - "guzzlehttp/psr7": "^1.7", + "guzzlehttp/psr7": "^1.7 || ^2.0", "matthiasnoback/symfony-dependency-injection-test": "^4.0", "nyholm/nsa": "^1.1", "nyholm/psr7": "^1.2.1", @@ -92,7 +92,6 @@ "tests/Resources/app/AppKernel.php" ] }, - "minimum-stability": "dev", "prefer-stable": false, "scripts": { "test": "vendor/bin/simple-phpunit",