Skip to content

Commit

Permalink
Prepare v0.4.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Sep 5, 2015
1 parent 0dfd5ed commit bea0713
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 0.4.1 (2015-09-05)

* Fix: Replace URI placeholders before applying base URI, in order to avoid
duplicate slashes introduced due to URI placeholders.
([#48](https://github.com/clue/php-buzz-react/pull/48))

```php
// returns "http://example.com/path" instead of "http://example.com//path"
$browser = $browser->withBase('http://example.com/');
echo $browser->resolve('{+path}', array('path' => '/path'));

// returns "http://example.com/path?q=test" instead of "http://example.com/path/?q=test"
$browser = $browser->withBase('http://example.com/path');
echo $browser->resolve('{?q}', array('q' => 'test'));
```

## 0.4.0 (2015-08-09)

* Feature: Resolve relative URIs, add withBase() and resolve()
Expand Down

0 comments on commit bea0713

Please sign in to comment.