Skip to content

Releases: PhpGt/Fetch

End-to-end promises with React

02 Nov 19:50
Compare
Choose a tag to compare
Pre-release

This release has added ReactPHP's Promise library, as it is a very robust solution.

However, it is not compatible with PSR-7, so the coming 0.5.x releases will find a way to have the best of both worlds.

PSR-7 compatible

26 Oct 21:50
4e53a8d
Compare
Choose a tag to compare
PSR-7 compatible Pre-release
Pre-release
Merge pull request #25 from PhpGt/16-psr7

16 psr7

Bring up to date

11 Sep 21:18
847cad2
Compare
Choose a tag to compare
Bring up to date Pre-release
Pre-release

Since initial development on this library started, PHPUnit and the PHP-HTTP organisation have refactored a lot of their code structure. This release brings everything up to date, fixes the basic tests that are currently available in the project.

PSR-7 methods

01 Jun 21:13
Compare
Choose a tag to compare
PSR-7 methods Pre-release
Pre-release

Rewriting existing logic with PSR-7 compatibility

Consistent namespace

10 Nov 14:52
Compare
Choose a tag to compare
Consistent namespace Pre-release
Pre-release

Everything is loaded through the Gt\Fetch namespace, as per the PhpGt styleguide.

Response content

08 Oct 20:20
Compare
Choose a tag to compare
Response content Pre-release
Pre-release

Now the response's text() and json() promises are implemented.

There is a lot of refactoring and unit testing to be done now that the proof of concept is complete.

Response object

05 Oct 20:58
Compare
Choose a tag to compare
Response object Pre-release
Pre-release

Promises are passed the response object containing the headers, body and response info.

Request, complete

04 Oct 08:29
Compare
Choose a tag to compare
Request, complete Pre-release
Pre-release

The requests are being made asynchronously now. Response object is to be developed next. For now, the curl object is returned as the response.

Http tests

01 Oct 14:37
Compare
Choose a tag to compare
Http tests Pre-release
Pre-release

All methods are tested before work starts on the Request class.

Promises

01 Oct 13:37
Compare
Choose a tag to compare
Promises Pre-release
Pre-release

Promises are working and tested, marking the true start of this library's progress. There is no cURL functionality built in yet.