Skip to content

Commit

Permalink
Prepare v0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Aug 9, 2015
1 parent 5e65399 commit 68d29e2
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 4 deletions.
48 changes: 47 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,54 @@
# Changelog

## 0.4.0 (2015-08-09)

* Feature: Resolve relative URIs, add withBase() and resolve()
([#41](https://github.com/clue/php-buzz-react/pull/41), [#44](https://github.com/clue/php-buzz-react/pull/44))

```php
$browser = $browser->withBase('http://example.com/');
$browser->post('/');
```

* Feature: Resolve URI template placeholders according to RFC 6570
([#42](https://github.com/clue/php-buzz-react/pull/42), [#44](https://github.com/clue/php-buzz-react/pull/44))

```php
$browser->post($browser->resolve('/{+path}{?version}', array(
'path' => 'demo.json',
'version' => '4'
)));
```

* Feature: Resolve and follow redirects to relative URIs
([#45](https://github.com/clue/php-buzz-react/pull/45))

* Feature / BC break: Simplify Request and Response objects.
Remove Browser::request(), use Browser::send() instead.
([#37](https://github.com/clue/php-buzz-react/pull/37))

```php
// old
$browser->request('GET', 'http://www.example.com/');

// new
$browser->send(new Request('GET', 'http://www.example.com/'));
```

* Feature / Bc break: Enforce absolute URIs via new Uri class
([#40](https://github.com/clue/php-buzz-react/pull/40), [#44](https://github.com/clue/php-buzz-react/pull/44))

* Feature: Add Browser::withSender() method
([#38](https://github.com/clue/php-buzz-react/pull/38))

* Feature: Add Sender::createFromLoopDns() function
([#39](https://github.com/clue/php-buzz-react/pull/39))

* Improve documentation and test suite

## 0.3.0 (2015-06-14)

* Expose Response object in case of HTTP errors
* Feature: Expose Response object in case of HTTP errors
([#35](https://github.com/clue/php-buzz-react/pull/35))

* Feature: Add experimental `Transaction` options via `Browser`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ The recommended way to install this library is [through composer](http://getcomp
```JSON
{
"require": {
"clue/buzz-react": "~0.3.0"
"clue/buzz-react": "~0.4.0"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "clue/buzz-react",
"description": "Simple async HTTP client for fetching URLs, talking to RESTful APIs, downloading, following redirects etc.",
"keywords": ["HTTP client", "HTTP requests", "ReactPHP", "async"],
"description": "Simple, async HTTP client for concurrently processing any number of HTTP requests, built on top of React PHP",
"keywords": ["HTTP client", "HTTP", "ReactPHP", "async"],
"homepage": "https://github.com/clue/php-buzz-react",
"license": "MIT",
"authors": [
Expand Down

0 comments on commit 68d29e2

Please sign in to comment.