Releases: jdwx/http-client-php
Releases · jdwx/http-client-php
v1.1.0
Compare
Sorry, something went wrong.
No results found
jdwx
released this
01 Apr 23:02
Refactored simple interface implementations to jdwx/psr-http.
v1.0.8
Compare
Sorry, something went wrong.
No results found
jdwx
released this
01 Apr 18:02
Add SimpleFileStream::fromString().
v1.0.7
Compare
Sorry, something went wrong.
No results found
jdwx
released this
01 Apr 02:55
Add SimpleFileStream class.
v1.0.6
Compare
Sorry, something went wrong.
No results found
jdwx
released this
31 Mar 03:24
Catch more misuses of the SimpleUri constructor.
Fix wrong interface check in Client::__construct().
v1.0.5
Compare
Sorry, something went wrong.
No results found
jdwx
released this
30 Mar 02:38
Renamed a couple of internal methods to make them public.
MessageTrait::fromMessage() => MessageTrait::getMessage()
RequestTrait::fromRequest() => RequestTrait::getRequest()
ResponseTrait::fromResponse() => ResponseTrait::getResponse()
v1.0.4
Compare
Sorry, something went wrong.
No results found
jdwx
released this
29 Mar 04:46
Expose Client::$logger to subclasses.
v1.0.3
Compare
Sorry, something went wrong.
No results found
jdwx
released this
29 Mar 04:42
The Client class now ensures that exceptions thrown during the request are caught and coerced into our version of the (required by PSR) ClientExceptionInterface hierarchy.
MyTestClient can now throw arbitrary exceptions.
v1.0.2
Compare
Sorry, something went wrong.
No results found
jdwx
released this
29 Mar 04:28
Add ResponseInterface::isError() and Response::isError().
Client now throws an HttpStatusException by default (but configurable) if a response has an error status.
Add (optional, configurable) logging support to Client.
Add SimpleUri::fromUri(). (Broken out from SimpleUri::from().)
v1.0.1
Compare
Sorry, something went wrong.
No results found
jdwx
released this
29 Mar 03:11
New features:
Add SimpleMessage::withHeaders().
Add SimpleUri::from().
Add a mock HTTP client implementation for testing.
Add SimpleFactory. (Provides RequestFactoryInterface, ResponseFactoryInterface, UriFactoryInterface, StreamFactoryInterface)
Add ClientDecorator, Client, and ClientInterface. (Client adds Client::get() and Client::post() to make simple requests even easier.)
Bug fixes:
SimpleMessage::withHeaderAdded() no longer incorrectly appends multiple values.
SimpleRequest::getRequestTarget() no longer unconditionally appends ? to the path.
Tests were added and updated to cover regressions and maintain 100% coverage. Some tests and support classes were reorganized.
v1.0.0
Compare
Sorry, something went wrong.
No results found
jdwx
released this
28 Mar 04:13