Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 4904554

Browse files
committed
Adds CHANGELOG entry for #90
1 parent 6dc744a commit 4904554

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@ Releases prior to 1.2.0 did not have entries.
1818

1919
### Changed
2020

21-
- Nothing.
21+
- [#90](https://github.com/zendframework/zenddiagnostics/pull/90) modifies what types are allowed for the `GuzzleHttpService` initial constructor
22+
argument. Previously, it only allowed a URL; it now allow any valid request instance the Guzzle client
23+
can accept. This change allows you to craft a custom request to send.
24+
25+
- [#90](https://github.com/zendframework/zenddiagnostics/pull/90) modifies the behavior of `GuzzleHttpService` slightly in relation to how
26+
it handles its `$body` argument. It now allows stream instances, any object implementing `__toString()`,
27+
any iterator objects, any `JsonSerializable` objects, and strings and arrays. In the latter case, it
28+
checks to see if the request `Content-Type` is JSON, casting the value to JSON if so, and otherwise
29+
serializing it as form-encoded data.
2230

2331
### Deprecated
2432

0 commit comments

Comments
 (0)