Skip to content

Commit 119d3fc

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

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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)