Skip to content

Commit 08c2b76

Browse files
Merge branch '3.0' into 3.1
2 parents 80e7fe2 + 9b09853 commit 08c2b76

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ CHANGE LOG
77
* Reworked pagination
88

99

10+
## V3.0.1 (UPCOMING)
11+
12+
* Fix HTTP methods client headers and body
13+
14+
1015
## V3.0 (11/07/2020)
1116

1217
* Use PSR-7, PSR-17 and PSR-18 only

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"require": {
1313
"php": "^7.1.3",
1414
"ext-json": "*",
15-
"php-http/client-common": "^2.2",
15+
"php-http/client-common": "^2.3",
1616
"php-http/cache-plugin": "^1.7",
1717
"php-http/discovery": "^1.9",
1818
"php-http/httplug": "^2.1",
@@ -41,5 +41,7 @@
4141
},
4242
"config": {
4343
"preferred-install": "dist"
44-
}
44+
},
45+
"minimum-stability": "dev",
46+
"prefer-stable": true
4547
}

src/HttpClient/Builder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ public function getHttpClient()
111111

112112
$this->pluginClient = new HttpMethodsClient(
113113
(new PluginClientFactory())->createClient($this->httpClient, $plugins),
114-
$this->requestFactory
114+
$this->requestFactory,
115+
$this->streamFactory
115116
);
116117
}
117118

0 commit comments

Comments
 (0)