Skip to content

Commit c1873b7

Browse files
committed
allow installation with PSR-7 2.x
1 parent d12ecaf commit c1873b7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ jobs:
4949

5050
# Latest commit to master
5151
- dependencies: "php-http/guzzle7-adapter php-http/vcr-plugin:^1.0@dev"
52-
php-version: "8.1"
52+
php-version: "8.2"
5353
stability: "dev"
5454
symfony-deprecations-helper: "weak"
5555
- dependencies: "php-http/guzzle7-adapter"
56-
php-version: "8.1"
56+
php-version: "8.2"
5757
stability: "dev"
5858
symfony-deprecations-helper: "weak"
5959

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
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+
- Allow installation with PSR-7 `psr/http-message` 2.x
78
- Deprecated `Http\Client\HttpClient` in favor of `Psr\Http\Client\ClientInterface` (#425).
89
- Added alias to autowire `Psr\Http\Client\ClientInterface` service (#425).
910

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)