Skip to content

Commit ddbd6dc

Browse files
authored
Merge pull request #428 from php-http/allow-psr-17-2
allow installation with PSR-7 2.x
2 parents d12ecaf + 7645153 commit ddbd6dc

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@ jobs:
3434
- dependencies: "php-http/guzzle6-adapter"
3535
php-version: "7.4"
3636
symfony-deprecations-helper: "weak"
37-
- dependencies: "php-http/guzzle6-adapter"
37+
- dependencies: "php-http/guzzle7-adapter"
3838
php-version: "8.0"
3939
symfony-deprecations-helper: "weak"
40+
- dependencies: "php-http/guzzle7-adapter"
41+
php-version: "8.1"
42+
symfony-deprecations-helper: "weak"
43+
- dependencies: "php-http/guzzle7-adapter"
44+
php-version: "8.2"
45+
symfony-deprecations-helper: "weak"
4046

4147
# Test with httplug 1.x clients
4248
- 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:
4955

5056
# Latest commit to master
5157
- dependencies: "php-http/guzzle7-adapter php-http/vcr-plugin:^1.0@dev"
52-
php-version: "8.1"
58+
php-version: "8.2"
5359
stability: "dev"
5460
symfony-deprecations-helper: "weak"
5561
- dependencies: "php-http/guzzle7-adapter"
56-
php-version: "8.1"
62+
php-version: "8.2"
5763
stability: "dev"
5864
symfony-deprecations-helper: "weak"
5965

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
44

5-
# unreleased
5+
# 1.28.0 - 2023-05-12
66

7+
- Added PHP 8.2 support
8+
- Allow installation with PSR-7 `psr/http-message` 2.x
79
- Deprecated `Http\Client\HttpClient` in favor of `Psr\Http\Client\ClientInterface` (#425).
810
- Added alias to autowire `Psr\Http\Client\ClientInterface` service (#425).
911

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"php-http/message": "^1.4",
3535
"php-http/message-factory": "^1.0.2",
3636
"php-http/stopwatch-plugin": "^1.2",
37-
"psr/http-message": "^1.0",
37+
"psr/http-message": "^1.0 || ^2.0",
3838
"symfony/config": "^4.4 || ^5.0 || ^6.0",
3939
"symfony/dependency-injection": "^4.4 || ^5.0 || ^6.0",
4040
"symfony/event-dispatcher": "^4.4 || ^5.0 || ^6.0",
@@ -47,7 +47,7 @@
4747
"php-http/socket-client": "<2.0"
4848
},
4949
"require-dev": {
50-
"guzzlehttp/psr7": "^1.7",
50+
"guzzlehttp/psr7": "^1.7 || ^2.0",
5151
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
5252
"nyholm/nsa": "^1.1",
5353
"nyholm/psr7": "^1.2.1",
@@ -92,7 +92,6 @@
9292
"tests/Resources/app/AppKernel.php"
9393
]
9494
},
95-
"minimum-stability": "dev",
9695
"prefer-stable": false,
9796
"scripts": {
9897
"test": "vendor/bin/simple-phpunit",

0 commit comments

Comments
 (0)